Bugzilla – Bug 1222088
Packages install at some point after deselecting in installer
Last modified: 2024-05-09 04:09:51 UTC
While I was installing tumbleweed, I deselected libre office and games packages. They did not install. I installed Flatpak libreoffice. At some point, possibly upon updating running zypper dup, libreoffice and games have installed themselves. Now I have two libreoffice installs. This has happened on two of my devices. Iām not sure if other is the right category. Feel free to change. Thank you for everything you do to make this a great operating system, I love it!
May very well be that some other package required or recommended libreoffice, and that's how it got selected. Just deselecting a package does not prevent it's installation at a later time. For this, a lock must be applied. Locking an installed package prevents it's removal or update, locking a not installed package prevents it's installation. If you're using Flatpak libreoffice, you probably want to lock the libreoffice package. Try to remove the libreoffice packages again: > zypper rm --clean-deps libreoffice Then apply the lock: > zypper addlock libreoffice Check with: > zypper locks
I'm not sure if this is actually a bug, but thank you for reporting it in any case. Even if we're just double-checking things, that alone helps us make a better OS. We're also happy to hear you enjoy using Tumbleweed. We put a lot of effort into it. If a package X recommended LibreOffice, and you have it installed, LibreOffice could get pulled as a dependency and installed, even if it wasn't selected when you were installing Tumbleweed. The approach using Zypper locks works, and it's a solution I use myself to effectively blacklist things out of my own systems. I'll double-check every package that requires or recommends LibreOffice, to make sure that package list makes sense. We don't want LibreOffice to be installed due to any shallow reason. The user should either actually install it, or only get it as a dependency if that actually makes sense. For now, besides that, I don't think we have any actions here. Thank you.
Ok, I've review every single package that requires or recommends LibreOffice on openSUSE Tumbleweed. All of them make sense, the oddest one is trytond, an open source enterprise resource planning system. Basically, the behaviour reported here isn't really a bug. The installer allows users to choose which software will be present on their systems after the installation is finished. But of course that selection may change later, and how the user interacts with the package manager makes a huge difference. Again, thanks for reporting this, as, at the very least, it made me review all packages related to LibreOffice. Everyone, feel free to reopen this bug if you deem it useful.