关于dpkg was interrupted, you must manually run ‘dpkg –configure -a’
dpkg –configure -a用于修复软件包,但是偶尔出现不响应的情况,运行后一直卡在那里
通过以下命令跳过这个步骤。
sudo mv /var/lib/dpkg/info /var/lib/dpkg/info_old
sudo mkdir /var/lib/dpkg/info
sudo apt-get update
sudo apt-get -f install
sudo mv /var/lib/dpkg/info/* /var/lib/dpkg/info_old
sudo rm -rf /var/lib/dpkg/info
sudo mv /var/lib/dpkg/info_old /var/lib/dpkg/info
sudo mkdir /var/lib/dpkg/info
sudo apt-get update
sudo apt-get -f install
sudo mv /var/lib/dpkg/info/* /var/lib/dpkg/info_old
sudo rm -rf /var/lib/dpkg/info
sudo mv /var/lib/dpkg/info_old /var/lib/dpkg/info
转自 http://www.cnblogs.com/jjyoung/archive/2011/05/24/2055694.html
发表评论