[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 <jkupec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |jnelson-suse@jamponi.net --- Comment #1 from Ján Kupec <jkupec@novell.com> 2010-05-13 06:52:29 UTC --- Then there must be dependency problem, or repo priority problem. Please check with 'zypper in packagename'. If that was not an issue, attach solver testcase. -- 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#c2 Jon Nelson <jnelson-suse@jamponi.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|jnelson-suse@jamponi.net | --- Comment #2 from Jon Nelson <jnelson-suse@jamponi.net> 2010-05-13 11:57:14 UTC --- I have another machine that is showing a similar problem. Both started doing this after the most recent zypper + friends updates. This one is a bit strange, as it is showing i586 packages. I don't /have/ those i586 packages even installed, so why are they listed as upgrades? Now worklaptop:~ # zypper lu -a Loading repository data... Reading installed packages... S | Repository | Name | Current Version | Available Version | Arch --+----------------------+-----------------------------------+--------------------+----------------------+------- v | openSUSE Tools | build | 2010.03.10-11.1 | 2010.05.04-22.1 | noarch v | Packman Repository | cairo | 1.8.8-2.1 | 1.8.8-30.pm.30.1 | x86_64 v | Packman Repository | dargui | 0.5.1-0.pm.1.1 | 0.5.1-0.pm.1.10 | i586 v | openSUSE-11.2-Update | evolution-data-server | 2.28.2-0.2.13 | 2.28.2-0.3.1 | i586 v | Packman Repository | gstreamer-0_10-plugins-good | 0.10.15-3.3.1 | 0.10.22-999.pm.999.1 | x86_64 v | Packman Repository | gstreamer-0_10-plugins-good-extra | 0.10.15-3.3.1 | 0.10.22-999.pm.999.1 | x86_64 v | Packman Repository | gstreamer-0_10-plugins-good-lang | 0.10.15-3.3.1 | 0.10.22-999.pm.999.1 | noarch v | Packman Repository | kgit | 0.1-0.pm.1.1 | 0.1-0.pm.3.8 | i586 v | Packman Repository | libdjconsole0 | 0.1.3-0.pm.1.1 | 0.1.3-0.pm.3.1 | i586 v | Packman Repository | libgii1 | 1.0.2-1.pm.1.1 | 1.0.2-1.pm.3.1 | i586 v | Packman Repository | libgmyth0 | 0.7.1-0.pm.1.1 | 0.7.1-0.pm.2.1 | i586 v | Packman Repository | libgpod-tools | 0.7.2-100.pm.100.1 | 0.7.2-100.pm.102.2 | i586 v | Packman Repository | libgpod4 | 0.7.2-100.pm.100.1 | 0.7.2-100.pm.102.2 | i586 v | Packman Repository | libtheora0 | 1.0.0-2.6.1 | 1.1.0-0.pm.1.1 | x86_64 v | Packman Repository | wxWidgets | 2.8.10.1-2.pm.3.1 | 2.8.10.1-2.pm.13.1 | i586 v | Packman Repository | wxWidgets-gl | 2.8.10.1-2.pm.3.1 | 2.8.10.1-2.pm.13.1 | i586 worklaptop:~ # Back to the initial machine: turnip:~ # zypper lu -a Retrieving repository 'Packman Repository' metadata [done] Building repository 'Packman Repository' cache [done] 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 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. Resolving package dependencies... Nothing to do. turnip:~ # zypper install libdirac_encoder0-1.0.2-3.1.x86_64 Loading repository data... Reading installed packages... Resolving package dependencies... The following package is going to be upgraded: libdirac_encoder0 The following package is going to change vendor: libdirac_encoder0 http://packman.links2linux.de -> openSUSE 1 package to upgrade, 1 to change vendor. Overall download size: 216.0 KiB. After the operation, additional 16.0 KiB will be used. Continue? [y/n/?] (y): y Retrieving package libdirac_encoder0-1.0.2-3.1.x86_64 (1/1), 216.0 KiB (608.0 KiB unpacked) Retrieving: libdirac_encoder0-1.0.2-3.1.x86_64.rpm [done] Installing: libdirac_encoder0-1.0.2-3.1 [done] There are some running programs that use files deleted by recent upgrade. You may wish to restart some of them. Run 'zypper ps' to list these programs. turnip:~ # It seems to me that the solver.allowVendorChange part isn't working quite right. -- 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#c3 Michael Andres <ma@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO CC| |ma@novell.com InfoProvider| |jnelson-suse@jamponi.net --- Comment #3 from Michael Andres <ma@novell.com> 2010-05-18 14:38:19 CEST --- @Jon: Zypper log file and solver testcase would be helpful. @Jano: Despite the missing logs: in SolverRequester::updateTo, testing: if (!identical(selected, highest) && highest->edition() > installed->edition()) ... // update candidate has different vendor if (highest->vendor() != installed->vendor()) { 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. -- 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#c4 --- Comment #4 from Ján Kupec <jkupec@novell.com> 2010-05-18 13:35:36 UTC --- (In reply to comment #3)
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 <ma@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P2 - High -- 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#c5 Jon Nelson <jnelson-suse@jamponi.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|jnelson-suse@jamponi.net | --- Comment #5 from Jon Nelson <jnelson-suse@jamponi.net> 2010-06-11 18:29:41 UTC --- Is there an ETA for this? It kinda impacts a lot of people. -- 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#c6 --- Comment #6 from Jon Nelson <jnelson-suse@jamponi.net> 2010-08-09 14:54:58 UTC --- Has this been released? It's listed still as NEW? I don't encounter the same problems on openSUSE 11.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#c Michael Andres <ma@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |jkupec@novell.com -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=605380 https://bugzilla.novell.com/show_bug.cgi?id=605380#c7 Ján Kupec <jkupec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|jkupec@novell.com | AssignedTo|zypp-maintainers@forge.prov |jkupec@novell.com |o.novell.com | --- Comment #7 from Ján Kupec <jkupec@novell.com> 2010-08-24 12:47:00 UTC --- Glad to hear that :O) That means you don't see the original problem anymore. But if it happens again, please attach the solver test case/zypper log. As for c#4, this is not done yet. It's something different than what you reported, but i'll keep this report open 'till it's done. -- 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#c8 Ján Kupec <jkupec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #8 from Ján Kupec <jkupec@novell.com> 2010-10-11 11:50:53 UTC --- (In reply to comment #3)
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 <jkupec@novell.com> 2010-10-11 12:21:49 UTC --- (In reply to comment #2)
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