https://qa.mandrakesoft.com/show_bug.cgi?id=1174





------- Additional Comments From [EMAIL PROTECTED]  2003-02-03 18:34 -------
I'm not sure that gets the result that I was looking for ...

until urpmi.update -a && urpmi --auto-select --auto; do sleep 60; done
examining synthesis file [/var/lib/urpmi/synthesis.hdlist.Installation CD 1
(x86) (cdrom1).cz]
examining synthesis file [/var/lib/urpmi/synthesis.hdlist.Installation CD 2
(x86) (cdrom2).cz]
retrieving description file of "update"...
retrieving source hdlist (or synthesis) of "update"...
   
ftp://anonymous:[EMAIL PROTECTED]/pub/linux/Mandrake/Mandrake-devel/cooker/i586/Mandrake/base/hdlist.cz
...retrieving failed: curl failed: exited with 10 or signal 0

retrieve of source hdlist (or synthesis) failed
no hdlist file found for medium "update"
examining synthesis file [/var/lib/urpmi/synthesis.hdlist.main.cz]
everything already installed
==============

I attempted to simplify it down to this.....(just to see if I could do 1 command
in this manner)

until urpmi.update -a; do sleep 60; done
examining synthesis file [/var/lib/urpmi/synthesis.hdlist.Installation CD 1
(x86) (cdrom1).cz]
examining synthesis file [/var/lib/urpmi/synthesis.hdlist.Installation CD 2
(x86) (cdrom2).cz]
retrieving description file of "update"...
retrieving source hdlist (or synthesis) of "update"...
   
ftp://anonymous:[EMAIL PROTECTED]/pub/linux/Mandrake/Mandrake-devel/cooker/i586/Mandrake/base/hdlist.cz
...retrieving failed: curl failed: exited with 10 or signal 0

retrieve of source hdlist (or synthesis) failed
no hdlist file found for medium "update"
examining synthesis file [/var/lib/urpmi/synthesis.hdlist.main.cz]

Of course I'm showing the failure - there were a few successes.  Around the same
time an ftp login to the same host gave an "invalid password" error (as opposed
to what I would expect as the overload message...)



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



------- Reminder: -------
assigned_to: [EMAIL PROTECTED]
description: 
I've searched several places and not found this functionality in urpmi (or
urpmi.update)  It would be VERY nice to have an option to ask urpmi (or
urpmi.update) to retry x number of times (perhaps with a 0 being infinite?)  to
update the urpmi hdlists or download packages.  Instead what happens now is....
With urpmi.update if urpmi fails on the first try (it seems) it will give a
message that it failed to update the media...
with urpmi it suggests updating the urpmi database if it fails to connect to the
online sources.

This would be a VERY nice enhancement for including urpmi in any sort of script
(as well as just day to day use).

Reply via email to