On Tue, 2004-07-20 at 20:42, dave wrote:
> On Tue, 20 Jul 2004 09:56, Nick Rout wrote:
> >
> > 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.
> >
> snipped
> 
> yes i suppose i should have thought about this and make myself more 
> understood.
> 
> My desire is if possible to download largish files from the net be they 
> security updates whatever and download them via ftp then i can start / stop
> the downloading until all the file is got. burn the rpm to a cd.
> 
> Then via rpmdrake (radio button show by repositories/Mdeia) enter the rpm 
> filename select the file based on the repository and install it.
> 
> Now if there are any dependancy issues the install will warn me, and download 
> them from the net.
> 
> Now i don�t know if this can be done or not but by seeing what was done with 
> the installers rescueCD made me think what i want to do is do-able.

I think I have given you the answer.

to reiterate, you need a hdlist.cz file for each repository. If you use
an online repository, eg mandrake or planetmirror or whatever, they will
have a hdlist.cz file. That file is an index of whats there including a
reference to dependencies. In other words if you have the hdlist.cz file
you know whats in the repository and what dependencies each file in the
repository has.

if you download a selection of rpms you will not have a hdlist.cz for
them, unless your downloads exactly replicate a mirror, in which case
ytou can download and use their hdlist.cz

Therefore if you want to download a whole lot of useful rpms  from
somewhere, do that and put them in a directory together, say ~dave/RPMS

Then enter that directory and run genhdlist. This will create a
hdlist.cz file and store it in the same directory.

Then run something like:

urpmi.addmedia davesrpms  file://home/dave/RPMS with hdlist.cz

then the packages will be available in urpmi, and will appear in the gui
tools. If there are dependencies that are unresolved by any of your
downloads, you wiull need to look at adding a network based repository
(ftp, http, rsync etc)

If you want to put them on a cd then you can do so, just put the RPMS
directory on the cd. say you just put that dir on the cd, so all the
rpms appear in the top level of the cd, ie no directories at all on the
cd, just the rpm files and the hdlist.cz file, you can add that to urpmi
and the gui tools with:

urpmi.addmedia davescdrpms removeable://mount/cdrom with hdlist.cz


or are you trying to do something more?

> 
> 
> any thoughts on the matter ??
>  >
> > > 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


Reply via email to