When I try 'sudo get-apt' update I get the error command not found. Why is this not working? I can do 'su root' and exe the command, is this basically the same thing? I am sort of used to sudo, so I rather have support for that.
Linux DistributionsLinuxVMware
Last Comment
ostraaten
8/22/2022 - Mon
Aditya Milan
try
whereis sudo
to check if it exists somewhere in your system
if it is there, check its location. it must be in your path environment
Tintin
What is the *exact* error you get?
There's no such command as get-apt on Debian (unless you've written your own), so try
sudo apt-get update
ostraaten
ASKER
whereis sudo returns 'sudo:'
This means it could not be found?
Sorry, I did try apt-get not apt-get, that is a typo.
apt-get won't be in your PATH. Either add it to your PATH or specify the full path (/usr/sbin/apt-get from memory)
ostraaten
ASKER
I think there is a problem with this version of Debian I am using.
So sudo doesn't work. There is a lot of information on the internet saying that I need to use 'visudo' to add a user to the sudoers list. This is also not part of my distro.
whereis sudo rerturns nil
but whereis visudo also returns nill.
I think it is just an ordinary Debian Etch netinstall version but I downloaded it as an VMWare image. The person who created it, must have removed those utilities?
Or is just not part of Debian Etch. Not really 'etchy' :(
whereis sudo
to check if it exists somewhere in your system
if it is there, check its location. it must be in your path environment