为了安装 mongodb,我想安装这些依赖项,因此当我运行此命令时
sudo apt-get install curl tcsh scons g++ xulrunner-1.9-dev libpcre++-dev libboost-dev libmozjs-dev
给我这个结果:
Building dependency tree
Reading state information... Done
Note, selecting 'libmozjs185-dev' instead of 'libmozjs-dev'
g++ is already the newest version.
g++ set to manually installed.
curl is already the newest version.
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:
xulrunner-1.9-dev : Depends: xulrunner-1.9 (>= 1.9.0.19+nobinonly) but it is not going to be installed
E: Broken packages
我尝试设置源列表并更新和安装,但没有发生?
这是我的来源列表。
deb http://archive.ubuntu.com/ubuntu/ natty main restricted universe
deb-src http://archive.ubuntu.com/ubuntu/ natty main restricted universe
deb http://archive.ubuntu.com/ubuntu/ natty-updates main restricted universe
deb-src http://archive.ubuntu.com/ubuntu/ natty-updates main restricted universe
deb http://security.ubuntu.com/ubuntu natty-security main restricted universe
deb-src http://security.ubuntu.com/ubuntu natty-security main restricted universe
deb http://download.webmin.com/download/repository sarge contrib
deb http://webmin.mirror.somersettechsolutions.co.uk/repository sarge contrib
deb http://security.ubuntu.com/ubuntu hardy-security main
deb http://security.ubuntu.com/ubuntu lucid-security main universe
deb http://ubuntu.mirror.cambrium.nl/ubuntu/ lucid-updates main universe
deb http://ubuntu.mirror.cambrium.nl/ubuntu/ natty main universe
请指出可能存在的问题,我该如何安装它?
答案1
不要安装xulrunner-1.9-dev
,自 Jaunty (9.04) 以来它就不存在了。