Software-Installation

由於安裝過程中出現嚴重問題,以下包亂七八糟

  • November 8, 2016

我無法重新安裝軟體包 ( 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)

我該怎麼做才能重新安裝此軟體包?

您應該要求apt-get重新安裝它:

apt-get --reinstall install libturbojpeg0:amd64

引用自:https://unix.stackexchange.com/questions/321833