Obviously I did not wrap it up correctly

; this is what toke care of it:
I have the traditional .bashrc file in my home directory: /home/viking/.bashrc
I modified it and thereby I also needed (and created) a different .bashrc file for the root user in: /root/.bashrc
Now the traditional content of .bashrc that you and I checked out was:
Code: Select all
# .bashrc
# User specific aliases and functions
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi It works perfectly fine with one exception; in Cooker the urpmi command is lost - it is simply not found by bash in the terminal.
This only affects the root user (well urpmi does not work as a normal user anyway). So I got a friend i the Mandriva community to post the content of his .bashrc and discovered that cooker (2010.1) has an altered standard for the file.
http://forum.mandriva.com/viewtopic.php?t=127892I need to put the path above into the file for the root user.
So the perfect working system no has two .bashrc files; one in my home directory that looks like this:
This is not the important code and could have been the code you have really.
And one in the root directory /root/.bashrc:
The four first lines of this code make urpmi work again - the rest makes the command line prompt change color every time I hit enter. This is useful when you query a lot of stuff and wonder where the list starts.
I hope this makes sense
