当我尝试sudo apt-get upgrade
在 Ubuntu 16.04 上执行此操作时,始终出现以下错误:
Preconfiguring packages ...
dpkg: error processing package mount (--configure): package is in a very bad inconsistent state; you should reinstall it before attempting configuration
Errors were encountered while processing:
mount
E: Sub-process /usr/bin/dpkg returned an error code (1)
我该如何解决这个问题?
答案1
您可能需要通过执行以下操作来“重新安装” “mount”包:
sudo apt --reinstall mount
;
然后:
sudo apt upgrade