由于安装过程中出现严重问题,以下软件包乱七八糟

由于安装过程中出现严重问题,以下软件包乱七八糟

我无法重新安装软件包 ( libturbojpeg0)。我有以下错误

# dpkg --audit                       
The following packages are in a mess due to serious problems during
installation.  They must be reinstalled for them (and any packages
that depend on them) to function properly:
 libturbojpeg0:amd64  TurboJPEG runtime library - SIMD optimized

我无法删除它

# apt-get remove  libturbojpeg0
[...]
dpkg: error processing package libturbojpeg0:amd64 (--remove):
 package is in a very bad inconsistent state; you should
 reinstall it before attempting a removal
Errors were encountered while processing:
 libturbojpeg0:amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)

我该怎么做才能重新安装此软件包?

答案1

您应该要求apt-get重新安装它:

 apt-get --reinstall install libturbojpeg0:amd64

相关内容