LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-11-2019, 04:43 PM   #1
BongBombs
LQ Newbie
 
Registered: Mar 2019
Distribution: Parrot security
Posts: 4

Rep: Reputation: Disabled
broken libxi6:i386 it would seem from a manual install of a older one


So i tryed to fix it and borked it hard i think. here i am on my knees finally stuck wondering if i can actually be helped or is my only choice to have to do a full reinstall from my live usb.....

I think this all started when i manually installed a package needed to run a demo of a game i was thinking about buying. Mx simulator. i installed libxi6_1.7.6-1_i386.deb which i beleive overwrote the newer onelibxi6_1.7.9-1_i386.deb which i figred hey i could just go back to the newer one. if i hade the package available. not the case i guess.

P.s i thought about using override but i figured id ask before i possibly made things worse.

So this is what i got from trying to upgrade and deb package manager says broken dependencies
Synaptic says this "E: Internal Error, No file name for libxtst6:i386" or i get this

(Reading database ... 562637 files and directories currently installed.)
Preparing to unpack .../libxi6_2%3a1.7.9-1_i386.deb ...
Unpacking libxi6:i386 (2:1.7.9-1) ...
dpkg: error processing archive /var/cache/apt/archives/libxi6_2%3a1.7.9-1_i386.deb (--unpack):
trying to overwrite shared '/usr/share/doc/libxi6/changelog.Debian.gz', which is different from other instances of package libxi6:i386
Errors were encountered while processing:
/var/cache/apt/archives/libxi6_2%3a1.7.9-1_i386.deb
Configuring sandbox profiles....
Sandbox profiles updated!

so i figured

sudo apt-get update then upgrade
the upgrade is printed below

sudo apt-get upgrade

apt upgrade is unsafe on rolling release distributions.

using apt full-upgrade instead

use apt upgrade --force to override



Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
libsdl2-2.0-0:i386 : Depends: libxi6:i386 (>= 2:1.2.99.4) but it is not installed
libxtst6:i386 : Depends: libxi6:i386 but it is not installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).



then i tryed to fix em.

sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
fonts-noto-hinted galera-3 golang-1.10 golang-1.10-doc golang-1.10-go
golang-1.10-src gstreamer1.0-plugins-base:i386 guile-2.0-libs
ibverbs-providers libavahi-client3:i386 libavahi-common-data:i386
libavahi-common3:i386 libboost-atomic1.62.0 libboost-chrono1.62.0
libboost-date-time1.62.0 libboost-filesystem1.62.0 libboost-iostreams1.62.0
libboost-locale1.62.0 libboost-program-options1.62.0 libboost-python1.62.0
libboost-regex1.62.0 libboost-serialization1.62.0 libboost-system1.62.0
libboost-test1.62.0 libboost-thread1.62.0 libboost-timer1.62.0
libcapi20-3:i386 libcdparanoia0:i386 libcharls1 libcom-err2:i386
libcommons-dbcp-java libcommons-pool-java libconfig-inifiles-perl libcrypt2
libcups2:i386 libdb5.3:i386 libdbd-mysql-perl libdee-1.0-4 libecj-java
libexempi3 libexif12:i386 libgd3:i386 libgeos-3.7.0 libglew2.0
libglu1-mesa:i386 libgmime-3.0-0 libgmp10:i386 libgnutls30:i386
libgphoto2-6:i386 libgphoto2-port12:i386 libgpm2:i386 libgssapi-krb5-2:i386
libgstreamer-plugins-base1.0-0:i386 libgstreamer1.0-0:i386 libgutenprint2
libhiredis0.13 libhogweed4:i386 libhunspell-1.6-0 libibverbs1 libicu-le-hb0
libicu60 libirs-export160 libisccfg-export160 libjemalloc1 libk5crypto3:i386
libkeyutils1:i386 libkrb5-3:i386 libkrb5support0:i386 liblcms2-2:i386
libldap-2.4-2:i386 liblouis16 libltdl7:i386 liblvm2app2.2 liblvm2cmd2.02
libmono-system-runtime-interopservices-runtimeinformation4.0-cil
libmosquitto1 libmpg123-0:i386 libncurses6:i386 libndpi4 libnettle6:i386
libnfs11 libntfs-3g88 libodbc1:i386 libomp5 libopenal1:i386
libopencv-core3.2 libopencv-imgproc3.2 liborc-0.4-0:i386 liborcus-0.13-0
libosmesa6:i386 libp11-kit0:i386 libpcap0.8:i386 libperl5.26 libplacebo6
libpoppler80 libprotobuf10 libpython3.6 libpython3.6-dev
libpython3.6-minimal libpython3.6-stdlib libradare2-3.0 libradare2-3.1
libreoffice-ogltrans librte-acl17.11 librte-bitratestats17.11
librte-bus-pci17.11 librte-bus-vdev17.11 librte-cfgfile17.11
librte-cmdline17.11 librte-cryptodev17.11 librte-distributor17.11
librte-eal17.11 librte-efd17.11 librte-ethdev17.11 librte-eventdev17.11
librte-flow-classify17.11 librte-gro17.11 librte-gso17.11 librte-hash17.11
librte-ip-frag17.11 librte-jobstats17.11 librte-kni17.11 librte-kvargs17.11
librte-latencystats17.11 librte-lpm17.11 librte-mbuf17.11 librte-member17.11
librte-mempool-octeontx17.11 librte-mempool-ring17.11
librte-mempool-stack17.11 librte-mempool17.11 librte-meter17.11
librte-metrics17.11 librte-net17.11 librte-pci17.11 librte-pdump17.11
librte-pipeline17.11 librte-pmd-af-packet17.11 librte-pmd-ark17.11
librte-pmd-avp17.11 librte-pmd-bnxt17.11 librte-pmd-bond17.11
librte-pmd-crypto-scheduler17.11 librte-pmd-cxgbe17.11
librte-pmd-e1000-17.11 librte-pmd-ena17.11 librte-pmd-enic17.11
librte-pmd-failsafe17.11 librte-pmd-fm10k17.11 librte-pmd-i40e17.11
librte-pmd-ixgbe17.11 librte-pmd-kni17.11 librte-pmd-lio17.11
librte-pmd-mlx4-17.11 librte-pmd-mlx5-17.11 librte-pmd-nfp17.11
librte-pmd-null-crypto17.11 librte-pmd-null17.11
librte-pmd-octeontx-ssovf17.11 librte-pmd-octeontx17.11 librte-pmd-pcap17.11
librte-pmd-qede17.11 librte-pmd-ring17.11 librte-pmd-sfc-efx17.11
librte-pmd-skeleton-event17.11 librte-pmd-softnic17.11
librte-pmd-sw-event17.11 librte-pmd-tap17.11 librte-pmd-thunderx-nicvf17.11
librte-pmd-vhost17.11 librte-pmd-virtio17.11 librte-pmd-vmxnet3-uio17.11
librte-port17.11 librte-power17.11 librte-reorder17.11 librte-ring17.11
librte-sched17.11 librte-security17.11 librte-table17.11 librte-timer17.11
librte-vhost17.11 libsasl2-2:i386 libsasl2-modules:i386
libsasl2-modules-db:i386 libsdl2-2.0-0:i386 libsndio7.0:i386 libssl1.1:i386
libstd-rust-1.30 libstd-rust-1.31 libtasn1-6:i386 libtbb2 libtomcat8-java
libudev1:i386 libuhd3.13.0 libusb-1.0-0:i386 libv4l-0:i386
libv4lconvert0:i386 libvisual-0.4-0:i386 libvkd3d1:i386 libvulkan1:i386
libwayland-client0:i386 libwayland-cursor0:i386 libwayland-egl1:i386
libwine:i386 libxcomposite1:i386 libxcursor1:i386 libxen-4.8
libxinerama1:i386 libxkbcommon0:i386 libxpm4:i386 libxrandr2:i386
libxslt1.1:i386 libxss1:i386 libzeitgeist-2.0-0 linux-compiler-gcc-7-x86
linux-headers-4.18.0-parrot10-amd64 linux-headers-4.18.0-parrot10-common
linux-image-4.18.0-parrot10-amd64 linux-kbuild-4.18 mariadb-client-core-10.1
mariadb-server-core-10.1 ocl-icd-libopencl1:i386 php7.2-mysql python-nassl
python-pam python3.6 python3.6-dev python3.6-minimal qpdf ruby-dm-serializer
ruby-faraday ruby-geoip ruby-libv8 ruby-ref ruby-therubyracer ttf-dejavu
ttf-dejavu-extra vscodium x11proto-dri2-dev x11proto-gl-dev zeitgeist-core
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
libxi6:i386
The following NEW packages will be installed:
libxi6:i386
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
5 not fully installed or removed.
Need to get 85.2 kB of archives.
After this operation, 146 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://ftp.osuosl.org/pub/parrotos parrot/main i386 libxi6 i386 2:1.7.9-1 [85.2 kB]
Fetched 85.2 kB in 8s (10.7 kB/s)
(Reading database ... 562637 files and directories currently installed.)
Preparing to unpack .../libxi6_2%3a1.7.9-1_i386.deb ...
Unpacking libxi6:i386 (2:1.7.9-1) ...
dpkg: error processing archive /var/cache/apt/archives/libxi6_2%3a1.7.9-1_i386.deb (--unpack):
trying to overwrite shared '/usr/share/doc/libxi6/changelog.Debian.gz', which is different from other instances of package libxi6:i386


