Laurent GRAWET <[EMAIL PROTECTED]> writes:

> I have a problem with the urpmi --distrib option.
> I've made two CD's of contrib and plf with mkcd.
> On the first:
> ./Mandrake/
> ./Mandrake/plf/RPMS/
> ./Mandrake/RPMS
> ./Mandrake/base
> 
> On the second
> ./Mandrake/RPMS2/
> 
> All hdlist data is in Mandrake/base.
> Here is the content of my Mandrake/base/hdlists file :
> 
> hdlist1.cz Mandrake/plf/RPMS Contrib CD 1 (x86)
> hdlist2.cz Mandrake/RPMS Contrib CD 1 (x86)
> hdlist3.cz Mandrake/RPMS2 Contrib CD 2 (x86)
> 
> I use the following command to add the media to urpmi database:
> urpmi.addmedia --distrib contrib removable:///mnt/cdrom
> 
> The problem is that it can't add the first hdlist (hdlist1.cz for plf)
> because it is looking at ../hdlists1.cz for hdlist data. As the hdlist
> path is a relative path from the RPM path :
> 
> Mandrake/plf/RPMS
> So path for hdlist is ../../hdlists1.cz not ../hdlists1.cz (to reach
> Mandrake/base/hdlists1.cz) !
> 
> Is it urpmi bug or limitation ?

It is a bug, I checked the code, it will work only if there is one directoy
after Mandrake in case of the first CD, but on other CD, there is no limitation
problably.

Fran�ois.

Reply via email to