Following the announcement of the demise of YaST, I adapted my tumbleweed installation to the new setup by installing Myrlyn and Cockpit, and removing YaST:
sudo zypper rm -u yast*
However it’s already been a couple of times that when I zypper dup several yast packages get pulled in for installation.
Is this how it’s supposed to be? Or can I prevent this behaviour?
If a package is Recommended by some other package, this package can be locked to prevent its installation. If a package is Required by some other package, there is no way to prevent its installation (without also preventing installation of the other package).
Yes, I have 2 laptops, a recent one which should stay on Tumbleweed with KDE, and an older one that I use for torrenting with Tumbleweed and LXQt. The latter is the one I’d like to ‘downgrade’ to Leap as I don’t need the latest software.
qdirstat pkg:/yast2 shows 70 packages with 46.6 MiB total allocated on my Leap 15.6, plus 9 libyui* packages with 8.3 MiB; it’s not nothing, but inconsequential compared to the total 3555 packages with 13.3 GiB.
As people here and on Lemmy suggested, the solution is to add a lock to the YaST packages after removing all YaST-related packages:
sudo zypper rm -u *yast*
sudo zypper al *yast*
Im not trying to save a few MB of disk space; for me it’s mostly about having a minimal system that does everything I need without duplication. As YaST is essentially being soft-deprecated, I’d like to focus on the proposed alternatives and find them easily in my menu without the clutter of other programs I no longer use.