Bug 938955 - Desktop selection overridden when installing without recommended packages.
Desktop selection overridden when installing without recommended packages.
Status: RESOLVED WONTFIX
Classification: openSUSE
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Installation
Current
Other Other
: P5 - None : Normal (vote)
: ---
Assigned To: YaST Team
Jiri Srain
https://trello.com/c/oXdxEKs8
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2015-07-21 16:20 UTC by Christopher Hofmann
Modified: 2022-08-23 09:52 UTC (History)
3 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christopher Hofmann 2015-07-21 16:20:32 UTC
Chosing not to install recommnded packages leads to a minimal installation even without xorg and desktop environment although a desktop environment has been selected before.

Either the patterns have to be fixed or the no-recommends option should only be allowed for the minimal pattern.
Comment 1 Martin Vidner 2015-07-22 09:02:29 UTC
> Either the patterns have to be fixed 
> or the no-recommends option should only be allowed for the minimal pattern.

I don't see how to allow the option only for the minimal pattern. Anyway, we should first find the way it gets broken. It may be easy or hard to fix the dependencies.
Comment 3 Martin Vidner 2015-08-06 14:56:05 UTC
I have made two installations of openSUSE-Tumbleweed-DVD-x86_64-Snapshot20150802-Media.iso, with default settings, one without the recommended packages.

(unfortunately a problem with bugzilla prevents me from attaching the logs; see
https://w3.suse.de/~mvidner/y2logs-kde.tgz
https://w3.suse.de/~mvidner/y2logs-kde-norec.tgz 1MB in total)

Indeed without the recommended packages no GUI comes up. I have been able to fix that by:
- changing the systemd default.target from multi-user.target to graphical.target
- zypper in --no-recommends sddm xinit xorg-x11-server xorg-x11-driver-input xdm
Comment 4 Christopher Hofmann 2015-08-12 16:32:21 UTC
I was able to change the patterns so that the missing packages mentioned above got installed.

systemd default.target is still not as it should be. Where is ist usually configured?
Comment 5 Josef Reidinger 2018-06-07 11:50:51 UTC
It is proposed at https://github.com/yast/yast-services-manager/blob/master/src/lib/services-manager/clients/default_target_proposal.rb#L235

I also do some fixes in this area when switching to role based desktop selection.

Christopher: can you please retest or if you do not have time, please close. Thanks
Comment 6 Christopher Hofmann 2018-06-11 16:43:58 UTC
I chose "Custom" system role and entered the package manager.
There I deselected "Install recommended packages" and then selected the "X Window System" pattern.

Still it did not install the right packages and hence it was not able to boot into graphical mode.
Comment 7 Stefan Hundhammer 2022-08-23 09:52:42 UTC
This is now 7 years old, and there was no activity during the past 4 years.

Also, as mvidner wrote, this is most likely not realistically achievable. Closing as WONTFIX.