Hi Peter,
Michael Hirmke wrote:
Hi *,
I have two machines running Leap 42.3. Both used to provide a graphical login for quite a long time, but they were turned into pure server machines, that don't need graphics any longer.
What is the easiest way to get rid of all programs and libs belonging to kde, gnome, lxde, ...? I tried to uninstall the according patterns, but the list of packages to be uninstalled contains programs and libs that are vital for the system, too.
Hm, difficult indeed. I assume the issue is that a lot of things in a pattern are pulled via recommendations. They might still be needed/recommended from other packages/patterns.
How did you try to uninstall? If I try a 'zypper rm -t pattern kde' it doesn't claim to remove any package...
I used yast2 sw_single. But: zypper se -t pattern kde S | Name | Summary | Type --+----------------------+----------------------------+-------- | devel_kde | KDE Development | pattern | devel_kde_frameworks | KDE Frameworks Development | pattern | kde | KDE Desktop Environment | pattern | kde_plasma | KDE Plasma 5 Desktop | pattern So no pattern is installed according to zypper. Trying to install it: zypper in -t pattern kde Problem: pattern:kde-20170518-6.1.x86_64 requires patterns-openSUSE-kde, but this requirement cannot be provided uninstallable providers: patterns-openSUSE-kde-20170518-6.1.x86_64[Haupt_Repository_OSS__Leap_42_3] Solution 1: deinstallation of suse-build-key-12.0-13.1.noarch Solution 2: do not install pattern:kde-20170518-6.1.x86_64 Solution 3: break pattern:kde-20170518-6.1.x86_64 by ignoring some of its dependencies Trying to remove it: zypper rm -t pattern kde 'kde' not found in package names. Trying capabilities. No provider of 'kde' found. Resolving package dependencies...
One idea would be to remove the pattern, and then check with 'zypper packages --unneeded' - maybe that gives a more reasonable list? But I'm just guessing.
Doesn't work - at least on my machines or with my knowledge ;) Thx anyway. Bye. Michael. -- Michael Hirmke -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org