安装任何应用程序时“dpkg被中断错误”
我有ubuntu 11.10,当我在终端运行任何包管理命令时,我收到此消息
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
有什么问题,如何解决?
错误消息通常指向过去中断了下载。
这应该通过以下方式解决:
sudo dpkg --configure -a sudo apt-get -f install sudo apt-get update && sudo apt-get upgrade