LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-29-2004, 10:25 PM   #1
kyoryoko
LQ Newbie
 
Registered: Dec 2004
Location: Hawaii
Posts: 6

Rep: Reputation: 0
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
 
Old 12-29-2004, 11:51 PM   #2
student04
Member
 
Registered: Jan 2004
Location: Georgia
Distribution: OS X, CentOS
Posts: 669

Rep: Reputation: 34
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.
 
Old 12-30-2004, 12:53 AM   #3
kyoryoko
LQ Newbie
 
Registered: Dec 2004
Location: Hawaii
Posts: 6

Original Poster
Rep: Reputation: 0
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
 
Old 12-30-2004, 01:04 AM   #4
student04
Member
 
Registered: Jan 2004
Location: Georgia
Distribution: OS X, CentOS
Posts: 669

Rep: Reputation: 34
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

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

Last edited by student04; 12-30-2004 at 01:06 AM.
 
Old 12-30-2004, 01:25 AM   #5
kyoryoko
LQ Newbie
 
Registered: Dec 2004
Location: Hawaii
Posts: 6

Original Poster
Rep: Reputation: 0
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
 
Old 12-30-2004, 01:29 AM   #6
student04
Member
 
Registered: Jan 2004
Location: Georgia
Distribution: OS X, CentOS
Posts: 669

Rep: Reputation: 34
Great
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
syntax problem with noclean option for rpmdrake urpmi /var/cache/urpmi/rpms Emmanuel_uk Mandriva 12 05-06-2007 08:29 PM
Confiuring URPMI on mandrake 10.1 community not working. usernameddr Mandriva 1 01-13-2005 10:46 AM
URPMI not working kaega2 Linux - Software 1 09-12-2004 06:49 PM
urpmi not working Moebius Linux - Software 1 02-18-2004 11:38 PM
urpmi.update --all / urpmi database locked thepoint Mandriva 5 11-05-2003 07:03 PM


All times are GMT -5. The time now is 04:14 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration