joe wrote:
RickSisler wrote:

joe ([EMAIL PROTECTED]) wrote:


bascule wrote:



have you checked your path?
echo $PATH
try the full path to urpmi
/usr/sbin/urpmi glabels


[EMAIL PROTECTED] echo $path

Joe, the variable name is declared with Capital letters, so type::

#> echo $PATH

I am working on setting up my path again. Wondering what happened to
it.

if the above doesn't work, check your /etc/bashrc ..



did you try what bascule mentions:


try the full path to urpmi
#> /usr/sbin/urpmi glabels


I did, and like magic, urpmi worked.

The question I have, is why is /usr/sbin no longer in my $PATH, and/or how should I edit my bashrc so that it is.


Here is what i get from echo $PATH:
echo $PATH
/usr/lib/distcc/bin:/home/fcrozat/GNUstep/Tools:/usr/GNUstep/Local/Tools:/usr/GNUstep/System/Tools:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games:/home/fcrozat/bin



The directoryies /sbin, /usr/sbin and /usr/local/sbin are not normaly in a user's path. They are in root's path when you log in as root, or when you "su -" to root. Normaly, when you do "su" instead of "su -", you keep the same path. But in Mandrake 10.1, when ever root opens a shell, the path is set to fixed path by /root/.bashrc. So you may want to check the .bashrc file in /root to be sure it is correct.

Mikkel
--

  Do not meddle in the affairs of dragons,
for you are crunchy and taste good with Ketchup!

____________________________________________________
Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com
____________________________________________________

Reply via email to