LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 03-14-2004, 07:32 PM   #1
gervin
Member
 
Registered: Dec 2003
Location: outback, australia
Posts: 40

Rep: Reputation: 15
help! urpmi.removemedia -a wiped all my rpm indicator files in mandrake control cente


in trying to configure my mandrake 9.1 for urpmi, it was suggested i use the command urpmi.removemedia -a, so i did. resulting in no rpms being listed when i go into mandrake control center to install, upgrade, or remove files. yikes! anyone know how i can restor this?

much appreciated!

jxl
 
Old 03-15-2004, 03:59 AM   #2
beejayzed
Member
 
Registered: Jan 2004
Location: Auckland, New Zealand
Distribution: Ubuntu
Posts: 686

Rep: Reputation: 30
I think there's a program to reinstall the default software sources. I'm just trying to remember it.
Anyways I can walk you through the reinstallation of the sources(it's happened to me before and I forced myself to work it out).
 
Old 03-15-2004, 06:36 PM   #3
gervin
Member
 
Registered: Dec 2003
Location: outback, australia
Posts: 40

Original Poster
Rep: Reputation: 15
thanks, that would be very helpful and appreciated.

jxl
 
Old 03-15-2004, 07:46 PM   #4
beejayzed
Member
 
Registered: Jan 2004
Location: Auckland, New Zealand
Distribution: Ubuntu
Posts: 686

Rep: Reputation: 30
Okay here we go.
1. Insert cd1 and go to software sources manager. From here we need to determine How many discs you have and the contents of each disk.
2. Click on add and then choose the removable device option. The path to the cd1 rpms
should be /mnt/cdrom/Mandrake/RPMS
3. For the path to hdlist enter ../base/hdlist1.cz
4. This is for the first cd, the rest of the cds are the same, you musn'y put the other cds in though for each entry, keep cd1 in.
hdlist1.cz is for the directory RPMS
hdlist2.cz is for the directory RPMS2
and so on.
Hope this will help you be victorious.
 
Old 03-15-2004, 08:00 PM   #5
gervin
Member
 
Registered: Dec 2003
Location: outback, australia
Posts: 40

Original Poster
Rep: Reputation: 15
great. thank you!

i also found out a few minutes ago that this works, too:

put in CD1

and key in:

urpmi.addmedia --distrib cdrom removable://mnt/cdrom

rhanks!

jxl
 
Old 03-16-2004, 05:50 AM   #6
beejayzed
Member
 
Registered: Jan 2004
Location: Auckland, New Zealand
Distribution: Ubuntu
Posts: 686

Rep: Reputation: 30
It gives me pleasure to help people
 
  


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
Reinstalling Mandrake Control Centre RPM Maurice Arthur Mandriva 4 04-14-2004 02:46 AM
difference between rpm and urpmi commnd? petkov Mandriva 1 03-17-2004 04:16 AM
I can't open .rpm files in Mandrake 8.2 ...also I have n o sound. (NEWBIE) jwieler85 Mandriva 4 10-25-2003 07:14 PM
Difference between src.rpm files and source.rpm files ja_nch Red Hat 2 09-06-2003 07:12 PM
wiped out lots of files :( skull_crusher Linux - Newbie 0 04-10-2003 05:10 AM


All times are GMT -5. The time now is 03:01 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