sudo: apt-get: command not found
25,330
As normal user run sudo dpkg --configure -a
,
apt-get
is working for root user.
Related videos on Youtube
Comments
-
sourav over 1 year
When I run
apt-get update
asroot
user it's working well, but not working forapt-get install build-essential manpages-dev
(showingapt-get command not found
).-
Kalle Richter almost 8 yearsWhat does
which apt-get
say ran asroot
? -
Anwar almost 8 yearsWhat do you mean by running as root? using sudo or not?
-
sourav almost 8 yearsresult of which apt-get /usr/bin/apt-get
-
-
Anwar almost 8 yearsOP said
apt-get install build-essential manpages-dev
doesn't work. why do you think it will work with--simulate
switch? -
karel almost 8 yearsIn case he ran
apt–get install
(with an en dash between apt and get) or apt~get install, either of which would result in something like anapt~get command not found
error message, I'm trying to trick him with the sneaky placebo--simulate
option into copy/pasting the correct command instead. -
sourav almost 8 yearsIts working after install all the packages. Thanks Man.
-
karel almost 8 yearsEither way, the cat's out of the bag now.