0

When I use the command

sudo apt-get update && sudo apt-get upgrade

then I get..

Reading package lists... Done
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: The package resolvconf needs to be reinstalled

Please, how do I resolve?

0

1 Answer 1

0

It sounds like you are having a dependency issue, so the following should solve that:

sudo apt-get install -f
sudo apt-get upgrade

install -f will solve dependency issues and help to fix broken packages.

EDIT

Try this to install the package:

cd
wget http://91.189.91.13/ubuntu/pool/main/r/resolvconf/resolvconf_1.69ubuntu1_all.deb
sudo dpkg -i resolvconf_1.69ubuntu1_all.deb

This will download the package from a Ubuntu repository that has a DNS issue, hence the IP address rather than a domain name (source: This answer)

4
  • Thank you...I have tried use command sudo apt-get install -f, and I get...Reading package lists... Done Building dependency tree Reading state information... Done E: The package resolvconf needs to be reinstalled, but I can't find an archive for it.
    – AriesDS
    Aug 5, 2017 at 6:22
  • Thank you...I have tried use command sudo apt-get install -f, and I get...Reading package lists... Done Building dependency tree Reading state information... Done E: The package resolvconf needs to be reinstalled, but I can't find an archive for it. How to resolve it?
    – AriesDS
    Aug 5, 2017 at 6:53
  • @AriesDS I updated my answer with some more info that may help Aug 5, 2017 at 16:38
  • When I use....cd wget 91.189.91.13/ubuntu/pool/main/r/resolvconf/…. I got ....Connecting to 91.189.91.13:80... failed: Connection timed out. Retrying. How should I resolve?
    – AriesDS
    Aug 7, 2017 at 2:26

Not the answer you're looking for? Browse other questions tagged .