WirraGunya
New Member
I recently installed core package of Debian 9 via USB (I had to use smaller ISO image due to data limit being reached on Internet). It installed fine and works just like I was expecting, identified my hardware and all that and no problems in that regard.
However, I'm having trouble with file permissions and can't do anything on here, as in, can't install, update or unpack files. The few lines of code that I've tried keep giving me the following errors about permission denied. The main one (I think) is the apt update, not sure what to do as I'm totally new to Linux. I've retyped the errors I get below (I've got line numbering here but they're not in command prompt).
wirra@Beasta:~$ apt update
Reading package lists... Done
line1) W: chmod 0700 of directory /var/lib/apt/lists/partial failed - SetupAPTPartialDirectory (1: Operation not permitted)
Line 2) E: Could not open lock file/var/lib/apt/lists/lock - open (13: permission denied)
L3) E: Unable to lock directory /var/lib/apt/lists/
L4) W: Problem unlinking the file /var/cache/apt/pkgcache.bin - RemoveCaches (13: Permission denied)
L5) W: Problem unlinking the file /var/cache/apt/srcpkgcache.bin - RemoveCaches (13: Permission denied)
Any help will be greatly appreciated, thanks for reading.
However, I'm having trouble with file permissions and can't do anything on here, as in, can't install, update or unpack files. The few lines of code that I've tried keep giving me the following errors about permission denied. The main one (I think) is the apt update, not sure what to do as I'm totally new to Linux. I've retyped the errors I get below (I've got line numbering here but they're not in command prompt).
wirra@Beasta:~$ apt update
Reading package lists... Done
line1) W: chmod 0700 of directory /var/lib/apt/lists/partial failed - SetupAPTPartialDirectory (1: Operation not permitted)
Line 2) E: Could not open lock file/var/lib/apt/lists/lock - open (13: permission denied)
L3) E: Unable to lock directory /var/lib/apt/lists/
L4) W: Problem unlinking the file /var/cache/apt/pkgcache.bin - RemoveCaches (13: Permission denied)
L5) W: Problem unlinking the file /var/cache/apt/srcpkgcache.bin - RemoveCaches (13: Permission denied)
Any help will be greatly appreciated, thanks for reading.