我正在尝试在 ubuntu 12.04 中安装“terminator”。但它返回此错误:
The following packages have unmet dependencies:
terminator: Depends: python (>= 2.5) but 2.7.3-0ubuntu2.2 is to be installed
Depends: python-vte but it is not going to be installed
Depends: python-gtk2 (>= 2.14.0) but 2.24.0-3 is to be installed
答案1
apt
可能会给你一个旧版本,可能不兼容,因此要安装最新的 Terminator:
sudo apt-get remove terminator
sudo add-apt-repository ppa:gnome-terminator
sudo apt-get update
sudo apt-get install terminator
来源:官方终结者页面的安装说明
答案2
尝试以下命令:
sudo apt-get update
sudo apt-get -f install
如果这不起作用,请执行以下操作:
sudo apt-get update
sudo apt-get install python
sudo apt-get install python-vte
sudo apt-get install python-gtk2
如果这不起作用,请从以下网址下载 python-vtehttp://packages.ubuntu.com/trusty/python-vte和:
- 打开控制台。
cd ~/Downloads
sudo dpkg -i python-vte_0.28.2-5ubuntu1_amd64.deb
sudo apt-get -f install