you need to find out where on the cd the rpms are, and where the hdlist.cz file resides, typically
Typically the rpms are in a RPMS/ directory on the cd, and the hdlist.cz is in the base/ directory, with base and RPMS both being subdirectories on the same level. That being the case the magic is: urpmi.addmedia extracd removeable://mnt/cdrom/mandrake/updates/10.0/RPMS with ../base/hdlist.cz where extracd is an arbitrary name, /mnt/cdrom is where you mount your cd's, updates/10.0 is the directory on the cd which has RPMS/ and base/ as its subdirectories. the bit after "with" is RELATIVE to where the rpms are, ie in this base up one dir (../) and then inside the base/ dir if you need to make your own hdlist.cz (because the rpms on your cd are your personal selection, not a straight copy of some mirror which houses a matching hdlist.cz) then you can create one with the genhdlist command. It has no manpage, but prints a nice --help entry. On Mon, 19 Jul 2004 23:06:53 +1200 dave <[EMAIL PROTECTED]> wrote: > hello all, > > want to setup a removable media entry so i can install / update packages. > > have tried a number of things to get things working but believe i�i�ve got a > basic flaw in my understanding. > > why do i want to do this ??? > > well i can use an ftp program like lftp and over a period of time download a > large rpm stick it to cd and then via then install gui any dependencies > _should_ be resolved (don�t laugh Chris) and well i suppose it�s my way of > trying to remove some of this rpm hell. > > any ideas actual code would be appreciated. > > > ps > i�ve been through about 10 different google pages over @ 3 hours so nobody but > nobody tell me to RFTM because it�s a bit too confusing and i was wanting > some leads as to howto do this if it is at all possible. > > -- > Dave Lilley -- Nick Rout <[EMAIL PROTECTED]>
