当我尝试打开软件中心时,我看到此错误
无法安装新软件,因为当前安装的软件有问题。是否要立即修复此问题?
奇怪的是,如果我点击修复,我会看到以下内容:
我不知道这是否有帮助,但昨天我尝试从 14.04 升级到 15.10,但没有成功。我从昨天开始就遇到了这个问题。
有人能帮我吗?
后sudo apt-get 安装 -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
fonts-horai-umefont fonts-wqy-microhei gnome-exe-thumbnailer icoutils
libcapi20-3 libmpg123-0 libopenal-data libopenal1 linux-headers-3.19.0-25
linux-headers-3.19.0-25-generic linux-image-3.19.0-25-generic
linux-image-extra-3.19.0-25-generic linux-signed-image-3.19.0-25-generic
ttf-wqy-microhei wine-gecko2.21 wine-mono0.0.8 winetricks
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
bluez-cups cups cups-core-drivers cups-daemon hplip indicator-printers
libc-bin libc-dev-bin libc6-dbg libc6-dev libcupsmime1
printer-driver-gutenprint printer-driver-hpcups printer-driver-postscript-hp
printer-driver-splix skype ubuntu-minimal ureadahead wine1.6 wine1.6-amd64
WARNING: The following essential packages will be removed.
This should NOT be done unless you know exactly what you are doing!
libc-bin
0 upgraded, 0 newly installed, 20 to remove and 44 not upgraded.
22 not fully installed or removed.
After this operation, 173 MB disk space will be freed.
You are about to do something potentially harmful.
To continue type in the phrase 'Yes, do as I say!'
?] Yes, do as I say!
dpkg: error: configuration error: /etc/dpkg/dpkg.cfg.d/multiarch:1: unknown option 'foreign-architecture'
E: Sub-process /usr/bin/dpkg returned an error code (2)
后
sudo apt-get install --reinstall libc-bin
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:
cups-daemon : Depends: init-system-helpers (>= 1.18~) but 1.14 is to be installed
Depends: lsb-base (>= 4.1+Debian11ubuntu7) but 4.1+Debian11ubuntu6 is to be installed
libc-bin : Depends: libc6 (< 2.20) but 2.21-0ubuntu4 is to be installed
libc-dev-bin : Depends: libc6 (< 2.20) but 2.21-0ubuntu4 is to be installed
libc6-dbg : Depends: libc6 (= 2.19-0ubuntu6.6) but 2.21-0ubuntu4 is to be installed
libc6-dev : Depends: libc6 (= 2.19-0ubuntu6.6) but 2.21-0ubuntu4 is to be installed
libcupsmime1 : Depends: libcups2 (= 1.7.2-0ubuntu1.6) but 2.0.2-1ubuntu3.2 is to be installed
skype : Depends: skype-bin but it is not installable
ureadahead : Depends: init-system-helpers (>= 1.18~) but 1.14 is to be installed
wine1.6 : Depends: wine1.6-i386 (= 1:1.6.2-0ubuntu4)
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).