我正在尝试在 Debian 7.2(稳定版)上安装终结器(术语模拟器)包testing
:
Package: terminator
Pin: release a=testing
Pin-Priority: 1000
但apt
抱怨:
# apt-get install terminator
...
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:
terminator : Depends: python:any (>= 2.6.6-7~)
E: Unable to correct problems, you have held broken packages.
奇怪的是,安装的 Python 解释器的版本应该符合需求:
ii python2.6 2.6.8-1.1 amd64 Interactive high-level object-oriented language (version 2.6)
ii python2.7 2.7.3-6 amd64 Interactive high-level object-oriented language (version 2.7)
我该如何解决这个问题?为什么终结器会抱怨未满足的依赖关系?
(请不要开玩笑说缺少skynet
终结器依赖的包 ;-)
更新:
apt-get download terminator
我通过执行并在通过 安装时忽略依赖关系来解决依赖关系问题dpkg
,但我仍然想知道此问题的解决方案。以下是附加输出:
% apt-cache policy terminator
terminator:
Installed: 0.97-2
Candidate: 0.97-2
Package pin: 0.97-2
Version table:
*** 0.97-2 1000
600 http://ftp.icm.edu.pl/pub/Linux/debian/ testing/main amd64 Packages
500 http://ftp.icm.edu.pl/pub/Linux/debian/ unstable/main amd64 Packages
100 /var/lib/dpkg/status
0.95-1 1000
650 http://ftp.icm.edu.pl/pub/Linux/debian/ wheezy/main amd64 Packages
% apt-cache depends terminator
terminator
Depends: gconf2
gconf2:i386
Depends: python-dbus
Depends: python-gobject
Depends: python-gtk2
Depends: python-vte
Depends: <python:any>
python:i386
python
Recommends: python-gnome2
Recommends: python-keybinder
Recommends: python-notify
Recommends: xdg-utils
答案1
检查并更新您的软件和更新源列表。确保在“其他软件”选项卡下已包含http://ppa.launchpad.net/gnome-terminator/ppa/ubuntu
。