Report inadequate content

Mandrake: adding RPM repositories from your local disk

{
}

Adding a local folder to the urpmi database is easily done using the urpmi.addmedia command. If this folder is filled with RPMs that you got from somewhere when you attempt to run urpmi.addmedia, an hdlist.cz file will be searched. If you don't have this file the addmedia will fail.

To solve this little problem, open a shell and generate the hdlist.cz:

# su

# cd /path/to/RPMs

# genhdlist

And then you can safelly add your media (let's call it localrpm)

urpmi.addmedia localrpm file://path/to/RPMs with hdlist.cz

If you'd like to create your own urpmi repository containing your freshly downloaded RPMs files do not forget to enter inside the RPMs folder and generate the hdlist.cz file by executing the command "genhdlist" before calling the "urpmi.addmedia" instruction.

{
}
{
}

Comments Mandrake: adding RPM repositories from your local disk

Each time you add a RPM package inside the folder is needed to re-run the "genhdlist" command
Frienda Frienda 15/11/2005 at 21:51

Leave your comment Mandrake: adding RPM repositories from your local disk

Log in to Obolog, or create your free blog if you are not registered yet.

User avatar Your name