无法安装 synaptic 无论是 ubuntu 软件中心还是终端

无法安装 synaptic 无论是 ubuntu 软件中心还是终端

我刚刚安装了 Ubuntu 13.04,但无法安装 Synaptic。

我尝试过以下步骤:

sudo apt-get update
sudo apt-get upgrade
sudo apt-get remove synaptic
sudo apt-get install synaptic

错误

The following packages have unmet dependencies:
 synaptic:i386 : Depends: libgtk-3-0:i386 (>= 3.0.0) but it is not going to be installed
             Depends: libvte-2.90-9:i386 (>= 1:0.27.2) but it is not going to be installed
             Depends: libxapian22:i386 but it is not going to be installed
             Recommends: gksu:i386 but it is not going to be installed or
                         kdebase-bin:i386 but it is not installable or
                         policykit-1:i386
             Recommends: libgtk2-perl:i386 (>= 1:1.130) but it is not going to be installed
             Recommends: rarian-compat:i386 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

答案1

在终端上尝试以下命令来安装 synaptic,

sudo apt-get install aptitude
sudo aptitude install synaptic

答案2

第一次备份

sudo cp /etc/apt/sources.list /etc/apt/sources.list.original
sudo cp /var/lib/dpkg/status /var/lib/dpkg/status.original

做一些清理

sudo apt-get clean 
sudo apt-get autoclean
sudo apt-get -f install

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install synaptic

发布上述内容后,您现在开心了吗?

相关内容