Upgrading always reinstalls my uninstalled software

Hi!

I have uninstalled a bunch of packages that came with Tumbleweed. Two examples are:
MozillaFirefox and MozillaFirefox-branding-openSUSE.

Every time the system goes through an upgrade using sudo zypper dup Tumbleweed attempts to reinstall the packages I’ve uninstalled. The message looks like this:
The following 143 NEW packages are going to be installed:

Among them are them are MozillaFirefox and MozillaFirefox-branding-openSUSE and other packages I’ve uninstalled.

It’s very frustrating user choice isn’t respected. Is there a way around this behavior?

Maybe add a lock to the packages:
zypper al xxxxxx

Have you installed any pattern?

Switch off “recommendeds”?

Probably this one in /etc/zypp/zypper.conf

##
## Whether only required packages are installed.
##
## Recommended packages, will not be regarded.
##
## Valid values: boolean
## Default value: false
##
# solver.onlyRequires = false
2 Likes

Thanks. I searched for “recommended” in that file and only got this:

[solver]

## Install soft dependencies (recommended packages)
##
## CAUTION: The system wide default for all libzypp based applications (zypper,
## yast, pk,..) is defined in  /etc/zypp/zypp.conf(solver.onlyRequires)  and it
## will per default install recommended packages. It is NOT RECOMMENDED to define
## this value here for zypper exclusively, unless you are very certain that you
## want zypper to behave different than other libzypp based packagemanagement software
## on your system.
##
## Valid values: boolean
## Default value: follow zypp.conf(solver.onlyRequires)
##
# installRecommends = yes

Sorry, I looked in/etc/zypp/zypp.conf .
But maybe it is better to try here.
I do not know, but it could be that zypp.conf is for all applications using the library (also YaST) and zypper.conf is only for zypper.
Just test it. Change it to

installRecommends = no

and try what a zypper dup wants to do.

Thanks!

Changing it to:

in zypper.conf fixed it.

You are welcome. Enjoy openSUSE.

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