LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   urpmi not working! (https://www.linuxquestions.org/questions/linux-newbie-8/urpmi-not-working-271743/)

kyoryoko 12-29-2004 09:25 PM

urpmi not working!
 
I am trying to server install from my professors site, a script he wrote to add and remove a lot of files and apps that he decided are not necessary (or vice versa) for mandrake 10. I have been trying to type in "urpmi.removemedia -a" , which is what he said to do to remove the remaining media repository. Also, I decided to see if I ran the script what would happen. Its first line of code states "urpmi.addmedia" and it says that the cmd can't be found! Anyone know if I am doing something wrong?
~kyo

student04 12-29-2004 10:51 PM

i have two solutions ordered in most likelyhood:

1. You ran that script as a normal user, in other words, NOT root
2. urpmi.addmedia was spelt wrong in the script

Hope I helped. :)

kyoryoko 12-29-2004 11:53 PM

hmm.. How do I get into root mode? I start up terminal I was guessing I was in root already, I could/ probably be wrong. It says "name@localhost name" is that root? ? ? and if it is not, what would I type in to get into root ? sry I so newb :P
Thanks!!
~ kyo

student04 12-30-2004 12:04 AM

if you were root it would say root@localhost somefolder. To get into root, you must type this:
Code:

su
Of course, it will ask you for the password, which you MUST have in order to continue. Then your script will work correctly.

And don't feel ashamed about being a "newbie" - I'm one myself :p

Besides, you've come to the right place. This forum is in my opinion the best for linux questions (thus its name :rolleyes: ).

kyoryoko 12-30-2004 12:25 AM

Thanks alot.. "su" ... super user... >_<! thanks again, hopefully I can get used to linux and learn more, I am planning on taking classes on it at the college I go to. Then I won't be AS newb. :)
~Kyo

student04 12-30-2004 12:29 AM

Great :)


All times are GMT -5. The time now is 11:27 PM.