web-dev-qa-db-fra.com

J'essaie d'installer des programmes / apt upgrade et ce groupe de bibliothèques ne me permet pas de le faire

Je ne peux pas apt-get upgrade, j'ai aussi essayé d'installer un logiciel avec le centre de logiciel, mais pas de chance, car ces bibliothèques ont besoin de dépendances. J'ai essayé de les supprimer mais cela n'a pas fonctionné et j'ai également essayé diverses autres commandes, telles que Sudo apt-get clean, Sudo apt-get dist-upgrade, Sudo apt-get remove, Sudo dpkg --configure -a et Sudo apt-get -f install.

Centre de logiciel:

installArchives() failed: (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 206010 files and directories currently installed.)
Preparing to unpack .../libc6-dev-i386_2.19-0ubuntu6.6_AMD64.deb ...
Unpacking libc6-dev-i386 (2.19-0ubuntu6.6) ...
dpkg: error processing archive /var/cache/apt/archives/libc6-dev-i386_2.19-0ubuntu6.6_AMD64.deb (--unpack):
 trying to overwrite '/usr/include/bits', which is also in package libc6-dev-AMD64 2.19-0ubuntu6.6
Errors were encountered while processing:
 /var/cache/apt/archives/libc6-dev-i386_2.19-0ubuntu6.6_AMD64.deb
Error in function: 
dpkg: dependency problems prevent configuration of gcc-4.8-multilib:
 gcc-4.8-multilib depends on libc6-dev-i386 (>= 2.11); however:
  Package libc6-dev-i386 is not installed.

dpkg: error processing package gcc-4.8-multilib (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libc6-dev-x32:
 libc6-dev-x32 depends on libc6-dev-i386 (= 2.19-0ubuntu6.6); however:
  Package libc6-dev-i386 is not installed.

dpkg: error processing package libc6-dev-x32 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of gcc-multilib:
 gcc-multilib depends on gcc-4.8-multilib (>= 4.8.2-5~); however:
  Package gcc-4.8-multilib is not configured yet.

dpkg: error processing package gcc-multilib (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of g++-4.8-multilib:
 g++-4.8-multilib depends on gcc-4.8-multilib (= 4.8.2-19ubuntu1); however:
  Package gcc-4.8-multilib is not configured yet.

dpkg: error processing package g++-4.8-multilib (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of g++-multilib:
 g++-multilib depends on gcc-multilib (>= 4:4.8.2-1ubuntu6); however:
  Package gcc-multilib is not configured yet.
 g++-multilib depends on g++-4.8-multilib (>= 4.8.2-5~); however:
  Package g++-4.8-multilib is not configured yet.

dpkg: error processing package g++-multilib (--configure):
 dependency problems - leaving unconfigured

apt-get upgrade:

keegan@keeganserver:~$ Sudo apt-get upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
 gcc-4.8-multilib : Depends: libc6-dev-i386 (>= 2.11) but it is not installed
 libc6-dev-x32 : Depends: libc6-dev-i386 (= 2.19-0ubuntu6.6) but it is not installed
E: Unmet dependencies. Try using -f.

Avec -f:

keegan@keeganserver:~$ Sudo apt-get -f 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:
  cpp-4.4 diffstat gcc-4.4-base intltool-debian libalgorithm-diff-Perl
  libalgorithm-diff-xs-Perl libalgorithm-merge-Perl libapt-pkg-Perl
  libarchive-Zip-Perl libautodie-Perl libclass-accessor-Perl libclone-Perl
  libdpkg-Perl libemail-valid-Perl libfile-fcntllock-Perl libio-pty-Perl
  libio-string-Perl libipc-run-Perl libipc-system-simple-Perl
  liblist-moreutils-Perl libnet-dns-Perl libnet-domain-tld-Perl libnet-ip-Perl
  libparse-debianchangelog-Perl libperlio-gzip-Perl libsub-identify-Perl
  libsub-name-Perl libtext-levenshtein-Perl libupstart1 patchutils t1utils
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  libc6-dev-i386
The following NEW packages will be installed:
  libc6-dev-i386
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
5 not fully installed or removed.
Need to get 0 B/1,148 kB of archives.
After this operation, 6,333 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 206010 files and directories currently installed.)
Preparing to unpack .../libc6-dev-i386_2.19-0ubuntu6.6_AMD64.deb ...
Unpacking libc6-dev-i386 (2.19-0ubuntu6.6) ...
dpkg: error processing archive /var/cache/apt/archives/libc6-dev-i386_2.19-0ubuntu6.6_AMD64.deb (--unpack):
 trying to overwrite '/usr/include/bits', which is also in package libc6-dev-AMD64 2.19-0ubuntu6.6
Errors were encountered while processing:
 /var/cache/apt/archives/libc6-dev-i386_2.19-0ubuntu6.6_AMD64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
2
Ma5ter

essaye ça

appuyez simplement sur Ctrl + Alt + T sur votre clavier pour ouvrir Terminal. Lorsqu'il s'ouvre, exécutez les commandes ci-dessous:

d'abord, supprimez les fichiers endommagés avec la commande rm:

Sudo rm -fr  /var/cache/apt/archives/libc6-dev-i386_2.19-0ubuntu6.6_AMD64.deb

maintenant, changez votre sources.list

générer votre nouvelle liste à partir d'ici:

http://repogen.simplylinux.ch/

copier toutes les lignes et les remplacer à la place des votres (utilisez votre éditeur préféré, j'ai utilisé vim ici)

Sudo cp /etc/apt/sources.list /etc/apt/sources.list.bk
Sudo vim.tiny /etc/apt/sources.list

maintenant, lancez ces lignes:

Sudo apt-get  clean
Sudo apt-get update
Sudo apt-get -f install
1
scarface_90