[Bug 1148622] New: Broken / incomplete dependencies for libyui9 -> libyui10 upgrade
http://bugzilla.suse.com/show_bug.cgi?id=1148622 Bug ID: 1148622 Summary: Broken / incomplete dependencies for libyui9 -> libyui10 upgrade Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: YaST2 Assignee: yast2-maintainers@suse.de Reporter: lslezak@suse.com QA Contact: jsrain@suse.com Found By: --- Blocker: --- Created attachment 816112 --> http://bugzilla.suse.com/attachment.cgi?id=816112&action=edit Upgrade from an older TW snapshot to the latest one This is related to https://bugzilla.suse.com/show_bug.cgi?id=1145963 where we avoided the problem by keeping the libyui at the version 9. But the problem exists in Tumbleweed and we will definitely have the same problem in SLE/Leap at some point in time. Actually we would like to have the version 10 in SLE15-SP2 but first we need to solve this dependency issue, otherwise it would break at upgrade which is not acceptable. The problem is that YaST and libyui have these dependencies ("->" means "requires", the name in parenthesis is the providing package): libyui10 -> yui_backend = 10 (libyui-ncurses10) yast2-ruby-bindings -> yast2-ycp-ui-bindings yast2-ycp-ui-bindings - libyui.so.10 (libyui10) yast2 -> yui_backend (libyui-ncurses9/10) yast2-packager -> libyui_pkg (libyui-ncurses-pkg9/10, libyui-qt-pkg9/10) But during the system upgrade only the yast2-ycp-ui-bindings, libyui10 and libyui-ncurses10 packages are installed/upgraded. See the attached screenshot. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1148622
http://bugzilla.suse.com/show_bug.cgi?id=1148622#c1
Ladislav Slezák
http://bugzilla.suse.com/show_bug.cgi?id=1148622
http://bugzilla.suse.com/show_bug.cgi?id=1148622#c2
Michael Schröder
http://bugzilla.suse.com/show_bug.cgi?id=1148622
David Diaz
http://bugzilla.suse.com/show_bug.cgi?id=1148622
http://bugzilla.suse.com/show_bug.cgi?id=1148622#c3
Adam Spiers
http://bugzilla.suse.com/show_bug.cgi?id=1148622
http://bugzilla.suse.com/show_bug.cgi?id=1148622#c4
Ladislav Slezák
Change the libyui-X-pkgY package so that it provides "libyui_pkg = Y" instead of just "libyui_pkg" and then add also add a
Conflicts: libyui_pkg < Y
to them so that the plugins stay in sync.
Um, the problem is that there is actually no real conflict. You can have installed both libyui*9 and libyui*10 in parallel, in theory there might other (non-YaST) 3rd party application linked against libyui9. In that case it's fine to have both of them in the system. We would rather need to fix the "yast2-packager -> libyui_pkg" dependency so it means something like "install libyui-*-pkg* in the same version as the yast2-ycp-ui-bindings is linked against". The problem is also that "install" dependency is a soft dependency (e.g. libyui-ncurses-pkg contains "Supplements: packageand(libyui-ncurses:yast2-packager)". And I'm not sure if adding "yast2-packager -> libyui_pkg = 10" dependency would upgrade both libyui-ncurses-pkg and libyui-qt-pkg if they are installed. Any hints? TIA! -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1148622
http://bugzilla.suse.com/show_bug.cgi?id=1148622#c5
--- Comment #5 from Lukas Ocilka
http://bugzilla.suse.com/show_bug.cgi?id=1148622
http://bugzilla.suse.com/show_bug.cgi?id=1148622#c6
--- Comment #6 from Ladislav Slezák
1. GUI
The fact, that libyui-qt is installed, is because some pattern wanted that.
BTW in GUI also the ncurses packages are installed. (Just to have a fallback when X does not start for whatever reason.)
This libyui-qt-9 MUST require libyui-9 New libyui-qt-10 MUST require libyui-10
That's OK, these dependencies are handled properly. We actually miss a dependency to enforce at upgrade the libyui-*-pkg in the version which is used by YaST (which is required by yast2-ycp-ui-bindings). Also the patterns usually use only the soft dependencies (Recommends/Suggests) so the solver is not required to select them. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1148622
http://bugzilla.suse.com/show_bug.cgi?id=1148622#c7
Ladislav Slezák
http://bugzilla.suse.com/show_bug.cgi?id=1148622
http://bugzilla.suse.com/show_bug.cgi?id=1148622#c8
Stefan Hundhammer
http://bugzilla.suse.com/show_bug.cgi?id=1148622
http://bugzilla.suse.com/show_bug.cgi?id=1148622#c9
--- Comment #9 from Ladislav Slezák
http://bugzilla.suse.com/show_bug.cgi?id=1148622
http://bugzilla.suse.com/show_bug.cgi?id=1148622#c10
--- Comment #10 from Ladislav Slezák
http://bugzilla.suse.com/show_bug.cgi?id=1148622
http://bugzilla.suse.com/show_bug.cgi?id=1148622#c11
Ladislav Slezák
http://bugzilla.suse.com/show_bug.cgi?id=1148622
http://bugzilla.suse.com/show_bug.cgi?id=1148622#c12
--- Comment #12 from Michael Schröder
http://bugzilla.suse.com/show_bug.cgi?id=1148622
http://bugzilla.suse.com/show_bug.cgi?id=1148622#c13
--- Comment #13 from Michael Schröder
http://bugzilla.suse.com/show_bug.cgi?id=1148622
http://bugzilla.suse.com/show_bug.cgi?id=1148622#c14
Ladislav Slezák
participants (1)
-
bugzilla_noreply@novell.com