Errors were encountered while processing:
/var/cache/apt/archives/libxi6_2%3a1.7.9-1_i386.deb
Configuring sandbox profiles....
Sandbox profiles updated!
E: Sub-process /usr/bin/dpkg returned an error code (1)

Hopefully i can be helped before i get into worse trouble and lose my memory stored on here.

Im prob in the wrong spot posting this but im posting it here cause im a newbie.

01101000 01100101 01101100 01110000-01101110 01100101 01100101 01100100 01100101 01100100
 
Old 03-11-2019, 07:59 PM   #2
Brains
Member
 
Registered: Apr 2009
Distribution: Debian testing
Posts: 972

Rep: Reputation: 259Reputation: 259Reputation: 259
Quote:
trying to overwrite shared '/usr/share/doc/libxi6/changelog.Debian.gz', which is different from other instances of package libxi6:i386
The quote above suggest the older version is installed or partially installed.
Perhaps try purging the installed version which is creating conflicts with command: dpkg -P --force-depends libxi6:i386
That command should remove it and config files while ignoring dependencies.
Then you can probably install the proper version with command: apt-get -f install
EDIT: Or, might be better to just run: sudo apt --fix-broken install again

Last edited by Brains; 03-11-2019 at 08:33 PM.
 
1 members found this post helpful.
Old 03-12-2019, 02:27 PM   #3
BongBombs
LQ Newbie
 
Registered: Mar 2019
Distribution: Parrot security
Posts: 4

Original Poster
Rep: Reputation: Disabled
Thank you for Reading and offering help!!!! hope this is all readable and makes sense.

