![无法安装任何应用程序/软件](https://linux22.com/image/874646/%E6%97%A0%E6%B3%95%E5%AE%89%E8%A3%85%E4%BB%BB%E4%BD%95%E5%BA%94%E7%94%A8%E7%A8%8B%E5%BA%8F%2F%E8%BD%AF%E4%BB%B6.png)
我尝试使用终端和软件中心,每次都会弹出此消息:
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:
desmume : Depends: libosmesa6 (>= 6.5.2-1) but it is not going to be installed or
libgl1-mesa-glide3 but it is not installable
E: Unable to correct problems, you have held broken packages.
我甚至尝试sudo apt-get update
在终端中执行此操作,但这并不能解决问题。我正在运行 Ubuntu 14.04 LTS,如果这有帮助的话
答案1
首先运行这个:
sudo apt-get install -f
选项 -f 将在有损坏的软件包时进行修复,这在第一次运行 apt-get 时有时也是必要的。
然后运行:
sudo apt-get update
和:
sudo apt-get install desmume
或sudo apt-get update && sudo apt-get install desmume
(相同,但带有 &&)
希望您能解决这个问题!