1

when googling i find stuff like this: askubuntu resolvconf

but /etc/resolv.conf doesn't seem to exist

sudo dpkg-reconfigure resolvconf

returns that resolvconf is broken or not fully installed

heard 18.04 might be using netplan instead now, but /etc/netplan seems to be completely empty

not sure what to do now, any help would be appreciated

EDIT: running sudo apt install resolvconf asks me to remove openresolv, whatever that is, not sure if i should do that :/

EDIT: /etc/network/interfaces is completely empty aside from loopback interface, can still ping IP addresses tho

1 Answers1

2

If someone encounters a similar issue, here's how i fixed it

download resolvconf.deb manually from official Ubuntu source: http://security.ubuntu.com/ubuntu/pool/universe/r/resolvconf/resolvconf_1.79ubuntu10_all.deb

transfer to Ubuntu PC using USB

sudo apt purge resolvconf
sudo apt install ./resolvconf_1.79ubuntu10_all.deb
sudo dpkg --reconfigure resolvconf
reboot

and then it should be fixed