我在更新过程中断电了,现在无法安装或更新任何软件包。我目前正在运行 Ubuntu 14.04 32 位。在终端上我收到此消息:
dpkg: error processing package linux-headers-3.13.0-29 (--configure):
package is in a very bad inconsistent state; you should
reinstall it before attempting configuration
dpkg: dependency problems prevent configuration of linux-headers-3.13.0-29-generic:
linux-headers-3.13.0-29-generic depends on linux-headers-3.13.0-29; however:
Package linux-headers-3.13.0-29 is not configured yet.
dpkg: error processing package linux-headers-3.13.0-29-generic (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates it's a follow-up error from a previous failure.
dpkg: dependency problems prevent configuration of linux-headers-generic:
linux-headers-generic depends on linux-headers-3.13.0-29-generic; however:
Package linux-headers-3.13.0-29-generic is not configured yet.
dpkg: error processing package linux-headers-generic (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-generic:No apport report written because the error message indicates it's a follow-up error from a previous failure.
linux-generic depends on linux-headers-generic (= 3.13.0.29.35); however:
Package linux-headers-generic is not configured yet.
dpkg: error processing package linux-generic (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached
E: Sub-process /usr/bin/dpkg returned an error code (1)
我已尝试配置它并安装依赖项,但迄今为止还没有成功。
答案1
重新安装包:
sudo apt-get --reinstall install -3.13.0-29-generic