Recently I performed update of my opensuse leap from 15.1 to 15.2 -> https://en.opensuse.org/SDB:System_upgrade#Command_line_2 and to my big surprise I ended up with full disk because some new software was installed, software I’ve never used, never needed etc. Gnome, libreoffice etc. Is there a way to update from one version to another without installing all this “bloatware” next time? What I would like to do is update only application and libraries that are actually present on my computer. I can understand that some dependency are necessary and lets say additional 200MB or so can be use but over 8GB?
All I did was:
sudo sed -i ‘s/15.1/${releasever}/g’ /etc/zypp/repos.d/*.repo
Perhaps you should add “–no-recommends” after the “zypper dup”. That additional software probably came from recommends.
I normally do a clean install for each release, so I didn’t run into quite the same thing. However, at one time I did a test upgrade from Leap 42.3 to Leap 15.0, and found that kwallet_pam had been installed, and for no reason that I can think of.
would have upgraded installed packages and their needed dependencies but not software that is simply “recommended” by a pattern.
Anyway, before committing to a “dup” the system presents you with the number of packages to upgrade, remove or install for the first time, so if you are unsatisfied don’t hit that “Y” key…
I’ll remember to add this –no-recommends. Btw someone should add this option to the above guideline because it isn’t cool when after a walk you come back home and have to restore your system for 2-3h because “something” ate over 8GB of you disk space.
It is a special case if you allocate only a small partition to root (ie system) You must always take special care if you are running on such a tight system. Always give your self elbow room.