1

I tried to install sudo with apt install sudo but it won't work. I got these errors:

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?

I am always required to give root access whenever i want to open some files in the terminal but i can't do that without sudo

Kulfy
  • 18,154
Haq
  • 11

1 Answers1

1

Reboot, go to grub menu and select recovery boot.

Then select root console. Run there

mount -o remount,rw /
apt install sudo
Pilot6
  • 92,041