Skip to content

Instantly share code, notes, and snippets.

@hk0i
Last active October 17, 2016 22:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hk0i/ba2415e053f249ffd9e3dc42d040d331 to your computer and use it in GitHub Desktop.
Save hk0i/ba2415e053f249ffd9e3dc42d040d331 to your computer and use it in GitHub Desktop.
apt-get stuck
➜ ~ sudo apt-get check
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-5-multilib : Depends: libc6-dev-i386 (>= 2.11) but it is not installed
lib32ncursesw5-dev : Depends: lib32c-dev
lib32tinfo-dev : Depends: lib32c-dev
libc6-dev-x32 : Depends: libc6-dev-i386 (= 2.23-0ubuntu3) but it is not installed
E: Unmet dependencies. Try using -f.
➜ ~ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
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 69 not upgraded.
31 not fully installed or removed.
Need to get 0 B/1,265 kB of archives.
After this operation, 6,940 kB of additional disk space will be used.
Do you want to continue? [Y/n]
(Reading database ... 168737 files and directories currently installed.)
Preparing to unpack .../libc6-dev-i386_2.23-0ubuntu3_amd64.deb ...
Unpacking libc6-dev-i386 (2.23-0ubuntu3) ...
dpkg: error processing archive /var/cache/apt/archives/libc6-dev-i386_2.23-0ubuntu3_amd64.deb (--unpack):
trying to overwrite '/usr/include/bits', which is also in package libc6-dev-amd64:i386 2.23-0ubuntu3
Errors were encountered while processing:
/var/cache/apt/archives/libc6-dev-i386_2.23-0ubuntu3_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
➜ ~ history|grep "apt-get install"
322 sudo apt-get install libpurple-dev
325 sudo apt-get install libsigc++-2.0-dev
331 sudo apt-get install lib64ncurses5-dev
335 sudo apt-get install build-essential
341 sudo apt-get install lib32ncursesw5-dev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment