[Bug 605380] New: zypper lu --all lists upgrades, zypper up doesn't show them, solver.allowVendorChange = true
http://bugzilla.novell.com/show_bug.cgi?id=605380 http://bugzilla.novell.com/show_bug.cgi?id=605380#c0 Summary: zypper lu --all lists upgrades, zypper up doesn't show them, solver.allowVendorChange = true Classification: openSUSE Product: openSUSE 11.2 Version: Final Platform: x86-64 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: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100317 SUSE/3.5.9-0.1.1 Firefox/3.5.9 turnip:~ # grep -E '^solver.allowVendorChange' /etc/zypp/zypp.conf solver.allowVendorChange = true turnip:~ # zypper lu -a Loading repository data... Reading installed packages... S | Repository | Name | Current Version | Available Version | Arch --+--------------------+----------------------------------+-----------------+----------------------+------- v | Packman Repository | cairo | 1.8.8-2.1 | 1.8.8-30.pm.30.1 | x86_64 v | Packman Repository | gstreamer-0_10-plugins-base | 0.10.24-2.4 | 0.10.29-999.pm.999.1 | x86_64 v | Packman Repository | gstreamer-0_10-plugins-base-lang | 0.10.24-2.4 | 0.10.29-999.pm.999.1 | noarch v | Packman Repository | ktoblzcheck | 1.23-2.2 | 1.26-42.pm.42.1 | x86_64 v | openSUSE-11.2-Oss | libdirac_encoder0 | 1.0.2-0.pm.1.10 | 1.0.2-3.1 | x86_64 turnip:~ # zypper up Loading repository data... Reading installed packages... Nothing to do. turnip:~ # 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=605380
http://bugzilla.novell.com/show_bug.cgi?id=605380#c1
Ján Kupec
http://bugzilla.novell.com/show_bug.cgi?id=605380
http://bugzilla.novell.com/show_bug.cgi?id=605380#c2
Jon Nelson
http://bugzilla.novell.com/show_bug.cgi?id=605380
http://bugzilla.novell.com/show_bug.cgi?id=605380#c3
Michael Andres
http://bugzilla.novell.com/show_bug.cgi?id=605380
http://bugzilla.novell.com/show_bug.cgi?id=605380#c4
--- Comment #4 from Ján Kupec
a) Comparing vendor by '==/!=' is not appropriate, as the solver will refuse a vendor change only if (!VendorAttr::instance().equivalent(lhsVendor, rhsVendor)). E.g. "suse" and "SuSE" are '!=' but equivalent.
b) If the solver has allowVendorChange set, the warning about different vendor should probably be suppressed.
Exactly. I'll fix it, thanx. -- 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=605380
http://bugzilla.novell.com/show_bug.cgi?id=605380#c
Michael Andres
http://bugzilla.novell.com/show_bug.cgi?id=605380
http://bugzilla.novell.com/show_bug.cgi?id=605380#c5
Jon Nelson
http://bugzilla.novell.com/show_bug.cgi?id=605380
http://bugzilla.novell.com/show_bug.cgi?id=605380#c6
--- Comment #6 from Jon Nelson
http://bugzilla.novell.com/show_bug.cgi?id=605380
http://bugzilla.novell.com/show_bug.cgi?id=605380#c
Michael Andres
https://bugzilla.novell.com/show_bug.cgi?id=605380
https://bugzilla.novell.com/show_bug.cgi?id=605380#c7
Ján Kupec
https://bugzilla.novell.com/show_bug.cgi?id=605380
https://bugzilla.novell.com/show_bug.cgi?id=605380#c8
Ján Kupec
a) Comparing vendor by '==/!=' is not appropriate, as the solver will refuse a vendor change only if (!VendorAttr::instance().equivalent(lhsVendor, rhsVendor)). E.g. "suse" and "SuSE" are '!=' but equivalent.
Fixed in zypper 1.5.0
b) If the solver has allowVendorChange set, the warning about different vendor should probably be suppressed.
Second thought, maybe we should keep the warning. Although zypper will do what you want and change the vendor, it's probably good that it will not be quiet about 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=605380
https://bugzilla.novell.com/show_bug.cgi?id=605380#c9
--- Comment #9 from Ján Kupec
turnip:~ # zypper up libdirac_encoder0 Loading repository data... Reading installed packages... There is an update candidate for 'libdirac_encoder0', but it is from different vendor. Use 'zypper install libdirac_encoder0-1.0.2-3.1.x86_64' to install this candidate.
This of course should not be shown. Fixed too. -- 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