Mailinglist Archive: opensuse-factory (845 mails)

< Previous Next >
Re: [opensuse-factory] UPdating factory [Was: libzypp.so.418()(64bit) missing.. ]
  • From: Hans Petter Jansson <hpj@xxxxxxxxxx>
  • Date: Tue, 13 May 2008 20:59:17 -0500
  • Message-id: <1210730357.5692.20.camel@xxxxxxxxxx>
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.

--
Hans Petter

---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-factory+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups