J'ai essayé d'enlever /var/cache/apt/archives/libc6-dev-i386_2.23-0ubuntu5_AMD64.deb
.
J'ai aussi essayé Sudo apt-get update
et Sudo apt-get autoclean
, mais cela ne résout pas le problème.
Sudo apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following package was automatically installed and is no longer required:
ubuntu-core-launcher
Use 'Sudo apt autoremove' to remove it.
The following additional 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 15 not upgraded.
3 not fully installed or removed.
Need to get 0 B/1,262 kB of archives.
After this operation, 6,936 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 278396 files and directories currently installed.)
Preparing to unpack .../libc6-dev-i386_2.23-0ubuntu5_AMD64.deb ...
Unpacking libc6-dev-i386 (2.23-0ubuntu5) ...
dpkg: error processing archive /var/cache/apt/archives/libc6-dev-i386_2.23-0ubuntu5_AMD64.deb (--unpack):
trying to overwrite '/usr/include/fpu_control.h', which is also in package libc6-dev-AMD64:i386 2.23-0ubuntu5
Errors were encountered while processing:
/var/cache/apt/archives/libc6-dev-i386_2.23-0ubuntu5_AMD64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
EDIT: Sortie de apt-cache --installed rdepends libc6-dev-i386 libc6-dev-AMD64
apt-cache --installed rdepends libc6-dev-i386 libc6-dev-AMD64
libc6-dev-i386
Reverse Depends:
libc6-dev-x32
libc6-i386
libc6-dev-x32
gcc-5-multilib
libc6-i386
gcc-5-multilib
libc6-dev-AMD64:i386
Reverse Depends:
Sortie de grep ^[^#] /etc/apt/sources.list /etc/apt/sources.list.d/*
grep ^[^#] /etc/apt/sources.list /etc/apt/sources.list.d/*
/etc/apt/sources.list:deb http://in.archive.ubuntu.com/ubuntu/ xenial main restricted
/etc/apt/sources.list:deb http://in.archive.ubuntu.com/ubuntu/ xenial-updates main restricted
/etc/apt/sources.list:deb http://in.archive.ubuntu.com/ubuntu/ xenial universe
/etc/apt/sources.list:deb http://in.archive.ubuntu.com/ubuntu/ xenial-updates universe
/etc/apt/sources.list:deb http://in.archive.ubuntu.com/ubuntu/ xenial multiverse
/etc/apt/sources.list:deb http://in.archive.ubuntu.com/ubuntu/ xenial-updates multiverse
/etc/apt/sources.list:deb http://in.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse
/etc/apt/sources.list:deb http://security.ubuntu.com/ubuntu xenial-security main restricted
/etc/apt/sources.list:deb http://security.ubuntu.com/ubuntu xenial-security universe
/etc/apt/sources.list:deb http://security.ubuntu.com/ubuntu xenial-security multiverse
/etc/apt/sources.list.d/damien-moore-ubuntu-codeblocks-stable-xenial.list:deb http://ppa.launchpad.net/damien-moore/codeblocks-stable/ubuntu xenial main
/etc/apt/sources.list.d/damien-moore-ubuntu-codeblocks-stable-xenial.list.save:deb http://ppa.launchpad.net/damien-moore/codeblocks-stable/ubuntu xenial main
/etc/apt/sources.list.d/google-chrome.list:deb [Arch=AMD64] http://dl.google.com/linux/chrome/deb/ stable main
/etc/apt/sources.list.d/google-chrome.list.save:deb [Arch=AMD64] http://dl.google.com/linux/chrome/deb/ stable main
/etc/apt/sources.list.d/snwh-ubuntu-pulp-xenial.list:deb http://ppa.launchpad.net/snwh/pulp/ubuntu xenial main
/etc/apt/sources.list.d/snwh-ubuntu-pulp-xenial.list.save:deb http://ppa.launchpad.net/snwh/pulp/ubuntu xenial main
/etc/apt/sources.list.d/Steam.list:deb [Arch=AMD64,i386] http://repo.steampowered.com/Steam/ precise Steam
/etc/apt/sources.list.d/Steam.list:deb-src [Arch=AMD64,i386] http://repo.steampowered.com/Steam/ precise Steam
/etc/apt/sources.list.d/Steam.list.save:deb [Arch=AMD64,i386] http://repo.steampowered.com/Steam/ precise Steam
/etc/apt/sources.list.d/Steam.list.save:deb-src [Arch=AMD64,i386] http://repo.steampowered.com/Steam/ precise Steam
/etc/apt/sources.list.d/thefanclub-ubuntu-grive-tools-xenial.list.save:deb http://ppa.launchpad.net/thefanclub/grive-tools/ubuntu xenial main
/etc/apt/sources.list.d/wine-ubuntu-wine-builds-xenial.list:deb http://ppa.launchpad.net/wine/wine-builds/ubuntu xenial main
/etc/apt/sources.list.d/wine-ubuntu-wine-builds-xenial.list.save:deb http://ppa.launchpad.net/wine/wine-builds/ubuntu xenial main
J'ai essayé de supprimer toutes les dépendances qui dépendent les unes des autres et apt-get
fonctionne maintenant.
Voici ma solution,
Sudo apt remove libc6-dev-x32 libc6-dev-i386 gcc-5-multilib gcc-multilib
Pourquoi essayez-vous d'installer à la fois libc6-dev-i386
etlibc6-dev-AMD64
? Si vous voulez compiler et votre architecture système
libc6-dev
et lib6-dev-i386
(il semble que ce soit le cas pour vous), oulibc6-dev
et libc6-dev-AMD64
.Supprimez donc lib6-dev-i386
:
Sudo apt-get purge -f lib6-dev-AMD64:i386
Cette commande indiquera à Apt de résoudre les conflits de packages à l'aide d'une solution impliquant la suppression de lib6-dev-AMD64:i386
. Si cela ne fonctionne pas, vous pouvez supprimer manuellement le package et résoudre les conflits restants:
Sudo dpkg --purge lib6-dev-AMD64:i386
Sudo apt-get install -f
J'ai eu un problème similaire et j'ai trouvé une aide qui répond, essayez ceci:
Sudo aptitude install libc6-dev:i386
puis répondez Oui deux fois.
obs. écrivez exactement ce "libc6-dev: i386 '", c’est le bon.