![由于安装过程中出现严重问题,以下软件包乱七八糟](https://linux22.com/image/98240/%E7%94%B1%E4%BA%8E%E5%AE%89%E8%A3%85%E8%BF%87%E7%A8%8B%E4%B8%AD%E5%87%BA%E7%8E%B0%E4%B8%A5%E9%87%8D%E9%97%AE%E9%A2%98%EF%BC%8C%E4%BB%A5%E4%B8%8B%E8%BD%AF%E4%BB%B6%E5%8C%85%E4%B9%B1%E4%B8%83%E5%85%AB%E7%B3%9F.png)
我无法重新安装软件包 ( 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