So i have not done my full reinstall from usb yet in hope i can save it what i have so you know its a backup LAST RESORT(lame song plays in backround.

It seems synaptic is failing to help remove also cause it can complete the removal process, then its saying no broken packages. i Then reboot then the packages show up again in synaptic.

Hope that may narrow this down.

Here is my attempt at what you offered.
Plus a example of me trying to get a program running Wine32

sudo apt-get install wine32
[sudo] password for ******:
Reading package lists... Done
Building dependency tree
Reading state information... Done
wine32:i386 is already the newest version (4.0-1).
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
libsdl2-2.0-0:i386 : Depends: libxi6:i386 (>= 2:1.2.99.4) but it is not going to be installed
libxtst6:i386 : Depends: libxi6:i386 but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
┌─[✗]─[******@parrot]─[~]
└──╼ $sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
fonts-noto-hinted galera-3 golang-1.10 golang-1.10-doc golang-1.10-go
golang-1.10-src guile-2.0-libs ibverbs-providers libboost-atomic1.62.0
libboost-chrono1.62.0 libboost-date-time1.62.0 libboost-filesystem1.62.0
libboost-iostreams1.62.0 libboost-locale1.62.0
libboost-program-options1.62.0 libboost-python1.62.0 libboost-regex1.62.0
libboost-serialization1.62.0 libboost-system1.62.0 libboost-test1.62.0
libboost-thread1.62.0 libboost-timer1.62.0 libcharls1 libcommons-dbcp-java
libcommons-pool-java libconfig-inifiles-perl libcrypt2 libdbd-mysql-perl
libdee-1.0-4 libecj-java libexempi3 libgeos-3.7.0 libglew2.0 libgmime-3.0-0
libgutenprint2 libhiredis0.13 libhunspell-1.6-0 libibverbs1 libicu-le-hb0
libicu60 libirs-export160 libisccfg-export160 libjemalloc1 liblouis16
liblvm2app2.2 liblvm2cmd2.02
libmono-system-runtime-interopservices-runtimeinformation4.0-cil
libmosquitto1 libndpi4 libnfs11 libntfs-3g88 libomp5 libopencv-core3.2
libopencv-imgproc3.2 liborcus-0.13-0 libperl5.26 libplacebo6 libpoppler80
libprotobuf10 libpython3.6 libpython3.6-dev libpython3.6-minimal
libpython3.6-stdlib libradare2-3.0 libradare2-3.1 libreoffice-ogltrans
librte-acl17.11 librte-bitratestats17.11 librte-bus-pci17.11
librte-bus-vdev17.11 librte-cfgfile17.11 librte-cmdline17.11
librte-cryptodev17.11 librte-distributor17.11 librte-eal17.11
librte-efd17.11 librte-ethdev17.11 librte-eventdev17.11
librte-flow-classify17.11 librte-gro17.11 librte-gso17.11 librte-hash17.11
librte-ip-frag17.11 librte-jobstats17.11 librte-kni17.11 librte-kvargs17.11
librte-latencystats17.11 librte-lpm17.11 librte-mbuf17.11 librte-member17.11
librte-mempool-octeontx17.11 librte-mempool-ring17.11
librte-mempool-stack17.11 librte-mempool17.11 librte-meter17.11
librte-metrics17.11 librte-net17.11 librte-pci17.11 librte-pdump17.11
librte-pipeline17.11 librte-pmd-af-packet17.11 librte-pmd-ark17.11
librte-pmd-avp17.11 librte-pmd-bnxt17.11 librte-pmd-bond17.11
librte-pmd-crypto-scheduler17.11 librte-pmd-cxgbe17.11
librte-pmd-e1000-17.11 librte-pmd-ena17.11 librte-pmd-enic17.11
librte-pmd-failsafe17.11 librte-pmd-fm10k17.11 librte-pmd-i40e17.11
librte-pmd-ixgbe17.11 librte-pmd-kni17.11 librte-pmd-lio17.11
librte-pmd-mlx4-17.11 librte-pmd-mlx5-17.11 librte-pmd-nfp17.11
librte-pmd-null-crypto17.11 librte-pmd-null17.11
librte-pmd-octeontx-ssovf17.11 librte-pmd-octeontx17.11 librte-pmd-pcap17.11
librte-pmd-qede17.11 librte-pmd-ring17.11 librte-pmd-sfc-efx17.11
librte-pmd-skeleton-event17.11 librte-pmd-softnic17.11
librte-pmd-sw-event17.11 librte-pmd-tap17.11 librte-pmd-thunderx-nicvf17.11
librte-pmd-vhost17.11 librte-pmd-virtio17.11 librte-pmd-vmxnet3-uio17.11
librte-port17.11 librte-power17.11 librte-reorder17.11 librte-ring17.11
librte-sched17.11 librte-security17.11 librte-table17.11 librte-timer17.11
librte-vhost17.11 libstd-rust-1.30 libstd-rust-1.31 libtbb2 libtomcat8-java
libuhd3.13.0 libxen-4.8 libzeitgeist-2.0-0 linux-compiler-gcc-7-x86
linux-headers-4.18.0-parrot10-amd64 linux-headers-4.18.0-parrot10-common
linux-image-4.18.0-parrot10-amd64 linux-kbuild-4.18 mariadb-client-core-10.1
mariadb-server-core-10.1 php7.2-mysql python-nassl python-pam python3.6
python3.6-dev python3.6-minimal qpdf ruby-dm-serializer ruby-faraday
ruby-geoip ruby-libv8 ruby-ref ruby-therubyracer ttf-dejavu ttf-dejavu-extra
vscodium x11proto-dri2-dev x11proto-gl-dev zeitgeist-core
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
libxi6:i386
The following NEW packages will be installed:
libxi6:i386
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
6 not fully installed or removed.
Need to get 0 B/85.2 kB of archives.
After this operation, 146 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 562541 files and directories currently installed.)
Preparing to unpack .../libxi6_2%3a1.7.9-1_i386.deb ...
Unpacking libxi6:i386 (2:1.7.9-1) ...
dpkg: error processing archive /var/cache/apt/archives/libxi6_2%3a1.7.9-1_i386.deb (--unpack):
trying to overwrite shared '/usr/share/doc/libxi6/changelog.Debian.gz', which is different from other instances of package libxi6:i386
Errors were encountered while processing:
/var/cache/apt/archives/libxi6_2%3a1.7.9-1_i386.deb
Configuring sandbox profiles....
Sandbox profiles updated!
E: Sub-process /usr/bin/dpkg returned an error code (1)
┌─[✗]─[******@parrot]─[~]
└──╼ $sudo apt-get clean
┌─[******@parrot]─[~]
└──╼ $dpkg -P --force-depends libxi6:i386
dpkg: error: requested operation requires superuser privilege
┌─[✗]─[******@parrot]─[~]
└──╼ $sudo dpkg -P --force-depends libxi6:i386
[sudo] password for ******:
dpkg: warning: ignoring request to remove libxi6:i386 which isn't installed
┌─[********@parrot]─[~]
└──╼ $sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
fonts-noto-hinted galera-3 golang-1.10 golang-1.10-doc golang-1.10-go
golang-1.10-src guile-2.0-libs ibverbs-providers libboost-atomic1.62.0
libboost-chrono1.62.0 libboost-date-time1.62.0 libboost-filesystem1.62.0
libboost-iostreams1.62.0 libboost-locale1.62.0
libboost-program-options1.62.0 libboost-python1.62.0 libboost-regex1.62.0
libboost-serialization1.62.0 libboost-system1.62.0 libboost-test1.62.0
libboost-thread1.62.0 libboost-timer1.62.0 libcharls1 libcommons-dbcp-java
libcommons-pool-java libconfig-inifiles-perl libcrypt2 libdbd-mysql-perl
libdee-1.0-4 libecj-java libexempi3 libgeos-3.7.0 libglew2.0 libgmime-3.0-0
libgutenprint2 libhiredis0.13 libhunspell-1.6-0 libibverbs1 libicu-le-hb0
libicu60 libirs-export160 libisccfg-export160 libjemalloc1 liblouis16
liblvm2app2.2 liblvm2cmd2.02
libmono-system-runtime-interopservices-runtimeinformation4.0-cil
libmosquitto1 libndpi4 libnfs11 libntfs-3g88 libomp5 libopencv-core3.2
libopencv-imgproc3.2 liborcus-0.13-0 libperl5.26 libplacebo6 libpoppler80
libprotobuf10 libpython3.6 libpython3.6-dev libpython3.6-minimal
libpython3.6-stdlib libradare2-3.0 libradare2-3.1 libreoffice-ogltrans
librte-acl17.11 librte-bitratestats17.11 librte-bus-pci17.11
librte-bus-vdev17.11 librte-cfgfile17.11 librte-cmdline17.11
librte-cryptodev17.11 librte-distributor17.11 librte-eal17.11
librte-efd17.11 librte-ethdev17.11 librte-eventdev17.11
librte-flow-classify17.11 librte-gro17.11 librte-gso17.11 librte-hash17.11
librte-ip-frag17.11 librte-jobstats17.11 librte-kni17.11 librte-kvargs17.11
librte-latencystats17.11 librte-lpm17.11 librte-mbuf17.11 librte-member17.11
librte-mempool-octeontx17.11 librte-mempool-ring17.11
librte-mempool-stack17.11 librte-mempool17.11 librte-meter17.11
librte-metrics17.11 librte-net17.11 librte-pci17.11 librte-pdump17.11
librte-pipeline17.11 librte-pmd-af-packet17.11 librte-pmd-ark17.11
librte-pmd-avp17.11 librte-pmd-bnxt17.11 librte-pmd-bond17.11
librte-pmd-crypto-scheduler17.11 librte-pmd-cxgbe17.11
librte-pmd-e1000-17.11 librte-pmd-ena17.11 librte-pmd-enic17.11
librte-pmd-failsafe17.11 librte-pmd-fm10k17.11 librte-pmd-i40e17.11
librte-pmd-ixgbe17.11 librte-pmd-kni17.11 librte-pmd-lio17.11
librte-pmd-mlx4-17.11 librte-pmd-mlx5-17.11 librte-pmd-nfp17.11
librte-pmd-null-crypto17.11 librte-pmd-null17.11
librte-pmd-octeontx-ssovf17.11 librte-pmd-octeontx17.11 librte-pmd-pcap17.11
librte-pmd-qede17.11 librte-pmd-ring17.11 librte-pmd-sfc-efx17.11
librte-pmd-skeleton-event17.11 librte-pmd-softnic17.11
librte-pmd-sw-event17.11 librte-pmd-tap17.11 librte-pmd-thunderx-nicvf17.11
librte-pmd-vhost17.11 librte-pmd-virtio17.11 librte-pmd-vmxnet3-uio17.11
librte-port17.11 librte-power17.11 librte-reorder17.11 librte-ring17.11
librte-sched17.11 librte-security17.11 librte-table17.11 librte-timer17.11
librte-vhost17.11 libstd-rust-1.30 libstd-rust-1.31 libtbb2 libtomcat8-java
libuhd3.13.0 libxen-4.8 libzeitgeist-2.0-0 linux-compiler-gcc-7-x86
linux-headers-4.18.0-parrot10-amd64 linux-headers-4.18.0-parrot10-common
linux-image-4.18.0-parrot10-amd64 linux-kbuild-4.18 mariadb-client-core-10.1
mariadb-server-core-10.1 php7.2-mysql python-nassl python-pam python3.6
python3.6-dev python3.6-minimal qpdf ruby-dm-serializer ruby-faraday
ruby-geoip ruby-libv8 ruby-ref ruby-therubyracer ttf-dejavu ttf-dejavu-extra
vscodium x11proto-dri2-dev x11proto-gl-dev zeitgeist-core
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
libxi6:i386
The following NEW packages will be installed:
libxi6:i386
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
6 not fully installed or removed.
Need to get 85.2 kB of archives.
After this operation, 146 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://mirrors.ocf.berkeley.edu/parrot parrot/main i386 libxi6 i386 2:1.7.9-1 [85.2 kB]
Fetched 85.2 kB in 27s (3,099 B/s)
Selecting previously unselected package libxi6:i386.
(Reading database ... 562541 files and directories currently installed.)
Preparing to unpack .../libxi6_2%3a1.7.9-1_i386.deb ...
Unpacking libxi6:i386 (2:1.7.9-1) ...
dpkg: error processing archive /var/cache/apt/archives/libxi6_2%3a1.7.9-1_i386.deb (--unpack):
trying to overwrite shared '/usr/share/doc/libxi6/changelog.Debian.gz', which is different from other instances of package libxi6:i386
Errors were encountered while processing:
/var/cache/apt/archives/libxi6_2%3a1.7.9-1_i386.deb
Configuring sandbox profiles....
Sandbox profiles updated!
E: Sub-process /usr/bin/dpkg returned an error code (1)
 
