Why does Tumbleweed keeps on reinstalling YaST?

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?

Thanks!

The packages are pulled in because they are recommended by others.

1 Like

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).

1 Like

I guess you have multiple machines, cause your previous thread suggests moving to Leap :slight_smile:

1 Like

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.

1 Like

Please notice that you don’t need to remove all yast2-* packages to try Myrlyn or Cockpit; they can coexist with each other.

And wenn you do not use YaST, I would even not call that “coexist”, but “cosleep”. :wink:
It takes only a bit of disk space, why the trouble to remove?

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.

qdirstat/doc/Pkg-View.md at master · shundhammer/qdirstat · GitHub (SCNR)

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.

1 Like

In that case, also remove and lock libyui*.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.