this post was submitted on 04 May 2024
33 points (90.2% liked)

Linux

45479 readers
1304 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

I've been trying Tumbleweed for my gaming needs and so far it seems to be working relatively well. My issue is about removed packages. When I first installed TW, I removed quite a few packages I did not want (KSudoku, LibreOffice, and a few others). It has been a little since I've turned on my PC but yesterday I noticed that KSudoku, LibreOffice, and really all other apps I thought I had uninstalled (sudo zypper remove ) were back on my desktop. I thought "maybe I forgot to uninstalled them in the first place" so I went through and removed all the unwanted stuff again. Since it had been awhile I updated my OS right after uninstalling those packages. After the update (sudo zypper up), I rebooted and immediately noticed that all those packages I had just removed were back (AGAIN). So WTF... am I not removing those unwanted packages "properly"? Why do they keep coming back after updates? How can I prevent this?

top 19 comments
sorted by: hot top controversial new old
[–] [email protected] 12 points 1 month ago (2 children)

Open Yast and mark those packages as taboo. That way they'll never reinstalled again after an update. Use zypper dup for updating tumbleweed. The zypper up its for updating openSUSE leap.

[–] [email protected] 5 points 1 month ago

Thank for the dup vs up tip. I found it odd having to do both.

[–] [email protected] 2 points 1 month ago (2 children)

Took me a bit to see these patterns/packages (mainly because I've never used Yast). I can see these patterns and the software that they install, is it better to use Yast to remove the packages and the patterns and mark them as "Don't install that sh.t again" or through cli?

[–] [email protected] 3 points 1 month ago

Should not matter, whether you use zypper (CLI) or YaST. They use the same backend code (ZYpp).

[–] [email protected] 1 points 1 month ago

Yast2 Gui GTK just makes it easier because you can click on the games pattern to toggle delete, update, lock, etc

[–] [email protected] 7 points 1 month ago (1 children)

This is the most annoying thing about TW. You gotta do "zypper dup --no-recommends"

[–] [email protected] 3 points 1 month ago

Right... does it even make sense that installing all recommended packages is the default zypper behavior? Lyx for example will install a 2GB Tex distribution by default, which will conflict with any existing Tex install. Why on earth is that the default... If you are installing Lyx, you very likely at least understand that you need to choose a Tex distribution.

[–] [email protected] 6 points 1 month ago (1 children)

Always check the package list when updating. Tumbleweed for some reason occasionally wants to install Patterns even if they were not included to begin with. I've taken to updating with the command:

sudo zypper dup --no-recommends

to avoid installing packages/patterns I'm trying to avoid. You could probably also mask some packages so they are never installed, but I haven't looked in to that.

Hope that helps.

[–] [email protected] 2 points 1 month ago

You can also change this behavior in libzypp configuration file, if I recall well.

[–] [email protected] 4 points 1 month ago (1 children)

OpenSUSE use patterns. Groups of packages that can be selected during installation. If one of the included pattern packages is removed it will be "fixed" when updating. You can uninstall some patterns, but be careful as some may be more important than others, leaving you without a graphical interface or something like that. If you decide to do a reinstall, you can deselect a lot of patterns (search for "pattern" in the software selection section of the installer).

[–] [email protected] 1 points 1 month ago (2 children)

Okay so I ran sudo zypper search pattern* and found one called patterns-games-games and patterns-office-office. I assume these are the "patterns" responsible for installing stuff like Kmines, KSoduku, LibreOffice, etc which I don't want. I also assume I can run sudo zypper remove patterns-games-games to remove it all? Or do I need to remove the packages individually and then remove the pattern?

[–] [email protected] 3 points 1 month ago* (last edited 1 month ago)

If you taboo a pattern it and the packages it would install will never be installed automatically. I tend to taboo those games patterns.

[–] [email protected] 1 points 1 month ago

Removing a pattern doesn't unfortunately remove the packages it installs. Only the pattern "package" is removed.

[–] [email protected] 2 points 1 month ago* (last edited 1 month ago) (1 children)

Are you perhaps accidentally booting from a system snapshot?

[–] [email protected] 2 points 1 month ago (1 children)

Well when I boot after reboot, I see updated software packages and running uname-a shows the new kernel zipper said it was going to install. Based on that I assume that the answer would be no

[–] [email protected] 2 points 1 month ago

Check your install paths when you uninstall them. Do the files from the packages still exist?

[–] [email protected] 1 points 1 month ago (1 children)

I believe OpenSUSE uses something called "meta" packages that contain a bunch of other packages. For example if there's games-meta package it will fetch a bunch of games and during update it may try to install them again. Search through installed packages and see if you have any meta ones.

[–] [email protected] 1 points 1 month ago (1 children)

Did not find any meta packages installed

[–] [email protected] 4 points 1 month ago* (last edited 1 month ago)

They are the "patterns" others mentioned.