我尝试安装libsd1.2-dev
,但由于一些我不知道如何解决的依赖关系而出现错误。
sudo apt-get -f install libsdl1.2-dev
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:
libsdl1.2-dev : Depends: libglu1-mesa-dev but it is not going to be installed or
libglu-dev
E: Unable to correct problems, you have held broken packages.
我的uname -a
是:
Linux moon 3.8.0-31-generic #46-Ubuntu SMP Tue Sep 10 19:56:49 UTC 2013 i686 i686 i686 GNU/Linux
正在运行 Lubuntu-Desktop。已安装libsdl1.2-debian
(版本 1.2.15-5ubuntu1)
任何帮助都将非常感激。
答案1
如果您还没有安装 synaptic 包管理器,请安装它。现在在编辑下单击fix broken packages
并按照说明操作(我不确定它们是什么,因为我没有损坏的包)。之后您应该点击应用,然后就没问题了。