┌──(chock㉿kaliW37)-[~]
└─$ apt 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)
┌──(chock㉿kaliW37)-[~]
└─$ apt install git -y 100 ⨯
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?
┌──(chock㉿kaliW37)-[~]
└─$ 100 ⨯
why not able to apt update and other installation command gives me this same error why.?
┌──(chock㉿kaliW37)-[~] └─$ git clone https://github.com/htr-tech/nexphisher.git
Cloning into 'nexphisher'... remote: Enumerating objects: 59, done. remote: Counting objects: 100% (59/59), done. remote: Compressing objects: 100% (48/48), done. remote: Total 59 (delta 27), reused 30 (delta 10), pack-reused 0 Receiving objects: 100% (59/59), 34.37 MiB | 1.53 MiB/s, done. Resolving deltas: 100% (27/27), done.
┌──(chock㉿kaliW37)-[~] └─$ apt 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)
┌──(chock㉿kaliW37)-[~] └─$ apt install git -y 100 ⨯ 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?
┌──(chock㉿kaliW37)-[~] └─$ 100 ⨯
why not able to apt update and other installation command gives me this same error why.?