在一个新的Ubuntu12.10系统上,我正在尝试安装Mozart (http://www.mozart-oz.org/)编程环境。不幸的是,我得到了以下错误消息,报告缺少依赖项。
>> sudo apt-get -f install mozart mozart-doc mozart-stdlib
Reading package lists... Done
Building dependency tree
Reading state information... Done
mozart-doc 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:
mozart:i386 : Depends: emacs23:i386 or
emacsen:i386
mozart-stdlib : Depends: mozart (>= 1.4.0) but it is not installable
E: Unable to correct problems, you have held broken packages.我怎样才能解决这个问题?
我的sources.list文件的内容(新安装后没有修改)
deb http://fr.archive.ubuntu.com/ubuntu/ quantal main restricted
deb-src http://fr.archive.ubuntu.com/ubuntu/ quantal main restricted
deb http://fr.archive.ubuntu.com/ubuntu/ quantal-updates main restricted
deb-src http://fr.archive.ubuntu.com/ubuntu/ quantal-updates main restricted
deb http://fr.archive.ubuntu.com/ubuntu/ quantal universe
deb-src http://fr.archive.ubuntu.com/ubuntu/ quantal universe
deb http://fr.archive.ubuntu.com/ubuntu/ quantal-updates universe
deb-src http://fr.archive.ubuntu.com/ubuntu/ quantal-updates universe
deb http://fr.archive.ubuntu.com/ubuntu/ quantal multiverse
deb-src http://fr.archive.ubuntu.com/ubuntu/ quantal multiverse
deb http://fr.archive.ubuntu.com/ubuntu/ quantal-updates multiverse
deb-src http://fr.archive.ubuntu.com/ubuntu/ quantal-updates multiverse
deb http://fr.archive.ubuntu.com/ubuntu/ quantal-backports main restricted universe multiverse
deb-src http://fr.archive.ubuntu.com/ubuntu/ quantal-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu quantal-security main restricted
deb-src http://security.ubuntu.com/ubuntu quantal-security main restricted
deb http://security.ubuntu.com/ubuntu quantal-security universe
deb-src http://security.ubuntu.com/ubuntu quantal-security universe
deb http://security.ubuntu.com/ubuntu quantal-security multiverse
deb-src http://security.ubuntu.com/ubuntu quantal-security multiverse
deb http://archive.canonical.com/ubuntu quantal partner
deb-src http://archive.canonical.com/ubuntu quantal partner
deb http://extras.ubuntu.com/ubuntu quantal main
deb-src http://extras.ubuntu.com/ubuntu quantal main发布于 2013-02-12 16:41:02
首先尝试使用emacs23安装sudo apt-get install emacs23:i386,然后重新运行该命令。
请确保您没有任何可能包含不适合依赖项的包版本的PPA。
发布于 2013-02-12 13:39:37
试试sudo aptitude install mozart mozart-doc mozart-stdlib。
智能将试图找到可能涉及修改其他包的解决方案。它可能会给你更多的解释问题和解决它的选择。
https://askubuntu.com/questions/254218
复制相似问题