Bug 958650

Summary: Package yast2-control-center-qt should require libyui-qt-pkg7 and libyui-qt7
Product: [openSUSE] openSUSE Distribution Reporter: Vojtech Zeisek <Vojtech.Zeisek>
Component: YaST2Assignee: Ladislav Slezák <lslezak>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P3 - Medium CC: rens.groenewegen
Version: Leap 42.1   
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE 42.1   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Vojtech Zeisek 2015-12-10 15:14:52 UTC
yast2-control-center-qt recommends libyui-qt7, which is only soft dependency and not sufficient to have fully working YaST Qt GUI, libyui-qt-pkg7 is also required. One would expect installation of yast2-control-center-qt is enough to get fully working YaST Qt GUI, but if someone (for whatever reason) doesn't have automatic installation of recommended packages turned on, YaST Qt GUI wouldn't work. "Recommends" is only soft dependency and should be used only for packages sort of extending the original one (documentation, extra plugins, ...). In this case, dependency should be changed to "require" for libyui-qt-pkg7 and libyui-qt7 as YaST Qt GUI doesn't work without them.
Comment 1 Ladislav Slezák 2015-12-10 15:29:56 UTC
I guess the "soft" dependencies were added because in the past there was also a GTK UI.

But since we have dropped the GTK UI I think we could change the Recommends into Requires without any bad consequences.

(See https://github.com/yast/yast-control-center/blob/master/package/yast2-control-center.spec#L60)
Comment 2 Ladislav Slezák 2015-12-10 16:54:19 UTC
Proposed fix at https://github.com/yast/yast-control-center/pull/14
Comment 3 Ladislav Slezák 2015-12-10 17:30:45 UTC
Fixed in yast2-control-center-qt-3.1.6 (Tumbleweed and Factory)
Comment 4 Martin Vidner 2017-04-26 10:46:02 UTC
*** Bug 1036246 has been marked as a duplicate of this bug. ***