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?

Zanna
  • 72,312

1 Answers1

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)

captainGeech
  • 923
  • 1
  • 6
  • 18