Bug 1088578

Summary: Switch system packages to the versions in this repository (packman) problem
Product: [openSUSE] openSUSE Distribution Reporter: Carlos Robinson <carlos.e.r>
Component: YaST2Assignee: YaST Team <yast-internal>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P2 - High CC: ancor, fkrueger, jreidinger, mischa.salle, suseforum
Version: Leap 15.0   
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://trello.com/c/wYghSebV
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Carlos Robinson 2018-04-08 19:15:02 UTC
I tried the "Switch system packages to the versions in this repository" procedure. Yast, software management, view by repository, select one repository (packman for the example), then click on "Switch system packages to the versions in this repository". I get a long list of conflicts:

#### YaST2 conflicts list - generated 2018-04-03 21:20:07 ####

problem with installed package gstreamer-plugins-bad-1.12.4-lp150.3.5.x86_64

    [ ] install gstreamer-plugins-bad-1.12.4-lp150.5.1.x86_64 (with vendor change)
  openSUSE  -->  http://packman.links2linux.de

    [ ] keep obsolete gstreamer-plugins-bad-1.12.4-lp150.3.5.x86_64



problem with installed package gstreamer-plugins-bad-lang-1.12.4-lp150.3.5.noarch

    [ ] install gstreamer-plugins-bad-lang-1.12.4-lp150.5.1.noarch (with vendor change)
  openSUSE  -->  http://packman.links2linux.de

    [ ] keep obsolete gstreamer-plugins-bad-lang-1.12.4-lp150.3.5.noarch



problem with installed package gstreamer-plugins-ugly-1.12.4-lp150.4.1.x86_64

    [ ] install gstreamer-plugins-ugly-1.12.4-lp150.5.1.x86_64 (with vendor change)
  openSUSE  -->  http://packman.links2linux.de

    [ ] keep obsolete gstreamer-plugins-ugly-1.12.4-lp150.4.1.x86_64


...

And many more. What is the "problem"? It does not say. Obviously there is going to be a vendor change, I explicitly asked for the change when I clicked on "switch".

I asked on the factory mail list, and we concluded that this is a bug. The initial response was to enable vendor change setting, but this applies to all repos, not only to the active or selected one. The consensus seems to be that when one clicks on the option to "Switch system packages to the versions in this repository", the administrator intent is to do the vendor switch for this repository, it is implicit, and yast should not report that problem but switch.
Comment 1 Gerry Makaro 2018-04-09 01:53:18 UTC
Yes, confirmed on my systems.

This is, IMHO, something that needs to be rectified ASAP, thank you.
Comment 2 Steffen Winterfeldt 2018-04-09 09:12:10 UTC
For reference: the mentioned discussion is here:

https://lists.opensuse.org/opensuse-factory/2018-04/msg00110.html

The mentioned change in libzypp behavior (default AllowVendorChange = false) was
a result of feature request fate#323478.

I'd say the yast package manager has to be adjusted.


Tracking in YaST scrum board.
Comment 3 Ancor Gonzalez Sosa 2019-12-19 15:23:37 UTC
Josef, isn't this fixed by these recent changes?

https://github.com/libyui/libyui-qt-pkg/pull/77
Comment 4 Josef Reidinger 2019-12-19 16:10:10 UTC
yes, fixed with that.