LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 12-28-2018, 01:52 PM   #1
vask0
LQ Newbie
 
Registered: Dec 2018
Posts: 22

Rep: Reputation: Disabled
update Debian 9 command not found


sudu apt update
-su: sudu: command not found


sudu apt-get update
-su: sudu: command not found

:?

Some ideas anymore why so ..
 
Old 12-28-2018, 01:58 PM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,929

Rep: Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320
try sudo instead of sudu
 
Old 12-28-2018, 02:17 PM   #3
vask0
LQ Newbie
 
Registered: Dec 2018
Posts: 22

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by pan64 View Post
try sudo instead of sudu
sudu apt-get update
-su: sudu: command not found
 
Old 12-28-2018, 02:23 PM   #4
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,734

Rep: Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212
While I thought pan64's answer was pretty clear, it guess it wasn't. I'll try...

There is no command "sudu" The command is "sudo," stands for Super User Do
See man sudo for documentation
 
Old 12-28-2018, 07:19 PM   #5
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Quote:
Originally Posted by scasey View Post
While I thought pan64's answer was pretty clear, it guess it wasn't. I'll try...

There is no command "sudu" The command is "sudo," stands for Super User Do
See man sudo for documentation
Larger letters?

sudo, not sudu.
 
Old 12-28-2018, 08:01 PM   #6
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,365

Rep: Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591
I don't think debian uses sudo by default like ubuntu distros.
Code:
su -
will ask for roots password then
Code:
 apt-update

Last edited by colorpurple21859; 12-28-2018 at 08:05 PM.
 
Old 12-28-2018, 08:49 PM   #7
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,342
Blog Entries: 28

Rep: Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145
colorpurple21859 is quite correct. Debian does not enable sudo by default. You need to configure the sudoers file if you want to use sudo.

Only Ubuntu (and its derivatives) suffers from the creepy sudo fetish.
 
Old 12-28-2018, 09:30 PM   #8
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Quote:
Originally Posted by frankbell View Post

Only Ubuntu (and its derivatives) suffers from the creepy sudo fetish.
Live and learn, I didn't know. I think, however, that non-Ubuntu distros like Fedora, Centos, OpenSUSE and so on also have a strong sudo fetish. The fetish that conquered the world, except for a small village, Debianum, that resisted it.
 
Old 12-29-2018, 05:12 AM   #9
vask0
LQ Newbie
 
Registered: Dec 2018
Posts: 22

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by frankbell View Post
colorpurple21859 is quite correct. Debian does not enable sudo by default. You need to configure the sudoers file if you want to use sudo.

Only Ubuntu (and its derivatives) suffers from the creepy sudo fetish.

do in your speech... to use sudo the file must be configured.

Still, let's mention how we can properly configure this file "sudoers"

At this link you can find how it is configured .. if I'm wrong with someone to fix me This is a link -->> LinK <<--
 
Old 12-29-2018, 02:37 PM   #10
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,734

Rep: Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212
Quote:
Originally Posted by berndbausch View Post
Live and learn, I didn't know. I think, however, that non-Ubuntu distros like Fedora, Centos, OpenSUSE and so on also have a strong sudo fetish. The fetish that conquered the world, except for a small village, Debianum, that resisted it.
I don't know either. I've been running a web server since 1999 or so. Have used Red Hat, Fedora and CentOS. I've always had root access...I have never used sudo. I was taught to su - when doing system administration, so my knowledge of the subject is limited to the correction of the command name.
 
Old 12-30-2018, 02:52 AM   #11
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,929

Rep: Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320
I'm not really sure if sudo should be configured. Probably it was only a typu, nothing more. Probably it is a working system and everything is ok.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] No package 'x11' found No package 'xext' found No package 'xdamage' found No package 'xfixes' found No package 'x11-xcb' found Jigsaw Linux From Scratch 14 02-23-2021 08:35 PM
"Command not found" on my server? “bash: sudo: command not found”? MilesOfRoses Linux - Server 7 04-01-2016 09:19 AM
[SOLVED] complete noob question. "command not found" "command not found" jeanlucpicard Linux - Newbie 4 08-27-2013 02:14 AM
Directory not found; -xzvf not found; Makefile not found RealGomer Linux - Software 4 09-20-2010 10:02 AM
bash: rpm: command not found && sudo: alien: command not found Java_Code Ubuntu 7 07-27-2006 11:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration