我正在尝试为外部存储库安装 emacs24,但收到有关未满足依赖项的错误,想知道如何继续安装并解决此错误?
输出如下所示:
dito@dito:~$ sudo apt-get install emacs-snapshot-nox
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-snapshot-nox: Depends: emacs-snapshot-bin-common (= 1:20111012-1+squeeze1) but it is not going to be installed
Depends: libncurses5 (>= 5.7+20100313) but 5.7+20090803-2ubuntu3 is to be installed
PreDepends: dpkg (>= 1.15.6) but 1.15.5.6ubuntu4.5 is to be installed
E: Broken packages
dito@dito:~$
答案1
您可以从此 ppa 获取 dpkg 的更新包。 https://launchpad.net/~n-muench/+archive/programs-ppa2