> 
> Today's sync off ftp.sunet.se happily removed everything in RPMS2 and
> replaced directory with link to ../contribs/RPMS2
> 
> Many many thanks.
> 

Calming down and thinking about it.

Assuming I have a cooker mirror. I usually made two disks, one of them
with RPMS + everything except RPMS2 another one with RPMS2 only.

When I add it to urpmi I define the second (contribs) source as
removable_...//.../RPMS2 with ../base/hdlist2.cz (and this is how
installer puts it). This works for as long as there is  a directory
RPMS2 on the first media. Well, you always can install, but you cannot
update because with RPMS2 relative path cannot be resolved.

But now I have RPMS2 -> ../../../contribs/... This does not exist (at
least on install media) and I cannot update installation source. Bingo!

So, the actual request is to support absolute URL for hdlists. In this
way you could define "contribs with
removable_cdrom_0://Mandrake/base/hdlist2.cz" and do not worry if RPMS2
or whatever exist on first CD. You could also put

ftp://.../Mandrake/RPMS with file://path/to/hdlist.cz

and update hdlist.cz with rsync which is more effective anyway.

I looked in the code and it is doable; it needs some abstraction layer
(with interface something like get_file(URL,local_copy)) but urpmi may
even benefit from this :-)

-andrej

Reply via email to