[Bug 619605] New: zpper behaves differently with the -n switch
http://bugzilla.novell.com/show_bug.cgi?id=619605 http://bugzilla.novell.com/show_bug.cgi?id=619605#c0 Summary: zpper behaves differently with the -n switch Classification: openSUSE Product: openSUSE 11.2 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: libzypp AssignedTo: zypp-maintainers@forge.provo.novell.com ReportedBy: chuller@novell.com QAContact: qa@suse.de Found By: Component Test Blocker: --- Description: When I try to downgrade a package, zypper behaves different when adding the -n switch for non interactive answering the questions with the default answer. E.g: without -n ----------------------snip------------------------ linux:/suse/chuller/Wip/studio/scripts/maintenance # /usr/bin/zypper in pigz \< 2.1.5-0.2.1.1 Loading repository data... Warning: Repository 'studio_update_test_repository' appears to outdated. Consider using a different mirror or server. Reading installed packages... Resolving package dependencies... The following package is going to be downgraded: pigz The following package is not supported by its vendor: pigz Overall download size: 28.0 K. No additional space will be used or freed after the operation. Continue? [YES/no]: ----------------------snip------------------------ with -n ----------------------snip------------------------ linux:/suse/chuller/Wip/studio/scripts/maintenance # /usr/bin/zypper -n in pigz \< 2.1.5-0.2.1.1 Loading repository data... Warning: Repository 'studio_update_test_repository' appears to outdated. Consider using a different mirror or server. Reading installed packages... Resolving package dependencies... Problem: cannot install both pigz-2.1.5-0.2.1.1.x86_64 and pigz-2.1.5-0.1.1.x86_64 Solution 1: downgrade of pigz-2.1.5-0.2.1.1.x86_64 to pigz-2.1.5-0.1.1.x86_64 Solution 2: do not ask to install a solvable providing pigz < 2.1.5-0.2.1.1 Choose from above solutions by number or cancel [1/2/C]: c ----------------------snip------------------------ It seems that non interactively downgrading a package to its previous version is not possible. -- 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=619605 http://bugzilla.novell.com/show_bug.cgi?id=619605#c1 Michael Andres <ma@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID --- Comment #1 from Michael Andres <ma@novell.com> 2010-07-05 12:34:38 CEST --- interactive/non-iteractive use different 'force' option per default: Manual page zypper(8): --force-resolution ... The default behavior is 'force' in the interactive mode and 'no-force' in the non-interactive mode. If this option is specified, it takes the preference. -- 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.
participants (1)
-
bugzilla_noreply@novell.com