[opensuse-support] disable zypper snapshots?
I wonder if there is a simple option to have a 'zypper dup' *not* create snapshots before and after the update. The update I just did (20190607->20190617) again was close to a full reinstall (3.4GB download), and despite 15GB free at start it ran out of space during the %postinstall scripts. The last big one (compiler/libc change) I could only perform by starting it, and then, from a second terminal, immediately manually delete the pre snapshot... I was skimming through snapper and zypper configs, but didn't find a solution. Was I blind, or does it really not exist? (The question is general, but especially relevant for Tumbleweed systems) -- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org
20.06.2019 18:05, Peter Suetterlin пишет:
I wonder if there is a simple option to have a 'zypper dup' *not* create snapshots before and after the update.
The update I just did (20190607->20190617) again was close to a full reinstall (3.4GB download), and despite 15GB free at start it ran out of space during the %postinstall scripts.
The last big one (compiler/libc change) I could only perform by starting it, and then, from a second terminal, immediately manually delete the pre snapshot...
I was skimming through snapper and zypper configs, but didn't find a solution. Was I blind, or does it really not exist?
Edit /etc/snapper/zypp-plugin.conf before running zypper. Change back after zypper has finished. Look into this file for insights. It is pretty straightforward. -- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org
Andrei Borzenkov wrote:
Edit /etc/snapper/zypp-plugin.conf before running zypper. Change back after zypper has finished. Look into this file for insights. It is pretty straightforward.
Thanks! Doesn't sound comfortable though :( But I checked the package the file belongs to (snapper-zypp-plugin) and what other files it contains. Looking into the python code itself, it turns out that one should be able to define an environment variable DISABLE_SNAPPER_ZYPP_PLUGIN to prevent execution of the snapshot. Should really go into the manpage of snapper-zypp-plugin IMHO. I'll try that one next time ;^> -- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org
participants (2)
-
Andrei Borzenkov
-
Peter Suetterlin