我无法在我的计算机上安装任何新东西,即使我尝试 sudo apt-get -f install,也总是出现此错误。使用 Ubuntu 17.04 64 位
dpkg: dependency problems prevent configuration of libgcc1:i386:
libgcc1:i386 depends on gcc-6-base (= 6.3.0-12ubuntu2); however:
Package gcc-6-base:i386 is not installed.
dpkg: error processing package libgcc1:i386 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libc6:i386:
libc6:i386 depends on libgcc1; however:
Package libgcc1:i386 is not configured yet.
dpkg: error processing package libc6:i386 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libpcre3:i386:
libpcre3:i386 depends on libc6 (>= 2.4); however:
Package libc6:i386 is not configured yet.
dpkg: error processing package libpcre3:i386 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libgpg-error0:i386:
libgpg-error0:i386 depends on libc6 (>= 2.15); however:
Package libc6:i386 is not configured yet.
dpkg: error processing package libgpg-error0:i386 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libselinux1:i386:
libselinux1:i386 depends on libc6 (>= 2.8); however:
Package libc6:i386 is not configured yet.
libselinux1:i386 depends on libpcre3; however:
Package libpcre3:i386 is not configured yet.
dpkg: error processing package libselinux1:i386 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of liblzma5:i386:
liblzma5:i386 depends on libc6 (>= 2.17); however:
Package libc6:i386 is not configured yet.
dpkg: error processing package liblzma5:i386 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of liblz4-1:i386:
liblz4-1:i386 depends on libc6 (>= 2.4); however:
Package libc6:i386 is not configured yet.
dpkg: error processing package liblz4-1:i386 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libgcrypt20:i386:
libgcrypt20:i386 depends on libc6 (>= 2.15); however:
Package libc6:i386 is not configured yet.
libgcrypt20:i386 depends on libgpg-error0 (>= 1.14); however:
Package libgpg-error0:i386 is not configured yet.
dpkg: error processing package libgcrypt20:i386 (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
libgcc1:i386
libc6:i386
libpcre3:i386
libgpg-error0:i386
libselinux1:i386
liblzma5:i386
liblz4-1:i386
libgcrypt20:i386
答案1
已解决,sudo apt install --reinstall gcc-6-base:i386
谢谢@zana,你给了我解决问题的想法。