我正在运行 Debian 9(延伸)amd64。我尝试运行一个依赖 libc6-dev-i386 工作的程序,但无法使用以下命令安装该软件包:
apt-get install libc6-dev-i386
我收到这个错误
The following packages have unmet dependencies:
libc6-dev-i386 : Depends: libc6-i386 (= 2.24-11+deb9u3) but it is not going to be installed
Depends: libc6-dev (= 2.24-11+deb9u3) but 2.27-6 is to be installed
Recommends: gcc-multilib but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
我尝试将 libc6-i386_2.27-6 版本降级到 2.24-11+deb9u3:
dpkg -i --force-downgrade libc6-i386_2.24-11+deb9u3_amd64.deb.
但我得到了这个:
Reading database ... 274743 files and directories currently installed.)
Preparing to unpack libc6-i386_2.24-11+deb9u3_amd64.deb ...
Unpacking libc6-i386 (2.24-11+deb9u3) over (2.24-11+deb9u3) ...
Replaced by files in installed package libc6:i386 (2.27-6) ...
dpkg: dependency problems prevent configuration of libc6-i386:
libc6-i386 depends on libc6 (= 2.24-11+deb9u3); however:
Version of libc6:amd64 on system is 2.27-6.
dpkg: error processing package libc6-i386 (--install):
dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.27-5) ...
Errors were encountered while processing:
libc6-i386