3

I was following this guide on upgrading to Ubuntu 18.04, and after executing sudo apt-get dist-upgrade, I did not bother to check that it prompted me that executing it will remove lots of programs. After dist-upgrade, I noticed that I do not have sudo anymore. I tried installing via install but I get an error that looks like this:

E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?

How can I recover from this?

akubi
  • 131

0 Answers0