(11-03-2019, 09:16 PM)Der Geist der Maschine Wrote:Thank You!! :-)(11-03-2019, 07:48 PM)rick1959 Wrote:(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)evidddlbunny Wrote: use sudo in front of the commands above...Thanks EV, but here's what I get when I put sudo in front:
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! :-)
In tutorials, you see quite often commands prefixed with either # or $. They are the typical login prompts, # for root and $ for non-root and they indicate what privileges are required to execute them.
How to become root is a matter of preference.
Hope that helps to avoid confusion in the future.
I appreciate not being left to my own ignorance! :-)
Just be patient with me....I'll eventually get it :-)
Good Night!!
(11-03-2019, 09:16 PM)Der Geist der Maschine Wrote:P.S. How did I get to be a "Senior" member? By age, I guess. Can't be competency!! :-)(11-03-2019, 07:48 PM)rick1959 Wrote:(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)evidddlbunny Wrote: use sudo in front of the commands above...Thanks EV, but here's what I get when I put sudo in front:
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! :-)
In tutorials, you see quite often commands prefixed with either # or $. They are the typical login prompts, # for root and $ for non-root and they indicate what privileges are required to execute them.
How to become root is a matter of preference.
Hope that helps to avoid confusion in the future.