MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
trying to install a driver, I lost my urpmi database (it's too long to explain, but this things happen when you're a newbie and act as root).
I'd like to restore my previous situation. I'm not talking about extra repositories (I can find them on easyurpmi, no problem). I'm talking about my 6 cd's set of PowerPack 10.1. I got no idea how to indicate to my system where it should look for them. And...my support credits at Mandriva are expired
Yeah, I need to do the same thing. I used easyurpmi to add external repositories, but before I did that I typed the command urpmi.removemedia -a becasue the easyurpmi suggrested that I should do that first.
So now, the list of sources under RPM does not show the powerpack CDs anymore. I looked at that RPMDRAKE HOWTO but I did not find how to add the CDs back into the list. Any ideas?
Open up a console, enter "su" then root's password.
Now you enter "urpmi.addmedia [NAME] [PATH] with [RELATIVE PATH TO HDLIST]". Where [NAME] is the name you want the source to have, [PATH] is the path to the directory containing the RPM's in one of the following ways:
file://[path]
removable://[path]
and [RELATIVE PATH TO HDLIST] is the relative path to the hdlist file for the source, which, for a Mandrakelinux CD, will be in ../base/hdlist.cz for normal source and ../base/hdlist2.cz for the contrib source. The hdlist files are not usually stored in the same directories as the RPMs they are for.
I'm just trying to learn HOW to do stuff- Am guessing as to WHY I shouldn't do this...
I thought I was the only idiot that did that. I deleted the default file per easyurpmi instructions also.
It's been a while but I think the urpmi.addmedia as linked by reddazz is what I used to restore my DVD as an install source.
I put CD#1 in, opened Add A Medium, gave it a name, (CDROM1), typed /mnt/cdrom/media/main in the path/mount point, checked relative path to synthesis/hdlist and typed /media_info/synthesis.hdlist.cz.
However, it was unable to open it and it failed. Any suggestions? Thanx again!
OK I typed urpmi.addmedia --distrib removable://mnt/cdrom and it added a list of powerpack cds, but they are #s 11,21,31,32,33,34,35,41,51,61,71,and 72.
I really don't know if it will do it any different but you can always save a backup copy and see what happens. That may just be the way it is.
You could always try adding a program and see if it works okay. If it works, it works...
i'm too tired to mess with it anymore tonight- I realize that it's probably irrelevant to add in the default cds in the repositories, but I was just trying to figure out how to put them back for knowledge's sake. If/when I do get it back the way it was, I'll post it here- I really should be doing some schoolwork anywayz...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.