Old 03-12-2019, 05:12 PM   #4
Brains
Member
 
Registered: Apr 2009
Distribution: Debian testing
Posts: 972

Rep: Reputation: 259Reputation: 259Reputation: 259
Quote:
libsdl2-2.0-0:i386 : Depends: libxi6:i386 (>= 2:1.2.99.4) but it is not going to be installed
Quote:
i installed libxi6_1.7.6-1_i386.deb which i beleive overwrote the newer onelibxi6_1.7.9-1_i386.deb
Quote:
dpkg: warning: ignoring request to remove libxi6:i386 which isn't installed
So...
According to the last quote above, libxi6 is not installed. I ran a test last night on my Debian Testing and after removing libxi6 I couldn't open a file browser, made the mistake of closing the terminal and couldn't open another, couldn't shutdown, couldn't do anything. So I did a hard shutdown and booted in single user mode to reinstall it with dpkg.

Why does your system work without this package being installed? Is this a 64bit install with some 32bit stuff?

In the first quote above, you'll fine the offending package is libsdl2-2.0-0 which requires libxi6-2:1.2.99.4 which is what Debian packages search says also. So you need to figure out why that package is installed? perhaps review /var/log/apt/history.log and do a search of that log file for this libsdl2 package to see why and when it was installed. You may need to install libxi6:i386 (>= 2:1.2.99.4)
Quote:
libxtst6:i386 : Depends: libxi6:i386 but it is not going to be installed
According to Debian Packages search, libxtst6 requires libxi6, but no specific version mentioned.
Quote:
trying to overwrite shared '/usr/share/doc/libxi6/changelog.Debian.gz'
Quote:
6 not fully installed or removed.
Between the two quotes above, libxi6 is installed or partially installed, you need to figure out which version that is/was, and may have to reinstall it before purging it with the command I posted in my last post, that is, if it's still the wrong version, but you likely won't be able to do that till you deal with the offending package in the first quote above.
Code:
sudo apt-get install --reinstall libxi6:i386
sudo dpkg -P --force-depends libxi6:i386

Last edited by Brains; 03-12-2019 at 05:15 PM. Reason: Spelling
 
1 members found this post helpful.
Old 03-12-2019, 05:29 PM   #5
Brains
Member
 
Registered: Apr 2009
Distribution: Debian testing
Posts: 972

Rep: Reputation: 259Reputation: 259Reputation: 259
Quote:
libsdl2-2.0-0:i386 : Depends: libxi6:i386 (>= 2:1.2.99.4) but it is not going to be installed
The problem, is that libxi6-2:1.2.99.4 don't exist in Parrot repos.
Quote:
i installed libxi6_1.7.6-1_i386.deb which i beleive overwrote the newer onelibxi6_1.7.9-1_i386.deb
The package highlighted in red above don't exit in parrot repos also, this is what happens when installing packages not from your distribution's official repos.

Last edited by Brains; 03-12-2019 at 05:38 PM. Reason: Added
 
1 members found this post helpful.
Old 03-12-2019, 06:37 PM   #6
BongBombs
LQ Newbie
 
Registered: Mar 2019
Distribution: Parrot security
Posts: 4

Original Poster
Rep: Reputation: Disabled
So now ive learnt a great lesson about NOT installing manually packages from the internet thinking i can get em to work with workarounds tell i know more about what im doing.

So my question would be do i have to do a clean install to get back to where i was or do you have a better option. ill prob do this on the weekend when i have more time to mess around with all this.

