ilya-savitski
August 9th, 2014, 11:53 PM
While installing libraries to compile ncmpcpp i got next error
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
lib32ncurses5-dev : Depends: lib32c-dev
lib32tinfo-dev : Depends: lib32c-dev
libc6-dev-x32 : Depends: libc6-dev-i386 (= 2.19-0ubuntu6.1) but it is not installed
E: Unmet dependencies. Try using -f.
sudo apt-get -f install
...
Preparing to unpack .../libc6-dev-i386_2.19-0ubuntu6.1_amd64.deb ...
Unpacking libc6-dev-i386 (2.19-0ubuntu6.1) ...
dpkg: error processing archive /var/cache/apt/archives/libc6-dev-i386_2.19-0ubuntu6.1_amd64.deb (--unpack):
trying to overwrite '/usr/include/fpu_control.h', which is also in package libc6-dev-amd64 2.19-0ubuntu6.1
Errors were encountered while processing:
/var/cache/apt/archives/libc6-dev-i386_2.19-0ubuntu6.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
I have tried a lot of ways to fix it. Please help me
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
lib32ncurses5-dev : Depends: lib32c-dev
lib32tinfo-dev : Depends: lib32c-dev
libc6-dev-x32 : Depends: libc6-dev-i386 (= 2.19-0ubuntu6.1) but it is not installed
E: Unmet dependencies. Try using -f.
sudo apt-get -f install
...
Preparing to unpack .../libc6-dev-i386_2.19-0ubuntu6.1_amd64.deb ...
Unpacking libc6-dev-i386 (2.19-0ubuntu6.1) ...
dpkg: error processing archive /var/cache/apt/archives/libc6-dev-i386_2.19-0ubuntu6.1_amd64.deb (--unpack):
trying to overwrite '/usr/include/fpu_control.h', which is also in package libc6-dev-amd64 2.19-0ubuntu6.1
Errors were encountered while processing:
/var/cache/apt/archives/libc6-dev-i386_2.19-0ubuntu6.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
I have tried a lot of ways to fix it. Please help me