Anonymous Anonymous

Mandrake: adding RPM repositories from your local disk

Tuesday, 15 de November del 2005
filed under ,

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.

Was this post interesting?

Related posts

Comentarios

Frienda Frienda
Each time you add a RPM package inside the folder is needed to re-run the "genhdlist" command

Leave your comment

Leave your comment
You need javascript to be activated on irder to leave comments

Login in OboLog, or create free blog if you don't have one yet.

Then we'll remember your data and show your avatar in your comments.

Sponsors

Comments

Nautilus subversion integration tool. Execute SVN commands with Gnome scripts (guillem)
Just el que estava buscant, vaig a provar-ho. :)...(12 May)
Are you addicted to all things Apple? (charlie)
sadly? i am also addicted to that dam apple brand, i currently own a from the bottom up... a 1st, 2n...(06 May)
De conferencias con una Psion 5mx (Paul Erice)
Hablando de 5mx, tengo una Ericsson 5mx (que es basicamente una Psion 5, y nunca he conseguido conec...(23 Apr)
Cómo reiniciar o resetear un ipod colgado (Carlos)
Muchas gracias. Funciona!!...(21 Apr)
Recovering space on an iphone or ipod touch (ka)
How to Login???...(08 Apr)

Login