[Bug 1051773] New: zypper: failed to disable vendor stickiness
http://bugzilla.suse.com/show_bug.cgi?id=1051773 Bug ID: 1051773 Summary: zypper: failed to disable vendor stickiness Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: libzypp Assignee: zypp-maintainers@forge.provo.novell.com Reporter: zren@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- 1. system version # cat /etc/issue Welcome to openSUSE Tumbleweed 20170730 - Kernel 2. problem I want to install packages from another repo on OBS. This doc: https://en.opensuse.org/SDB:Vendor_change_update provides a solution that one can diable vendor stickiness completely by: === In /etc/zypp/zypp.conf set solver.allowVendorChange = true === But, after this change, I still cannot update those packages: ==== # zypper lr -u Repository priorities are without effect. All enabled repositories share the same priority. # | Alias | Name | Enabled | GPG Check | Refresh | URI --+---------------------+-----------------------------+---------+-----------+---------+------------------------------------------------------------------------------------------------ 1 | Unstable-Repo | Unstable-Repo | Yes | (r ) Yes | No | http://download.opensuse.org/repositories/network:/ha-clustering:/Unstable/o... ... # zypper up -r 1 Loading repository data... Reading installed packages... The following 12 package updates will NOT be installed: csync2 ha-cluster-bootstrap libdevmapper-event1_03 libdevmapper1_03-32bit liblvm2app2_2-debuginfo liblvm2cmd2_02-debuginfo libpacemaker3 libqb0 lvm2-debuginfo lvm2-debugsource pacemaker pacemaker-cli === Am I missing something? Thanks. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1051773 http://bugzilla.suse.com/show_bug.cgi?id=1051773#c1 --- Comment #1 from zhen ren <zren@suse.com> --- This solution also cannot work: # zypper if lvm2 Loading repository data... Reading installed packages... Information for package lvm2: ----------------------------- Repository : Unstable-Repo Name : lvm2 Version : 2.02.173-283.1 Arch : x86_64 Vendor : obs://build.opensuse.org/network New file /etc/zypp/repos.d/obs-network: ==== [main] vendors = obs://build.opensuse.org/network ==== -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1051773 http://bugzilla.suse.com/show_bug.cgi?id=1051773#c2 --- Comment #2 from zhen ren <zren@suse.com> --- The following command line works: # zypper dup --from 1 --allow-vendor-change --allow-downgrade Loading repository data... Reading installed packages... Computing distribution upgrade... The following 56 NEW packages are going to be installed: ruby2.4-rubygem-actionmailer-4_2 ruby2.4-rubygem-actionpack-4_2 ruby2.4-rubygem-actionview-4_2 ruby2.4-rubygem-activejob-4_2 ruby2.4-rubygem-activemodel-4_2 ruby2.4-rubygem-activerecord-4_2 ruby2.4-rubygem-activesupport-4_2 ruby2.4-rubygem-arel-6 ruby2.4-rubygem-axiom-types ruby2.4-rubygem-builder ruby2.4-rubygem-bundler ruby2.4-rubygem-coercible ruby2.4-rubygem-concurrent-ruby ruby2.4-rubygem-descendants_tracker ruby2.4-rubygem-equalizer ruby2.4-rubygem-erubis ruby2.4-rubygem-gettext ruby2.4-rubygem-gettext_i18n_rails ruby2.4-rubygem-gettext_i18n_rails_js ruby2.4-rubygem-globalid ruby2.4-rubygem-haml ruby2.4-rubygem-haml-rails ruby2.4-rubygem-html2haml ruby2.4-rubygem-i18n ruby2.4-rubygem-ice_nine ruby2.4-rubygem-js-routes ruby2.4-rubygem-kramdown ruby2.4-rubygem-locale ruby2.4-rubygem-loofah ruby2.4-rubygem-mail ruby2.4-rubygem-mime-types ruby2.4-rubygem-mime-types-data ruby2.4-rubygem-mini_portile2 ruby2.4-rubygem-nokogiri ruby2.4-rubygem-po_to_json ruby2.4-rubygem-puma ruby2.4-rubygem-rack-1_6 ruby2.4-rubygem-rack-test-0_6 ruby2.4-rubygem-rails-4_2 ruby2.4-rubygem-rails-deprecated_sanitizer ruby2.4-rubygem-rails-dom-testing-1_0 ruby2.4-rubygem-rails-html-sanitizer ruby2.4-rubygem-railties-4_2 ruby2.4-rubygem-ruby_parser ruby2.4-rubygem-sass ruby2.4-rubygem-sass-rails ruby2.4-rubygem-sexp_processor ruby2.4-rubygem-sprockets ruby2.4-rubygem-sprockets-rails ruby2.4-rubygem-temple ruby2.4-rubygem-text ruby2.4-rubygem-thor ruby2.4-rubygem-thread_safe ruby2.4-rubygem-tilt-1_4 ruby2.4-rubygem-tzinfo ruby2.4-rubygem-virtus The following 22 packages are going to be upgraded: csync2 device-mapper ha-cluster-bootstrap hawk2 libdevmapper-event1_03 libdevmapper1_03 libdevmapper1_03-32bit liblvm2app2_2 liblvm2app2_2-debuginfo liblvm2cmd2_02 liblvm2cmd2_02-debuginfo libpacemaker3 libqb0 lvm2 lvm2-clvm lvm2-cmirrord lvm2-debuginfo lvm2-debugsource lvm2-lockd lvm2-testsuite pacemaker pacemaker-cli The following 13 packages are going to be downgraded: cluster-glue corosync crmsh crmsh-scripts fence-agents libcorosync4 libdlm libdlm3 libglue2 ocfs2-tools python-parallax resource-agents sbd The following 26 packages are going to change vendor: cluster-glue openSUSE -> obs://build.opensuse.org/network corosync openSUSE -> obs://build.opensuse.org/network crmsh openSUSE -> obs://build.opensuse.org/network crmsh-scripts openSUSE -> obs://build.opensuse.org/network csync2 openSUSE -> obs://build.opensuse.org/network fence-agents openSUSE -> obs://build.opensuse.org/network ha-cluster-bootstrap openSUSE -> obs://build.opensuse.org/network hawk2 openSUSE -> obs://build.opensuse.org/network libcorosync4 openSUSE -> obs://build.opensuse.org/network libdevmapper-event1_03 openSUSE -> obs://build.opensuse.org/network libdevmapper1_03-32bit openSUSE -> obs://build.opensuse.org/network libdlm openSUSE -> obs://build.opensuse.org/network libdlm3 openSUSE -> obs://build.opensuse.org/network libglue2 openSUSE -> obs://build.opensuse.org/network liblvm2app2_2-debuginfo openSUSE -> obs://build.opensuse.org/network liblvm2cmd2_02-debuginfo openSUSE -> obs://build.opensuse.org/network libpacemaker3 openSUSE -> obs://build.opensuse.org/network libqb0 openSUSE -> obs://build.opensuse.org/network lvm2-debuginfo openSUSE -> obs://build.opensuse.org/network lvm2-debugsource openSUSE -> obs://build.opensuse.org/network ocfs2-tools openSUSE -> obs://build.opensuse.org/network pacemaker openSUSE -> obs://build.opensuse.org/network pacemaker-cli openSUSE -> obs://build.opensuse.org/network python-parallax openSUSE -> obs://build.opensuse.org/network resource-agents openSUSE -> obs://build.opensuse.org/network sbd openSUSE -> obs://build.opensuse.org/network -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1051773 http://bugzilla.suse.com/show_bug.cgi?id=1051773#c3 Michael Andres <ma@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |INVALID --- Comment #3 from Michael Andres <ma@suse.com> --- (In reply to zhen ren from comment #2)
The following 13 packages are going to be downgraded: cluster-glue corosync crmsh crmsh-scripts fence-agents libcorosync4 libdlm libdlm3 libglue2 ocfs2-tools python-parallax resource-agents sbd
Even if you `allowVendorChange`, 'zypper update (up)' will not downgrade packages. Some of your new packages stay uninstallable, because they require the downgrade of already installed packages they depend on. 'dup --from [--allow-vendor-change]' is what you should use to switch to a package set provided by some foreign repo. IMO it behaves as it should. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1051773 http://bugzilla.suse.com/show_bug.cgi?id=1051773#c4 zhen ren <zren@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|INVALID |FIXED --- Comment #4 from zhen ren <zren@suse.com> --- (In reply to Michael Andres from comment #3)
(In reply to zhen ren from comment #2)
The following 13 packages are going to be downgraded: cluster-glue corosync crmsh crmsh-scripts fence-agents libcorosync4 libdlm libdlm3 libglue2 ocfs2-tools python-parallax resource-agents sbd
Even if you `allowVendorChange`, 'zypper update (up)' will not downgrade packages. Some of your new packages stay uninstallable, because they require the downgrade of already installed packages they depend on.
'dup --from [--allow-vendor-change]' is what you should use to switch to a package set provided by some foreign repo.
IMO it behaves as it should.
Oh I see, thanks very much! -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com