[Bug 492261] New: zypper should support --continue or something like it
http://bugzilla.novell.com/show_bug.cgi?id=492261 Summary: zypper should support --continue or something like it Classification: openSUSE Product: openSUSE 11.1 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: libzypp AssignedTo: zypp-maintainers@forge.provo.novell.com ReportedBy: jnelson-suse@jamponi.net QAContact: qa@suse.de Found By: --- User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.0.7) Gecko/2009022800 SUSE/3.0.7-1.1.6 Firefox/3.0.7 zypper supports -n (--non-interactive) more or less However, any minor download error aborts an entire operation unnecessarily. Not infrequently various mirrors may disconnect or fail to provide for many reasons a file when asked, and this is how zypper currently behaves: Retrieving package kdebase4-workspace-debuginfo-4.2.2-217.3.x86_64 (10/130), 36.8 M (160.1 M unpacked) Retrieving: kdebase4-workspace-debuginfo-4.2.2-217.3.x86_64.rpm [error] File './x86_64/kdebase4-workspace-debuginfo-4.2.2-217.3.x86_64.rpm' not found on medium 'http://opensuse.ca.unixheads.org/repositories/KDE:/KDE4:/Factory:/Desktop/op...' Abort, retry, ignore? [A/r/i]: a Failed to provide Package kdebase4-workspace-debuginfo-4.2.2-217.3. Do you want to retry retrieval? [KDE:KDE4:Factory:Desktop|http://opensuse.ca.unixheads.org/repositories/KDE:/KDE4:/Factory:/Desktop/op...] Can't provide file './x86_64/kdebase4-workspace-debuginfo-4.2.2-217.3.x86_64.rpm' from repository 'KDE:KDE4:Factory:Desktop' History: - File './x86_64/kdebase4-workspace-debuginfo-4.2.2-217.3.x86_64.rpm' not found on medium 'http://opensuse.ca.unixheads.org/repositories/KDE:/KDE4:/Factory:/Desktop/op...' - Can't provide ./x86_64/kdebase4-workspace-debuginfo-4.2.2-217.3.x86_64.rpm : Media Exception Abort, retry, ignore? [A/r/i]: a Problem occured during or after installation or removal of packages: Installation aborted by user Please see the above error message for a hint. It seems to me that --non-interactive should support a --continue mode where it ignores non-fatal errors and continues. Reproducible: Always Steps to Reproduce: 1. 2. 3. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=492261
User ma@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=492261#c1
Michael Andres
http://bugzilla.novell.com/show_bug.cgi?id=492261
User jkupec@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=492261#c2
--- Comment #2 from Ján Kupec
http://bugzilla.novell.com/show_bug.cgi?id=492261
http://bugzilla.novell.com/show_bug.cgi?id=492261#c3
Michael Andres
http://bugzilla.novell.com/show_bug.cgi?id=492261
http://bugzilla.novell.com/show_bug.cgi?id=492261#c4
Jon Nelson
http://bugzilla.novell.com/show_bug.cgi?id=492261
http://bugzilla.novell.com/show_bug.cgi?id=492261#c5
Michael Andres
http://bugzilla.novell.com/show_bug.cgi?id=492261
http://bugzilla.novell.com/show_bug.cgi?id=492261#c6
--- Comment #6 from Jon Nelson
https://bugzilla.novell.com/show_bug.cgi?id=492261
https://bugzilla.novell.com/show_bug.cgi?id=492261#c7
Ján Kupec
Unless in DownloadAsNeeded mode, libzypp will not install anything if not all required packages are actually present. So it should be safe if zypper (auto-)skips download errors in those modes.
But quit after downloading, if there were errors? Is this possible from out of zypp? Will it work with keeppackages=0? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=492261
https://bugzilla.novell.com/show_bug.cgi?id=492261#c8
Michael Andres
https://bugzilla.novell.com/show_bug.cgi?id=492261
https://bugzilla.novell.com/show_bug.cgi?id=492261#c9
--- Comment #9 from Jon Nelson
https://bugzilla.novell.com/show_bug.cgi?id=492261
https://bugzilla.novell.com/show_bug.cgi?id=492261#c10
Michael Andres
http://bugzilla.novell.com/show_bug.cgi?id=492261
Björn Voigt
http://bugzilla.novell.com/show_bug.cgi?id=492261
Eberhard Kümmerle
http://bugzilla.novell.com/show_bug.cgi?id=492261
Michael Andres
http://bugzilla.novell.com/show_bug.cgi?id=492261
--- Comment #13 from Eberhard Kümmerle
participants (1)
-
bugzilla_noreply@novell.com