[Bug 1183611] New: Unchecking YaST during OS installation installs YaST anyways
https://bugzilla.suse.com/show_bug.cgi?id=1183611 Bug ID: 1183611 Summary: Unchecking YaST during OS installation installs YaST anyways Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: x86-64 OS: openSUSE Tumbleweed Status: NEW Severity: Minor Priority: P5 - None Component: Installation Assignee: yast2-maintainers@suse.de Reporter: alejandro_moraleslepe@posteo.net QA Contact: jsrain@suse.com Found By: --- Blocker: --- Created attachment 847298 --> https://bugzilla.suse.com/attachment.cgi?id=847298&action=edit Unchecked YaST from software list for installation During openSUSE Tumbleweed installation, I have unchecked YaST since didn't want it on the installed system. However, after installation finished, YaST was present in the system and I had to manually remove it using zypper on the command line. Unchecking other options do prevent them from being installed on the finished system, the installer should do the same for YaST. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1183611 https://bugzilla.suse.com/show_bug.cgi?id=1183611#c1 --- Comment #1 from Alejandro Morales Lepe <alejandro_moraleslepe@posteo.net> --- Created attachment 847299 --> https://bugzilla.suse.com/attachment.cgi?id=847299&action=edit YaST present on the installed system Screenshot of the freshly installed system -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1183611 https://bugzilla.suse.com/show_bug.cgi?id=1183611#c2 Ancor Gonzalez Sosa <ancor@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |alejandro_moraleslepe@poste | |o.net, ancor@suse.com Flags| |needinfo?(alejandro_morales | |lepe@posteo.net) --- Comment #2 from Ancor Gonzalez Sosa <ancor@suse.com> --- What I can see in the screenshot is that the YaST Patterns are not marked for installation. That doesn't prevent the installation of all packages included in the pattern. YaST may still be installed due to dependencies with other selected packages or patterns. Please, attach YaST logs to check whether we can see what dragged YaST in https://en.opensuse.org/openSUSE:Report_a_YaST_bug Please, also make sure you understand the concept of zypper patterns. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1183611 https://bugzilla.suse.com/show_bug.cgi?id=1183611#c3 --- Comment #3 from Stefan Hundhammer <shundhammer@suse.com> --- Additional note: If you really, really want to prevent getting any particular package installed, even indirectly by some other package's dependencies, set it to "taboo" (in zypper: set a lock). That might mean getting a lot of dependency problems that you may have to resolve manually; it might also mean getting a lot of other packages not installed (because they require the taboo package). In your example, set "yast2-core" to "taboo" in the detailed package selection. I am pretty sure that will work; but you will most likely get a lot less packages. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1183611 https://bugzilla.suse.com/show_bug.cgi?id=1183611#c4 --- Comment #4 from Stefan Hundhammer <shundhammer@suse.com> --- As for why you still got YaST packages installed in your scenario: Most (all?) of the desktops request one of the YaST control centers; your KDE Plasma desktop will request yast2-control-center-qt. The control center(s) will request at least a minimum amount of YaST packages. So, as mentioned above, set "yast2-core" to "taboo". -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1183611 https://bugzilla.suse.com/show_bug.cgi?id=1183611#c5 --- Comment #5 from Alejandro Morales Lepe <alejandro_moraleslepe@posteo.net> --- Created attachment 847440 --> https://bugzilla.suse.com/attachment.cgi?id=847440&action=edit y2logs created from a fresh install. I installed Tumbleweed and unchecked YaST2 during installation, this logs right after. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1183611 https://bugzilla.suse.com/show_bug.cgi?id=1183611#c6 --- Comment #6 from Alejandro Morales Lepe <alejandro_moraleslepe@posteo.net> --- (In reply to Ancor Gonzalez Sosa from comment #2)
What I can see in the screenshot is that the YaST Patterns are not marked for installation. That doesn't prevent the installation of all packages included in the pattern.
YaST may still be installed due to dependencies with other selected packages or patterns.
Please, attach YaST logs to check whether we can see what dragged YaST in https://en.opensuse.org/openSUSE:Report_a_YaST_bug
Please, also make sure you understand the concept of zypper patterns.
Thanks for your reply Ancor, I have attached the logs, extracted as described in the link you provided. I think I understand the point of patterns, however, I found awkward that unchecking Office or Multimedia indeed left out software related to those categorizations, while unchecking YaST2 pretty much left it intact, so it let me wondering if that was the expected behavior. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1183611 https://bugzilla.suse.com/show_bug.cgi?id=1183611#c7 --- Comment #7 from Alejandro Morales Lepe <alejandro_moraleslepe@posteo.net> --- (In reply to Stefan Hundhammer from comment #4)
As for why you still got YaST packages installed in your scenario:
Most (all?) of the desktops request one of the YaST control centers; your KDE Plasma desktop will request yast2-control-center-qt. The control center(s) will request at least a minimum amount of YaST packages.
So, as mentioned above, set "yast2-core" to "taboo".
Hi Stefan, Is YaST a dependency in that case? or is it safe to remove it or expect it not to be present in an openSUSE installation? I understand that YaST is a flagship tool of the distribution, so I was intrigued by the possibility to leave it out of a finished installation as it was hinted during the system installation. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1183611 https://bugzilla.suse.com/show_bug.cgi?id=1183611#c8 Ancor Gonzalez Sosa <ancor@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |stasiek@michalski.cc Resolution|--- |INVALID Flags|needinfo?(alejandro_morales | |lepe@posteo.net) | --- Comment #8 from Ancor Gonzalez Sosa <ancor@suse.com> --- As far as I can see in the logs, yast2-control-center-qt is installed as a dependency of the installation of the Plasma desktop. So the installer is actually honoring the package/patterns dependencies as expected. Although I agree is not obvious at first sight for someone not familiar with the concepts of patterns, taboos, etc. From that point of view, I'm closing the bug. (In reply to Alejandro Morales Lepe from comment #7)
Is YaST a dependency in that case? or is it safe to remove it or expect it not to be present in an openSUSE installation?
It's totally safe and fine to run an openSUSE system without YaST installed. That's what openSUSE MicroOS does, for example. I know LCP was reorganizing the YaST patterns to make them more granular. So I'm adding lcp to CC. In case he wants to add something, or to make some adaptations to the KDE patterns based on this bug report. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1183611 https://bugzilla.suse.com/show_bug.cgi?id=1183611#c9 --- Comment #9 from Alejandro Morales Lepe <alejandro_moraleslepe@posteo.net> --- (In reply to Ancor Gonzalez Sosa from comment #8)
As far as I can see in the logs, yast2-control-center-qt is installed as a dependency of the installation of the Plasma desktop.
So the installer is actually honoring the package/patterns dependencies as expected. Although I agree is not obvious at first sight for someone not familiar with the concepts of patterns, taboos, etc.
From that point of view, I'm closing the bug.
(In reply to Alejandro Morales Lepe from comment #7)
Is YaST a dependency in that case? or is it safe to remove it or expect it not to be present in an openSUSE installation?
It's totally safe and fine to run an openSUSE system without YaST installed. That's what openSUSE MicroOS does, for example.
I know LCP was reorganizing the YaST patterns to make them more granular. So I'm adding lcp to CC. In case he wants to add something, or to make some adaptations to the KDE patterns based on this bug report.
I have seen the same behavior on a GNOME and Xfce installation, so the dependency is present in some package in those patterns as well. I have done an installation and manually selected MATE as desktop, and it also brought in YaST2 even if I told it not to, I am attaching that log here. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1183611 https://bugzilla.suse.com/show_bug.cgi?id=1183611#c10 --- Comment #10 from Alejandro Morales Lepe <alejandro_moraleslepe@posteo.net> --- Created attachment 847475 --> https://bugzilla.suse.com/attachment.cgi?id=847475&action=edit MATE Desktop installation log Logs from a clean install with MATE Desktop and YaST2 unchecked during installation. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com