所以当我这样做时:
sudo apt-get install *Package*
它说:
dpkg: too many errors, stopping
Errors were encountered while processing:
resolvconf
Processing was halted because there were too many errors.
E: Sub-process /usr/bin/dpkg returned an error code (1)
当我尝试查看问题所在时,我键入:
sudo resolvconf
它说:
Command 'resolvconf' not found, but can be installed with:
sudo apt install openresolv # version 3.10.0-1, or
sudo apt install resolvconf # version 1.82
然后当我尝试安装它时:
sudo apt-get install resolvconf
它给了我和以前一样的 apt-get 错误。我试过安装 deb 包,但它说:
Unable to install resolvconf:
Error while installing package: new resolvconf package post-
removal script subprocess returned error exit status 1
我能做些什么来解决这个问题。我可以提供您需要的任何额外信息。我正在使用 Ubuntu 20.04 lts。