-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Tuesday 2008-05-13 at 20:59 -0500, Hans Petter Jansson wrote:
On Wed, 2008-05-14 at 03:38 +0200, Carlos E. R. wrote:
You see. It has stopped only after 13 minutes run, I don't know why; maybe because my adsl went down from 03:19:48 to 03:20:20, and the FTP timed out. It doesn't retry automatically. You should think of adding an option for that, or to customize the answers.
Yeah, it probably needs an extra option for the abort-retry-ignore prompt. In the meantime, a workaround that might do what you want is something like:
while true; do while true; do echo a; done | \ zypper -n dup --auto-agree-with-licenses; sleep 30; done
That'll use the -n and --auto-agree-with-licenses to deal with most prompts, and supply an "abort" to any other prompt. If/when zypper exits, it'll wait 30 seconds and try again.
Insufficient, I need ignores, too. It aborts way too easily. With the option "-n" there are no questions asked, there is no chance to retry or ignore. It does what it has preprogrammed. It aborted again this night, after an hour and a half: Downloading package nscd-2.8-11.i586, 62.0 K (123.0 K unpacked) Downloading: nscd-2.8-11.i586.rpm [done (28.1 K/s)] Installing: nscd-2.8-11 [done] Installation of nscd-2.8-11 failed: (with --nodeps --force) Error: Subprocess failed. Error: RPM failed: insserv: Service boot.setclock has to be enabled for service nscd insserv: exiting now! error: %post(nscd-2.8-11.i586) scriptlet failed, exit status 1 Abort, retry, ignore? [A/r/i]: a Installing: nscd-2.8-11 [done] (with --nodeps --force) Error real 83m53.532s user 5m29.419s sys 1m53.069s There is no way round, I have to be there entering the appropriate letter to make it continue always. There are two possibilities: a customization of all possible responses, or to postpone every question on which "-n" would abort till the end, till every other package has been installed, and then wait for manual entry, at the end. That way we could get a chance to do unattended updates. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD4DBQFIKrS5tTMYHG2NR9URAmHLAJdqvZ+Qeq5mDO4RLUniUs3oNKsjAKCSO1Ll Q9v4WE19hLr5dnTozCvm0Q== =rTbI -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org