mozart-stdlib:依赖:mozart(>= 1.4.0)但无法安装

mozart-stdlib:依赖:mozart(>= 1.4.0)但无法安装

在全新的 Ubuntu 12.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

答案1

首先尝试使用安装 emacs23,sudo apt-get install emacs23:i386然后重新运行该命令。

请确保您没有任何可能包含不符合依赖关系的软件包版本的 PPA。

答案2

尝试sudo aptitude install mozart mozart-doc mozart-stdlib

Aptitude 将尝试寻找可能涉及修改其他软件包的解决方案。它可能会为您提供有关问题的更多解释以及修复问题的选项。

相关内容