LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-02-2007, 12:23 AM   #1
saheelahamed
LQ Newbie
 
Registered: Jul 2007
Location: Bangalore
Posts: 25

Rep: Reputation: 15
/usr/sbin/sudo: line 1: root: command not found


hi,
i am trying to install VMWARE.

it is asking for What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]

i tried to give /usr/include/ i get following error message

The header files in /usr/include are generally for C libraries, not for the
running kernel. If you do not have kernel header files in your /usr/src
directory, you probably do not have the kernel-source package installed. Are
you sure that /usr/include contains the header files associated with your
running kernel? [no]

from this it mean that i need to install kernel-source packages
i ran
1>uname -r output:-2.6.19-1.2911.fc6

2>sudo apt-get install linux-headers-`uname -r`
at this point of time i am getting error as >>/usr/sbin/sudo: line 1: root: command not found

please anybody help me on this
 
Old 08-02-2007, 01:48 AM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
Have you tried using sudo apt-get install linux-headers=2.6.19-1.2911.fc6 instead of sudoo apt-get install linux-headers-`uname -r`?

Do you get the same result?
 
Old 08-02-2007, 07:14 AM   #3
saheelahamed
LQ Newbie
 
Registered: Jul 2007
Location: Bangalore
Posts: 25

Original Poster
Rep: Reputation: 15
hi,bigrigdriver

i ran the command sudo apt-get install linux-headers=2.6.19-1.2911.fc6

still it is giving error /usr/sbin/sudo: line 1: root: command not found

my sudo file contents is

root ALL=NOPASSWD:/bin/rpm ,/opt/ltib/usr/bin/rpm

even i tried with
root ALL=(ALL) ALL

for this also i am geting same error
 
  


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
What is difference between /usr/sbin/ps & /usr/ucb/ps command rajaniyer123 Solaris / OpenSolaris 6 07-05-2007 12:53 PM
bash: rpm: command not found && sudo: alien: command not found Java_Code Ubuntu 7 07-27-2006 11:57 PM
ps -aux ---> /usr/sbin/sendmail -i -FCronDaemon -oem root ?? PDASquare Linux - General 2 03-29-2006 09:22 PM
Want2use /sbin cmds undr non-root account w/o sudo. Is it safe 2 add /sbin 2 my PATH? kornerr Linux - General 4 02-25-2005 09:29 AM
As root, not seeing /sbin and /usr/sbin in path weghman Linux - Newbie 3 04-25-2004 01:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:05 PM.

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