Trouble updating kali

Status
Not open for further replies.

aaryan

New Member
Joined
Sep 29, 2020
Messages
18
Reaction score
0
Credits
392
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)
 


You need sudo, so like this.
Code:
sudo apt-get update
sudo apt-get upgrade
I think you should be able to use apt too, it's a matter of preference.
Code:
sudo apt update
sudo apt upgrade
 
Locking this with a view to delete.

The OP has a bunch of other Threads going and has been given instructions.

Thanks @f33dm3bits

Wizard
 
Status
Not open for further replies.

Members online


Latest posts

Top