Ubuntu 14.04 LTS:尝试安装 Ruby 2.0,但 gnome-session-bin 似乎安装了一半

Ubuntu 14.04 LTS:尝试安装 Ruby 2.0,但 gnome-session-bin 似乎安装了一半

我无法安装任何软件包,问题始于我尝试安装ruby2.0。之前,apt-get可以安装所有内容。但现在,每个包都返回此错误:

Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
dpkg: error processing package gnome-session-bin (--configure):
 package gnome-session-bin is not ready for configuration
 cannot configure (current status `half-installed')

我也尝试过

sudo dpkg gnome-session-bin --configure

dpkg: error processing package gnome-session-bin (--configure):
 package gnome-session-bin is not ready for configuration
 cannot configure (current status `half-installed')
Errors were encountered while processing:
 gnome-session-bin

我已经清理了我的/var/lib/dpkg/info/目录,

sudo apt-get autoclean
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install -f

根本不起作用。什么是半安装包?我该如何摆脱它?

答案1

我已经使用 synaptic 解决了这个问题。我重新安装了 gnome-session-bin 软件包,系统运行正常

相关内容