全新安装Ubuntu 16.04之后,我的软件包损坏了,无法安装大多数应用程序。我从Synaptic尝试“修复损坏的程序包”,但无法正常工作。一个例子;
sudo apt-get install steam
输出;
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
steam:i386 : Depends: libc6:i386 (>= 2.15) but it is not going to be installed
Depends: libstdc++6:i386 (>= 4.3) but it is not going to be installed
Depends: libx11-6:i386 but it is not going to be installed
Depends: libudev1:i386 but it is not going to be installed
Depends: libxinerama1:i386 but it is not going to be installed
Depends: libtxc-dxtn0:i386
Depends: libgl1-mesa-dri:i386 but it is not going to be installed
Depends: libgl1-mesa-glx:i386 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
另一个例子;
sudo apt-get install nvidia-361
输出;
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
nvidia-361 : Depends: lib32gcc1 but it is not going to be installed
Depends: libc6-i386 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
没有任何输出;
sudo apt-get clean
我试过了;
sudo apt-get install -f
产出;
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
谢谢..
16.04是新的,并且尚未在所有服务器上准备使用所有软件包。使用主服务器下载软件包可以解决我的问题。
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句