[Bug 701393] New: zypper returns success when an invalid transaction is computed
https://bugzilla.novell.com/show_bug.cgi?id=701393 https://bugzilla.novell.com/show_bug.cgi?id=701393#c0 Summary: zypper returns success when an invalid transaction is computed Classification: openSUSE Product: openSUSE 12.1 Version: Factory Platform: x86-64 OS/Version: SuSE Other Status: NEW Severity: Normal Priority: P5 - None Component: libzypp AssignedTo: zypp-maintainers@forge.provo.novell.com ReportedBy: lchiquitto@novell.com QAContact: qa@suse.de Found By: Community User Blocker: --- When a "zypper dup" computes an invalid transaction (at least AFAIU), it silently quits without printing any error message. Also, it returns a success error code: # zypper dup (...) 896 packages to upgrade, 16 to downgrade, 38 new, 22 to change vendor. Overall download size: 453.4 MiB. After the operation, 12.5 MiB will be freed. Continue? [y/n/?] (y): y Do you agree with the terms of the license? [yes/no] (no): yes # echo $? 0 Here's the verbose output: # zypper -v dup (...) 896 packages to upgrade, 16 to downgrade, 38 new, 22 to change vendor. Overall download size: 453.4 MiB. After the operation, 12.5 MiB will be freed. Continue? [y/n/?] (y): y Do you agree with the terms of the license? [yes/no] (no): yes committing committingCommitResult (total 951, done 0, error 0, skipped 951, updateMessages 0) Transaction: 1864 (INVALID) Checking for running processes using deleted libraries... # echo $? 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=701393 https://bugzilla.novell.com/show_bug.cgi?id=701393#c1 Michael Andres <ma@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE --- Comment #1 from Michael Andres <ma@novell.com> 2011-07-04 10:55:41 CEST --- Workaround: Try `zypper dup --download as-needed` Fix: up date to libzypp-libzypp-9.8.1 (or even newer version) *** This bug has been marked as a duplicate of bug 699435 *** http://bugzilla.novell.com/show_bug.cgi?id=699435 -- 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.
participants (1)
-
bugzilla_noreply@novell.com