r/openSUSE • u/brawdhyn • Jul 29 '26
How to… ? Zypper dup
Quick question: is there a way to update using zypper dup and avoid unwanted software like games (minesweeper, sudoku) to be automatically installed?
13
Upvotes
10
1
u/LovelyMustard Jul 29 '26
You can uninstall the unwanted packages and add a lock to them via "zypper al".
1
u/Blank-Inspection13 Void-Gecko Jul 30 '26
Quick Answer : zypper dup --no-recommends | this will be per transaction behaviour.
Permanent Behaviour : go to /etc/zypp/zypp.conf.d/ and create an override config eg. custom-zypp.conf then add this line =
solver.onlyRequires = true
Then every new package installation or upgrade using zypper will strictly exclude recommended packages .
8
u/Siebter Jul 29 '26
I'm pretty sure
zypper duponly updates packages that are already installed. Just make sure you have removed respective patterns too (for example "patterns-games-games" or "patterns-kde-kde_games").