Ubuntu 19.04:无法更新,因为未配置“libcupsfilters1”

Ubuntu 19.04:无法更新,因为未配置“libcupsfilters1”

我最近从 18.04 升级到了 Ubuntu 19.04 (4.15.0-48-generic)。从那时起我就无法升级,因为apt无法配置libcupsfilters1

我试过:

  • 删除和/或重新安装软件包
  • apt-get install -f
  • 跑步autocleanautoremove
  • 尝试安装dpkg

到目前为止什么都没起作用。Google 搜索没有多大帮助,因为它不知怎么找不到包名称。

编辑:请求输出sudo dpkg --configure -a

dpkg: error processing package libcupsfilters1:amd64 (--configure):
 package is in a very bad inconsistent state; you should
 reinstall it before attempting configuration
dpkg: dependency problems prevent configuration of libcupsfilters-dev:amd64:
 libcupsfilters-dev:amd64 depends on libcupsfilters1 (= 1.20.2-0ubuntu3.1); however:
  Package libcupsfilters1:amd64 is not configured yet.

dpkg: error processing package libcupsfilters-dev:amd64 (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 libcupsfilters1:amd64
 libcupsfilters-dev:amd64

答案1

由于其他错误提到包 (libcupsfilters1)未配置,让我们来配置它:

sudo dpkg --configure libcupsfilters1

在这种情况下,该输出给了我们答案:

dpkg: error processing package libcupsfilters1:amd64 (--configure):
package is in a very bad inconsistent state; you should
reinstall it before attempting configuration

使用 apt 重新安装软件包很容易:

sudo apt install --reinstall libcupsfilters1

相关内容