> Borsenkow Andrej <[EMAIL PROTECTED]> writes:
> 
> > Now, when urpmi is almost perfect, it is even more annoying.
> 
> What the problem it tries to access your hard disk all the time (I suppose
> this
> is a zip or jaz (since you mount it on /mnt/hd)).
> 

It is Jaz. It is defined as removable. It is /mnt/hd because I installed from it and 
did not change it since then.

> > {pts/1}% LANGUAGE=en ll /mnt/hd/cooker/i586/Mandrake
> > ls: cannot read symbolic link /mnt/hd/cooker/i586/Mandrake/RPMS.cooker:
> > Invalid
> > argument
> > ls: cannot read symbolic link /mnt/hd/cooker/i586/Mandrake/RPMS2:
> > Invalid argument
> > total 108
> > drwxr-xr-x    2 500      ntools       4096 ñÎ× 29 09:20 base/
> > drwxr-xr-x    5 500      ntools       4096 ñÎ× 28 23:19 mdkinst/
> > drwxr-xr-x    2 500      ntools      94208 ñÎ× 29 09:18 RPMS/
> > lrwxrwxrwx    1 500      ntools         22 ñÎ× 29 17:07 RPMS2
> > lrwxrwxrwx    1 500      ntools          4 óÅÎ  8 14:28 RPMS.cooker
> > drwxr-xr-x    3 500      ntools       4096 ñÎ× 18 14:06 share/
> 
> Or you have a problem on your drive ? Do you use supermount ?
> 

No I have no problem with it. I have problems with urpmi :-)

> François.
> 
> > If RPM is not there, it is not there.
> 
> Yes, but why do you have error using ls ?
> 

I already explained and reported it.

I mirror cooker on another system. I then transfer it to Jaz using

rsync -a --delete /path/to/mirror/cooker/i586/ /jaz/cooker/i586/
eject /jaz
mount /jaz
rsync -a --delete /path/to/mirror/contrib/RPMS/ /jaz/cooker/i586/Mandrake/RPMS2/

Now the first command also mirrors Mandrake/base/RPMS2 link that is O.K. on original 
system but points to non-existent directory on first media. That is why I get errors 
from ls.

Urpmi checks for correct media by looking at directory. It sees RPMS2 and assumes it 
is second CD. From now on it blindly tries to fetch non-existent RPM.

Francois, it is irrelevant why ls returns an error. There may be thousands reasons why 
your media gets corrupted. But uprmi must not loop indefinitely. If iy cannot find 
required RPM it must tell me so and either quit or go on. This is what happens if you 
have file:// media and does not work with removable:// media.

-andrej

Reply via email to