Ive had my handy dandy usb ready to go. Ive done this like 5 times after breaking it the system. other times i figured it out myself corrected the issue or just restarted from sctrach. This one stumped me. but i had a that one clue/feeling it was due to that deb file i got to install, i even felt a odd tingle when installing it telling me idk WTF you think you doing but your about to french fry when your suposed to pizza.

Quote: Why does your system work without this package being installed? Is this a 64bit install with some 32bit stuff?

My best answer: Honestly i think due to the libxi6 being from outside my os repos and it being deb it worked but never over wrote the original 9-1 fully due to it not being part of parrot repo when it installed the 6-1, so when i removed the broken repo showing up in synaptic which was the outside repo i think it would say complete but when i restarted it just booted it up again cause it never removed it due to it not being park of parrots repo... I think.... lol

Another thing was i was also testing this android program to see how well it worked and never got it running correct and i guess forgot i installed the 32 bit libraries which i thought i removed it all but with me being a pot smoker i dont remember everthing and im still learning.... Things worked fine tell now so i think it was i had a hybrid 32/64bit that was breaking also causing conflicts but when one was removed it kept looping itself back and forth to keep my system running but my system didnt understand all that, hench synaptic failing to tell me, my terminal was like im sorry you have 2 of these and your only suposed to have one... Herp durp

