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





------- Additional Comments From [EMAIL PROTECTED]  2003-02-01 00:24 -------
Here's an example of a failure:

urpmi postfix
To satisfy dependencies, the following packages are going to be installed (7 MB):
cyrus-sasl-2.1.10-2mdk.i586
libsasl2-2.1.10-2mdk.i586
pcre-3.9-5mdk.i586
postfix-2.0.1-2mdk.i586
Is this OK? (Y/n) Y
   
ftp://anonymous:[EMAIL PROTECTED]/pub/linux/Mandrake/Mandrake-devel/cooker/i586/Mandrake/RPMS/libsasl2-2.1.10-2mdk.i586.rpm
Installation failed, some files are missing:
    /var/cache/urpmi/rpms/libsasl2-2.1.10-2mdk.i586.rpm
    /var/cache/urpmi/rpms/postfix-2.0.1-2mdk.i586.rpm
    /var/cache/urpmi/rpms/cyrus-sasl-2.1.10-2mdk.i586.rpm
You may want to update your urpmi database

and a few minutes later (same packages.) success

urpmi postfix
To satisfy dependencies, the following packages are going to be installed (7 MB):
cyrus-sasl-2.1.10-2mdk.i586
libsasl2-2.1.10-2mdk.i586
pcre-3.9-5mdk.i586
postfix-2.0.1-2mdk.i586
Is this OK? (Y/n) Y
   
ftp://anonymous:[EMAIL PROTECTED]/pub/linux/Mandrake/Mandrake-devel/cooker/i586/Mandrake/RPMS/libsasl2-2.1.10-2mdk.i586.rpm
   
ftp://anonymous:[EMAIL PROTECTED]/pub/linux/Mandrake/Mandrake-devel/cooker/i586/Mandrake/RPMS/postfix-2.0.1-2mdk.i586.rpm
   
ftp://anonymous:[EMAIL PROTECTED]/pub/linux/Mandrake/Mandrake-devel/cooker/i586/Mandrake/RPMS/cyrus-sasl-2.1.10-2mdk.i586.rpm
installing /mnt/cdrom/Mandrake/RPMS2/pcre-3.9-5mdk.i586.rpm
/var/cache/urpmi/rpms/libsasl2-2.1.10-2mdk.i586.rpm
/var/cache/urpmi/rpms/postfix-2.0.1-2mdk.i586.rpm
/var/cache/urpmi/rpms/cyrus-sasl-2.1.10-2mdk.i586.rpm

Preparing...                ##################################################
   1:pcre                   ##################################################
   2:libsasl2               ##################################################
   3:cyrus-sasl             ##################################################
   4:postfix                ##################################################



------- 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