Bugzilla – Bug 938955
Desktop selection overridden when installing without recommended packages.
Last modified: 2022-08-23 09:52:42 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.
> 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.
The bug is tracked in https://trello.com/c/L3fgn9sw/289-5-12-sp1-m-318099-install-the-system-without-recommended-packages.
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-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
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?
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
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.
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.