未满足的依赖问题

未满足的依赖问题

我最近安装了 ncurses,从那时起,我在尝试安装新库时一直遇到类似的错误

You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 lib64ncurses5-dev:i386 : Depends: lib64c-dev:i386

我跑完后又apt-get -f install撞到了一堵墙

The following NEW packages will be installed:
  libc6-dev-amd64:i386
0 upgraded, 1 newly installed, 0 to remove and 548 not upgraded.
6 not fully installed or removed.
Need to get 0 B/1,429 kB of archives.
After this operation, 9,590 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 451168 files and directories currently installed.)
Preparing to unpack .../libc6-dev-amd64_2.19-0ubuntu6.6_i386.deb ...
Unpacking libc6-dev-amd64 (2.19-0ubuntu6.6) ...
dpkg: error processing archive /var/cache/apt/archives/libc6-dev-amd64_2.19-0ubuntu6.6_i386.deb (--unpack):
 trying to overwrite '/usr/include/gnu', which is also in package libc6-dev-i386 2.19-0ubuntu6.6
Errors were encountered while processing:
 /var/cache/apt/archives/libc6-dev-amd64_2.19-0ubuntu6.6_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

答案1

卸载存在依赖性问题的软件包后,一切恢复正常:lib64ncurses5-dev:i386

相关内容