http://bugzilla.novell.com/show_bug.cgi?id=492261
--- Comment #13 from Eberhard Kümmerle E.Kuemmerle@fz-juelich.de --- For those, who want an immediate solution and accept the risks described by Michael Andres:
I wrote the following script 'zypper-ignore-errors' that calls zypper in interactive mode and provides the needed answers automatically:
################## #!/usr/bin/perl
use Expect; # needs package 'perl-Expect' use strict;
my $exp = Expect->spawn('zypper', @ARGV); while ($exp->expect(36000, [ qr|Abort, retry, ignore? [a/r/i.*):|, sub {$exp->send("i\n");}], [ qr|Do you want to disable the repository .* permanently?|, sub {$exp->send("no\n");}], [ qr|? [.*):|, sub {$exp->send("\n");}] )) {} ##################
You can call it like that (important: WITHOUT --non-interactive): zypper-ignore-errors --quiet up -t patch --auto-agree-with-licenses
Best regards, Eberhard