I’m going to be spending more time looking at this over time…
https://news.opensuse.org/2018/05/15/transactional-updates-in-opensuse-leap-15/
Summary
This is a new server or Desktop choice during a new install,
Coming from the Kubic (Kubernetes on SUSE) project, “zypper up” and “zypper dup” are replaced with
transactional-update
and
transactional-update dup
So, why this new alternative to the long used zypper update and dist-upgrade commands?
It provides a significant amount of new safety and reliability, the important ability to roll back an entire day’s worth of new package installs if something breaks. Currently with zypper, to undo an update you’d have to pick out the individual packages to uninstall which is no easy thing to do… With this new command all your new packages are installed into a new snapshot image and then applied with a reboot. To roll back, you should only need to use snapper like any other btrfs rollback.
At the moment, I’m also wondering since the root file system is read-only,
Does this mean that your website deployed to this file system would be impervious to defacement, even if the website code was compromised?
So…
Although transactional-update is already configured to install and reboot about 5:30 am local time every day, if you wish to run the command manually, don’t forget to reboot immediately as well. If you instead run transactional-update without rebooting, you’ll be downloading and installing all over again and not complete the installation (until reboot).
Right now, this feature is available by default only on a text-only Server.
Note that installing a graphical Desktop is experimental. I just now tried to install the MinimalX system but it didn’t install completely so doesn’t run(The command I used is provided below)
Some examples…
Updating a system and automatically reboot immediately
transactional-update reboot
Install the mlocate package
transactional-update pkg install mlocate
Install the x11 (MinimalX) windows system(Note that the command completes without error but the result doesn’t work)
transactional-update pkg install -t pattern x11
TSU