[Bug 652272] New: zypper info always shows @System despite -r
https://bugzilla.novell.com/show_bug.cgi?id=652272 https://bugzilla.novell.com/show_bug.cgi?id=652272#c0 Summary: zypper info always shows @System despite -r Classification: openSUSE Product: openSUSE 11.4 Version: Factory Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: libzypp AssignedTo: zypp-maintainers@forge.provo.novell.com ReportedBy: lnussel@novell.com QAContact: qa@suse.de Found By: --- Blocker: --- zypper info -r foo bar always shows the installed bar instead of bar from repo foo. zypper-1.5.1-2.1.i586 libzypp-8.7.0-1.1.i586 satsolver-tools-0.16.0-1.3.i586 -- 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=652272 https://bugzilla.novell.com/show_bug.cgi?id=652272#c1 Ján Kupec <jkupec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium Status|NEW |RESOLVED Resolution| |DUPLICATE --- Comment #1 from Ján Kupec <jkupec@novell.com> 2010-11-09 09:06:42 UTC --- It actually shows the best available version, which is the installed one in your case probably. -r only causes zypper to only load metadata from the specified repo (thus forgetting versions from the other repos). So this command would do what you expect only if the version in the repo is better than the installed (potential update candidate). Yes, the info command needs reworking. *** This bug has been marked as a duplicate of bug 357264 *** http://bugzilla.novell.com/show_bug.cgi?id=357264 -- 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=652272 https://bugzilla.novell.com/show_bug.cgi?id=652272#c2 --- Comment #2 from Ludwig Nussel <lnussel@novell.com> 2010-12-01 10:23:26 CET --- I just learned that the install command supports the syntax repo:package which does what I expected from the -r option. So maybe a) info should also support that magic syntax b) make -r also act as default value for the repo of the specified arguments (e.g by introducing a default_repo string in PackageArgs::Options which could be used in PackageArgs::argsToCaps). -- 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=652272 https://bugzilla.novell.com/show_bug.cgi?id=652272#c3 --- Comment #3 from Michael Schröder <mls@novell.com> 2010-12-01 10:14:09 UTC --- (You want '--from', not '-r'.) The bug is that 'zypper info' does not support --from. All subcommands that select packages should support it. -- 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=652272 https://bugzilla.novell.com/show_bug.cgi?id=652272#c4 --- Comment #4 from Ján Kupec <jkupec@novell.com> 2010-12-01 12:19:49 UTC --- Right, that's the plan. -- 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