11-03-2019, 07:48 PM
(11-03-2019, 07:42 PM)evilbunny Wrote:Perfect, Thank You!!!(11-03-2019, 07:41 PM)rick1959 Wrote:(11-03-2019, 07:32 PM)evilbunny Wrote:Thanks EV, but here's what I get when I put sudo in front:(11-03-2019, 07:30 PM)rick1959 Wrote:(11-03-2019, 01:58 PM)Der Geist der Maschine Wrote: # apt-get update && apt-get dist-upgrade
Unfortunately, those commands aren't working.
I get this:
W: chmod 0700 of directory /var/lib/apt/lists/partial failed - SetupAPTPartialDirectory (1: Operation not permitted)
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)
Any ideas? Thanks! :-)
use sudo in front of the commands above...
Hit:1 http://security.debian.org stretch/updates InRelease
Ign:2 http://cdn-fastly.deb.debian.org/debian stretch InRelease
Hit:3 http://cdn-fastly.deb.debian.org/debian stretch-updates InRelease
Hit:4 http://cdn-fastly.deb.debian.org/debian stretch Release
Reading package lists... Done
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
Any other ideas? Thanks! :-)
&& starts a new command, so you need to add sudo between && and apt-get
The modified command : sudo apt-get update && sudo apt-get dist-upgrade
Works like a charm! :-)