kali linux error
-
└─$ apt-get update
Reading package lists... Done
E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)
E: Unable to lock directory /var/lib/apt/lists/
W: Problem unlinking the file /var/cache/apt/pkgcache.bin - RemoveCaches (13: Permission denied)
W: Problem unlinking the file /var/cache/apt/srcpkgcache.bin - RemoveCaches (13: Permission denied)
┌──(darknight㉿LAPTOP-43MUP542)-[~]
└─$ apt-get upgrade
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? -
here are the issues that I see:
(13: Permission denied)
are you root?
So your issue begins with your command:
apt-get update
try
sudo apt-get update
trysudo apt-get upgrade
-
I tried that its still the same
-