-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I don't have direct access to a mirror that syncs often, only to
ftp.sun.ac.za that syncs once a day to ftp.sunet.se, as a result the
mirror is usually out-of-sync except over the weekend.

I would find it useful if urpmi would not error when downloads fail, and
recompute dependencies, so that the maximum possible rpms that made it
can be upgraded, and delete those that can't.

At the moment, I have to do:

# rpm -f /var/cache/urpmi/rpms/*.rpm
# urpmi --auto-select --auto

FAIL=1
while [ $FAIL -ne 0 ];do
rpm -Uvh /var/cache/urpmi/rpms/*.rpm

See which dependencies failed, rm the rpms that depend on missing
dependencies. If I could do this programatically, I could write this as
a real script and run it from cron, but I think urpmi should do it (so
my existing cron job for urpmi would work all the time)?

done
rm -f /var/cache/urpmi/rpms/*.rpm

Regards,
Buchan

- --
|--------------Another happy Mandrake Club member--------------|
Buchan Milne                Mechanical Engineer, Network Manager
Cellphone * Work            +27 82 472 2231 * +27 21 8828820x121
Stellenbosch Automotive Engineering         http://www.cae.co.za
GPG Key                   http://ranger.dnsalias.com/bgmilne.asc
1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE+HA2grJK6UGDSBKcRAgdsAJ9HwC29LPAyOmkoK4/M1RUNZZhWZgCdEUiH
2cH1AMVPKOSyfKquHJ2LpSU=
=j/IY
-----END PGP SIGNATURE-----


Reply via email to