我尝试安装如下包net-tools
但是得到的只是这个错误:
After this operation, 745 kB of additional disk space will be used.
dpkg: error processing package util-linux (--configure):
package util-linux is not ready for configuration
cannot configure (current status 'half-installed')
Errors were encountered while processing:
util-linux
E: Sub-process /usr/bin/dpkg returned an error code (1)
答案1
我已经很久没有遇到过这种情况了,但我相信你需要通过以下方式解决安装一半的软件包
sudo dpkg --configure -a
sudo apt-get update
这将尝试安装缓存的包。(util-linux)