dpkg 没有给出软件包名称:软件包处于非常糟糕的不一致状态;

dpkg 没有给出软件包名称:软件包处于非常糟糕的不一致状态;

我跑了:

sudo apt-get autoremove && sudo apt-get autoclean

Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.
1 not fully installed or removed.
Need to get 0 B/37.6 kB of archives.
After this operation, 0 B of additional disk space will be used.

**dpkg: error processing package at (--configure):
 package is in a very bad inconsistent state**; you should
 reinstall it before attempting configuration
Errors were encountered while processing:
 at
E: Sub-process /usr/bin/dpkg returned an error code (1)

但它没有告诉我哪个包。任何帮助都将不胜感激。

保罗

答案1

我找到了答案。这个包的名字是“at”。

sudo dpkg --audit

它响应:由于安装过程中出现严重问题,以下软件包处于混乱状态。必须重新安装它们才能使它们(以及任何依赖于它们的软件包)正常运行:延迟作业执行和批处理

sudo apt-get install --reinstall at -f


sudo dpkg --audit

没有错误

然后运行:

sudo apt-get autoremove && sudo apt-get autoclean

没有错误

这一切都始于我尝试为我的 Epson WF-4630 安装驱动程序时

相关内容