dpkg: 处理软件包 hardening-includes 时出错

dpkg: 处理软件包 hardening-includes 时出错

我将 Xubuntu 从 14.04 更新到了 16.04,现在得到:

dpkg: error processing package hardening-includes

当我尝试安装/删除任何应用程序时。

我尝试使用sudo dpkg --configure -a来完成任何一半下载的文件:

dpkg: error processing package hardening-includes (--configure):
 package is in a very bad inconsistent state; you should
 reinstall it before attempting configuration
dpkg: dependency problems prevent configuration of lintian:
 lintian depends on hardening-includes; however:
  Package hardening-includes is not configured yet.

dpkg: error processing package lintian (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 hardening-includes
 lintian

我该如何解决这个问题?

答案1

要求apt重新安装该软件包(这将修复任何丢失的文件并再次重新配置它):

sudo apt-get install --reinstall hardening-includes

相关内容