我正在尝试安装一些应用程序,但有些应用程序无法安装。我尝试的三个应用程序是 Vim、Emacs 和 GNOME-Do。我正在使用在 VirtualBox 中安装为客户操作系统的 Ubuntu 10.10。安装的内核版本是 2.6.35-26。
我收到的错误是:
alvinsim@ubuntu:/etc/apt$ sudo apt-get install emacs
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:
emacs : Depends: emacs23 or emacs23-lucid but it is not going to be installed
emacs23-nox but it is not going to be installed E: Broken packages
哪里出了问题?如何修复?
谢谢。
答案1
我按照 ubuntu 软件包管理器故障排除程序提供的步骤修复了这些软件包。我认为之前的软件包不知为何损坏了。