So in conclusion i think this was all my fault of not doing a proper clean up with programs and things when removing them.(NEWBIE) ive had this parrot os running for about sence new years with a total failure reinstall times at around 4 now lol not bad i think when im consistently trying new things or old things from windows and testing how well they work now through linux.

You may say parrot os is not a correct os for a newbie like me but i really like some of the things that come with it preinstalled and how it works.

I would like to learn how to get outave the pickle im in without having to reinstall to get a good learning experience. But dont break yourself trying to explain it. Just call me a newbie(which is true and not offensive) and send me to a good site where i can learn more info on this general topic (free please). cheers and thank you for your speedy posts and taking the time to test some things. Much Love man!

P.S Mention a os if you think i may like for a change of pace, for a better learning curve and ill give it a test run on vbox. Ill wait on your word to purge my os lol it will work for now plus its spring time.
 
Old 03-12-2019, 07:13 PM   #7
Brains
Member
 
Registered: Apr 2009
Distribution: Debian testing
Posts: 972

Rep: Reputation: 259Reputation: 259Reputation: 259
Quite frankly...
Back up your personal data and reinstall.
It is actually good to do what you've been doing from a learning prospective, just as long as you have a backup.
Do a clean install with drivers and whatever extra software you tend to always install from Parrot repositories only, get it tweaked as you like it, then make an image of it. Then hack away and learn, when it get's unstable, restore the backup.

There are many backup options, perhaps do a little homework in this area.
My preference is to install everything in one partition, personal data is on another data drive, never in any OS. If you feel you need a swap partition, use one, I have lot's of ram and don't do swap to help reduce writes to my SSD drive, but also never put it to sleep or hibernate. But a swap partition don't need to be part of the backup, just the root partition.

I use BootitBM's Image for Dos for creating images of my OSs. For my Debian, it takes about 4 minutes to create, 4 minutes to restore, the image file is of used space only and compressed giving an image size of 3.5GB no matter what size the partition is. But BootitBM is shareware, only good for 30 days.

That's my suggestion, get a clean, tweaked, sweet setup, back it up and keep smokin'. Not gonna make a difference which flavour of Linux you use.
 
1 members found this post helpful.
Old 03-12-2019, 07:53 PM   #8
Brains
Member
 
Registered: Apr 2009
Distribution: Debian testing
Posts: 972

Rep: Reputation: 259Reputation: 259Reputation: 259
But yeah... that's why I'm not afraid to take risks like I did last night, if I can't undo my damage within a half hour, I take 4 minutes to delete/recreate the partition, restore my last image and I'm stylin'

A good backup plan eliminates stress, helps prolong life expectancy.
 
Old 03-13-2019, 12:09 PM   #9
BongBombs
LQ Newbie
 
Registered: Mar 2019
Distribution: Parrot security
Posts: 4

Original Poster
Rep: Reputation: Disabled
Cheers thanks for the tips!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
man -t manual | ps2pdf - > manual.pdf error Amdx2_x64 Linux - General 2 07-01-2011 03:22 AM
debian-40r0-i386-DVD: 3 DVD' seem to be a lot almost000 Debian 3 06-06-2007 03:58 AM
Build i386 binaries based on i386 shared libraries .so linuxcrazyguy Linux - Software 0 03-19-2007 05:27 PM
rmdir -rf does not seem to work in fc4 .what do i do?rm -p also doesnt seem to work vinay87 Linux - Newbie 2 05-09-2006 09:18 AM
"FC4-i386-SRPMS-disc1.iso" OR "FC4-i386-disc1.iso" Stickle Linux - Newbie 2 06-29-2005 08:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration