今天我安装了UbuntuUbuntu14.04.4LTS 64位,我想安装libgl1-Mesa-dev:i 386数据包。我执行以下命令:
sudo apt-get install libgl1-mesa-dev:i386
我得到了以下结果:
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:
libgl1-mesa-dev:i386 : Depends: libgl1-mesa-glx:i386 (= 10.1.3-0ubuntu0.6) or
libgl1-mesa-glx-lts-utopic:i386 but it is not going to be installed or
libgl1-mesa-glx-lts-vivid:i386 but it is not going to be installed or
libgl1-mesa-glx-lts-wily:i386 but it is not going to be installed or
libgl1-mesa-glx-lts-xenial:i386 but it is not installable
E: Unable to correct problems, you have held broken packages.
我执行以下命令:
dpkg -l | grep xserver-xorg-core
我得到了:
ii xserver-xorg-core-lts-wily 2:1.17.2-1ubuntu9.1~trusty1 amd64 Xorg X server - core server
sudo apt-get install libgl1-mesa-dev-lts-wily:i386
我得到:
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:
libgl1-mesa-dev-lts-wily:i386 : Depends: libgl1-mesa-glx-lts-wily:i386 (= 11.0.2-1ubuntu4~trusty1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
sudo apt-get install libgl1-mesa-glx-lts-wily:i386 libglapi-mesa-lts-wily:i386 libgl1-mesa-dev-lts-wily:i386
我得到:
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:
libgl1-mesa-glx-lts-wily:i386 : Depends: libudev1:i386 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
发布于 2016-04-04 19:00:39
您有wily
图形堆栈。正确的命令应该是
sudo apt-get install libgl1-mesa-glx-lts-wily:i386 libglapi-mesa-lts-wily:i386 libgl1-mesa-dev-lts-wily:i386 libudev1:i386
https://askubuntu.com/questions/753782
复制相似问题