Always has transactional-update-in-progress=yes after executing transactional-update

I have no idea what’s wrong with my MicroOS installation, every time the transactional-update commands were executed, it always has transactional-update-in-progress=yes, executed both from the automatic update through transactional-update.timer or manually from the transactional-update dup command .

Here was the snapper list

~ # snapper list
  # | Type   | Date                            | User | Used Space | Description            | Userdata
----+--------+---------------------------------+------+------------+------------------------+-------------------------------------
 0  | single |                                 | root |            | current                |
59* | single | Mon 31 Jul 2023 03:18:45 PM WIB | root | 576.00 KiB | Snapshot Update of #57 |
60  | single | Mon 31 Jul 2023 03:24:51 PM WIB | root |   4.23 MiB | Snapshot Update of #59 | transactional-update-in-progress=yes
61  | single | Thu 03 Aug 2023 10:15:01 PM WIB | root |  55.60 MiB | Snapshot Update of #59 | transactional-update-in-progress=yes
62  | single | Mon 07 Aug 2023 04:04:37 PM WIB | root | 366.89 MiB | Snapshot Update of #59 | transactional-update-in-progress=yes

as seen, 59 is the current snapshot, 60 & 61 are snapshots from automatic update and 62 is from transactional-update dup that I called manually, all of them has transactional-update-in-progress=yes in userdata. When the system was rebooted, the next boot was still in 59 instead of the last snapshot 62, maybe because the flag transactional-update-in-progress=yes. When I want to change to the latest snapshot, I have to call the t-u rollback manually:

~ # transactional-update rollback 62
transactional-update 4.3.0 started
Options: rollback 62
Separate /var detected.
Rollback to snapshot 62...
Ambit is classic.
Creating read-only snapshot of current system. (Snapshot 63.)
Creating read-write snapshot of snapshot 62. (Snapshot 64.)
Setting default subvolume to snapshot 64.
Please reboot to finish rollback!
transactional-update finished

Eventually got stuck in the t-u update loop where it keeps giving transactional-update-in-progress=yes and I have to rollback to the latest snapshot continuously.

Previously, I entered the t-u shell to do some stuff like partitioning, configuring the system, installing the layered package, etc, did it make t-u messy?

Thanks for taking the time to read this.

You could start with showing the complete command and its full output (including the following shell prompt) that results in such “transactional update in progress” state.

Did you mean this command ?

~ # transactional-update
Checking for newer version.
transactional-update 4.3.0 started
Options:
Separate /var detected.
2023-08-08 14:24:00 tukit 4.3.0 started
2023-08-08 14:24:00 Options: -c64 open
2023-08-08 14:24:01 Using snapshot 64 as base for new snapshot 65.
2023-08-08 14:24:01 Syncing /etc of previous snapshot 59 as base into new snapshot "/.snapshots/65/snapshot"
2023-08-08 14:24:01 SELinux is enabled.
ID: 65
2023-08-08 14:24:08 Transaction completed.
Calling zypper up
2023-08-08 14:24:17 tukit 4.3.0 started

.... 
The following product is going to be upgraded:
openSUSE MicroOS
  20230805-0 -> 20230806-0
    Product 'openSUSE MicroOS' requires to be updated by calling 'zypper dup'!

8 packages to upgrade.
Overall download size: 17.7 MiB. Already cached: 0 B. After the operation, 4.0 KiB will be freed.
.... 

Checking for file conflicts: [...........done]
(1/8) Installing: MicroOS-release-dvd-20230806-2434.1.x86_64 [.....done]
(2/8) Installing: libpython3_11-1_0-3.11.4-2.1.x86_64 [......done]
(3/8) Installing: python311-base-3.11.4-2.1.x86_64 [...........................................done]
(4/8) Installing: libssh-config-0.10.5-2.1.x86_64 [.....done]
(5/8) Installing: libzypp-17.31.18-1.1.x86_64 [...........done]
(6/8) Installing: xen-libs-4.17.1_06-2.1.x86_64 [......done]
(7/8) Installing: MicroOS-release-20230806-2434.1.x86_64 [.......done]
(8/8) Installing: libssh4-0.10.5-2.1.x86_64 [......done]
Executing %posttrans script 'libzypp-17.31.18-1.1.x86_64.rpm' [...done]

2023-08-08 14:25:38 Application returned with exit status 0.
2023-08-08 14:25:39 Transaction completed.
error: file /etc/YaST2/control.xml: No such file or directory
warning: failed to load external entity "/.snapshots/65/snapshot/etc/YaST2/control.xml"
warning: failed to load external entity "/.snapshots/65/snapshot/etc/YaST2/control.xml"
/sbin/transactional-update: line 516: ROLES["$role"]: bad array subscript
transactional-update finished

Lucky us we got some update. I rebooted as usual and this is the snaper list

  # | Type   | Pre # | Date                            | User | Used Space | Cleanup | Description            | Userdata
----+--------+-------+---------------------------------+------+------------+---------+------------------------+-------------------------------------
 0  | single |       |                                 | root |            |         | current                |
59  | single |       | Mon 31 Jul 2023 03:18:45 PM WIB | root |  16.00 KiB | number  | Snapshot Update of #57 |
60  | single |       | Mon 31 Jul 2023 03:24:51 PM WIB | root |   4.23 MiB | number  | Snapshot Update of #59 | transactional-update-in-progress=yes
61  | single |       | Thu 03 Aug 2023 10:15:01 PM WIB | root |  55.60 MiB |         | Snapshot Update of #59 | transactional-update-in-progress=yes
62  | single |       | Mon 07 Aug 2023 04:04:37 PM WIB | root |  16.00 KiB |         | Snapshot Update of #59 | transactional-update-in-progress=yes
63  | single |       | Mon 07 Aug 2023 04:38:31 PM WIB | root |  16.00 KiB | number  | rollback backup of #59 | important=yes
64* | single |       | Mon 07 Aug 2023 04:38:32 PM WIB | root |  16.00 KiB |         | writable copy of #62   |
65  | single |       | Tue 08 Aug 2023 02:24:00 PM WIB | root |  65.73 MiB |         | Snapshot Update of #64 | transactional-update-in-progress=yes

Does this file exist?

I know this bug, another yast bug (MicroOS dosnt have yast), you may find this in bugzilla. I dont know why the team still keeps this bug.

@handevsar and your not adding the dup option?

1 Like

I did in snapshot 62 and didnt in the last one. they have the same result tho.

Well, you could check log if it provides more info (/var/log/transactional-update.log IIRC). Or you could run the transactional-update under bash -x to see exactly where it fails. You could also post both for others to look at.

~ # tail -n 500 /var/log/transactional-update.log
( 5/35) Installing: grub2-i386-pc-2.06-55.1.noarch [..........done]
( 6/35) Installing: libblkid1-2.39.1-2.1.x86_64 [......done]
( 7/35) Installing: libcontainers-default-policy-20230214-8.1.noarch [.....done]
( 8/35) Installing: libfreebl3-3.91-1.1.x86_64 [......done]
( 9/35) Installing: libgmp10-6.3.0-1.1.x86_64 [......done]
(10/35) Installing: libgpgme11-1.21.0-2.1.x86_64 [......done]
(11/35) Installing: libopenssl3-3.1.2-1.1.x86_64 [.......done]
(12/35) Installing: libsmartcols1-2.39.1-2.1.x86_64 [......done]
(13/35) Installing: libuuid1-2.39.1-2.1.x86_64 [......done]
....
....
(31/35) Installing: util-linux-2.39.1-2.1.x86_64 [..........done]
(32/35) Installing: dracut-059+suse.488.g81715832-1.1.x86_64 [...........done]
(33/35) Installing: kernel-default-6.4.8-1.1.x86_64 [.........................................................................................................
dracut[I]: Executing: /usr/bin/dracut -f /boot/initrd-6.4.8-1-default 6.4.8-1-default
dracut[I]: Module 'systemd-networkd' will not be installed, because command 'networkctl' could not be found!
dracut[I]: Module 'systemd-networkd' will not be installed, because command '/usr/lib/systemd/systemd-networkd' could not be found!
dracut[I]: Module 'systemd-networkd' will not be installed, because command '/usr/lib/systemd/systemd-networkd-wait-online' could not be found!
dracut[I]: Module 'systemd-pcrphase' will not be installed, because command '/usr/lib/systemd/systemd-pcrphase' could not be found!
dracut[I]: Module 'systemd-portabled' will not be installed, because command 'portablectl' could not be found!
dracut[I]: Module 'systemd-portabled' will not be installed, because command '/usr/lib/systemd/systemd-portabled' could not be found!
dracut[I]: Module 'systemd-repart' will not be installed, because command 'systemd-repart' could not be found!
dracut[I]: Module 'systemd-resolved' will not be installed, because command 'resolvectl' could not be found!
dracut[I]: Module 'systemd-resolved' will not be installed, because command '/usr/lib/systemd/systemd-resolved' could not be found!
dracut[I]: Module 'modsign' will not be installed, because command 'keyctl' could not be found!
dracut[I]: Module 'dbus-broker' will not be installed, because command 'dbus-broker' could not be found!
dracut[I]: Module 'rngd' will not be installed, because command 'rngd' could not be found!
dracut[I]: Module 'connman' will not be installed, because command 'connmand' could not be found!
dracut[I]: Module 'connman' will not be installed, because command 'connmanctl' could not be found!
dracut[I]: Module 'connman' will not be installed, because command 'connmand-wait-online' could not be found!
dracut[I]: Module 'dbus-broker' will not be installed, because command 'dbus-broker' could not be found!
dracut[I]: Module 'dbus-broker' will not be installed, because command 'dbus-broker' could not be found!
dracut[I]: Module 'connman' will not be installed, because command 'connmand' could not be found!
dracut[I]: Module 'connman' will not be installed, because command 'connmanctl' could not be found!
dracut[I]: Module 'connman' will not be installed, because command 'connmand-wait-online' could not be found!
dracut[I]: 35network-legacy: Could not find any command of 'dhclient wicked'!
dracut[I]: 62bluetooth: Could not find any command of '/usr/lib/bluetooth/bluetoothd /usr/libexec/bluetooth/bluetoothd'!
dracut[I]: Module 'lvmmerge' will not be installed, because command 'lvm' could not be found!
dracut[I]: Module 'lvmthinpool-monitor' will not be installed, because command 'lvm' could not be found!
dracut[I]: Module 'dmraid' will not be installed, because command 'dmraid' could not be found!
dracut[I]: Module 'dmsquash-live-ntfs' will not be installed, because command 'ntfs-3g' could not be found!
dracut[I]: Module 'lvm' will not be installed, because command 'lvm' could not be found!
dracut[I]: Module 'mdraid' will not be installed, because command 'mdadm' could not be found!
dracut[I]: Module 'pcsc' will not be installed, because command 'pcscd' could not be found!
dracut[I]: Module 'tpm2-tss' will not be installed, because command 'tpm2' could not be found!
dracut[I]: Module 'cifs' will not be installed, because command 'mount.cifs' could not be found!
dracut[I]: Module 'iscsi' will not be installed, because command 'iscsi-iname' could not be found!
dracut[I]: Module 'iscsi' will not be installed, because command 'iscsiadm' could not be found!
dracut[I]: Module 'iscsi' will not be installed, because command 'iscsid' could not be found!
dracut[I]: 95nfs: Could not find any command of 'rpcbind portmap'!
dracut[I]: Module 'nvmf' will not be installed, because command 'nvme' could not be found!
dracut[I]: Module 'nvmf' will not be installed, because command 'jq' could not be found!
dracut[I]: Module 'memstrack' will not be installed, because command 'memstrack' could not be found!
dracut[I]: memstrack is not available
dracut[I]: If you need to use rd.memdebug>=4, please install memstrack and procps-ng
dracut[I]: Module 'squash' will not be installed, because command 'mksquashfs' could not be found!
dracut[I]: Module 'squash' will not be installed, because command 'unsquashfs' could not be found!
dracut[I]: Module 'systemd-pcrphase' will not be installed, because command '/usr/lib/systemd/systemd-pcrphase' could not be found!
dracut[I]: Module 'systemd-portabled' will not be installed, because command 'portablectl' could not be found!
dracut[I]: Module 'systemd-portabled' will not be installed, because command '/usr/lib/systemd/systemd-portabled' could not be found!
dracut[I]: Module 'systemd-repart' will not be installed, because command 'systemd-repart' could not be found!
dracut[I]: Module 'systemd-resolved' will not be installed, because command 'resolvectl' could not be found!
dracut[I]: Module 'systemd-resolved' will not be installed, because command '/usr/lib/systemd/systemd-resolved' could not be found!
dracut[I]: Module 'modsign' will not be installed, because command 'keyctl' could not be found!
dracut[I]: Module 'dbus-broker' will not be installed, because command 'dbus-broker' could not be found!
dracut[I]: Module 'rngd' will not be installed, because command 'rngd' could not be found!
dracut[I]: Module 'connman' will not be installed, because command 'connmand' could not be found!
dracut[I]: Module 'connman' will not be installed, because command 'connmanctl' could not be found!
dracut[I]: Module 'connman' will not be installed, because command 'connmand-wait-online' could not be found!
dracut[I]: 35network-legacy: Could not find any command of 'dhclient wicked'!
dracut[I]: 62bluetooth: Could not find any command of '/usr/lib/bluetooth/bluetoothd /usr/libexec/bluetooth/bluetoothd'!
dracut[I]: Module 'lvmmerge' will not be installed, because command 'lvm' could not be found!
dracut[I]: Module 'lvmthinpool-monitor' will not be installed, because command 'lvm' could not be found!
dracut[I]: Module 'dmraid' will not be installed, because command 'dmraid' could not be found!
dracut[I]: Module 'dmsquash-live-ntfs' will not be installed, because command 'ntfs-3g' could not be found!
dracut[I]: Module 'lvm' will not be installed, because command 'lvm' could not be found!
dracut[I]: Module 'mdraid' will not be installed, because command 'mdadm' could not be found!
dracut[I]: Module 'pcsc' will not be installed, because command 'pcscd' could not be found!
dracut[I]: Module 'tpm2-tss' will not be installed, because command 'tpm2' could not be found!
dracut[I]: Module 'cifs' will not be installed, because command 'mount.cifs' could not be found!
dracut[I]: Module 'iscsi' will not be installed, because command 'iscsi-iname' could not be found!
dracut[I]: Module 'iscsi' will not be installed, because command 'iscsiadm' could not be found!
dracut[I]: Module 'iscsi' will not be installed, because command 'iscsid' could not be found!
dracut[I]: 95nfs: Could not find any command of 'rpcbind portmap'!
dracut[I]: Module 'nvmf' will not be installed, because command 'nvme' could not be found!
dracut[I]: Module 'nvmf' will not be installed, because command 'jq' could not be found!
dracut[I]: Module 'memstrack' will not be installed, because command 'memstrack' could not be found!
dracut[I]: memstrack is not available
dracut[I]: If you need to use rd.memdebug>=4, please install memstrack and procps-ng
dracut[I]: Module 'squash' will not be installed, because command 'mksquashfs' could not be found!
dracut[I]: Module 'squash' will not be installed, because command 'unsquashfs' could not be found!
dracut[I]: *** Including module: bash ***
dracut[I]: *** Including module: systemd ***
dracut[I]: *** Including module: systemd-initrd ***
dracut[I]: *** Including module: dbus-daemon ***
....
....
dracut[I]: *** Including module: suse ***
dracut[I]: *** Including module: suse-initrd ***
dracut[I]: *** Including modules done ***
dracut[I]: *** Installing kernel module dependencies ***
dracut[I]: *** Installing kernel module dependencies done ***
dracut[I]: *** Resolving executable dependencies ***
dracut[I]: *** Resolving executable dependencies done ***
dracut[I]: *** Hardlinking files ***
dracut[I]: *** Hardlinking files done ***
dracut[I]: *** Generating early-microcode cpio image ***
dracut[I]: *** Store current command line parameters ***
dracut[I]: Stored kernel commandline:
dracut[I]:  rd.driver.pre=btrfs
dracut[I]: rd.driver.pre=overlay
dracut[I]:  resume=UUID=664affd7-7a04-4158-b7a2-918b0cf34701
dracut[I]:  root=UUID=39ec29f5-3c27-4741-a186-4f69ca87a3eb rootfstype=btrfs rootflags=rw,relatime,seclabel,space_cache=v2,subvolid=335,subvol=/@/.snapshots/62/snapshot,subvol=@/.snapshots/62/snapshot
dracut[I]: *** Stripping files ***
dracut[I]: *** Stripping files done ***
dracut[I]: *** Creating image file '/boot/initrd-6.4.8-1-default' ***
dracut[I]: *** Creating initramfs image file '/boot/initrd-6.4.8-1-default' done ***
Option --add-kernel not available for grub2-efi.
CA enrolled. Skip /etc/uefi/certs/1F673297.crt
.....................
Option --remove-kernel not available for grub2-efi.
done]
(34/35) Installing: virtualbox-kmp-default-7.0.10_k6.4.8_1-1.3.x86_64 [......done]
(35/35) Installing: podman-4.6.0-2.1.x86_64 [.............done]
Executing %posttrans script 'combustion-1.1+git0-1.1.noarch.rpm' [..
dracut[I]: Executing: /usr/bin/dracut --kver=6.4.8-1-default -f
dracut[I]: Module 'systemd-networkd' will not be installed, because command 'networkctl' could not be found!
dracut[I]: Module 'systemd-networkd' will not be installed, because command '/usr/lib/systemd/systemd-networkd' could not be found!
dracut[I]: Module 'systemd-networkd' will not be installed, because command '/usr/lib/systemd/systemd-networkd-wait-online' could not be found!
dracut[I]: Module 'systemd-pcrphase' will not be installed, because command '/usr/lib/systemd/systemd-pcrphase' could not be found!
dracut[I]: Module 'systemd-portabled' will not be installed, because command 'portablectl' could not be found!
dracut[I]: Module 'systemd-portabled' will not be installed, because command '/usr/lib/systemd/systemd-portabled' could not be found!
dracut[I]: Module 'systemd-repart' will not be installed, because command 'systemd-repart' could not be found!
dracut[I]: Module 'systemd-resolved' will not be installed, because command 'resolvectl' could not be found!
dracut[I]: Module 'systemd-resolved' will not be installed, because command '/usr/lib/systemd/systemd-resolved' could not be found!
dracut[I]: Module 'modsign' will not be installed, because command 'keyctl' could not be found!
dracut[I]: Module 'dbus-broker' will not be installed, because command 'dbus-broker' could not be found!
dracut[I]: Module 'rngd' will not be installed, because command 'rngd' could not be found!
dracut[I]: Module 'connman' will not be installed, because command 'connmand' could not be found!
dracut[I]: Module 'connman' will not be installed, because command 'connmanctl' could not be found!
dracut[I]: Module 'connman' will not be installed, because command 'connmand-wait-online' could not be found!
dracut[I]: Module 'dbus-broker' will not be installed, because command 'dbus-broker' could not be found!
dracut[I]: Module 'dbus-broker' will not be installed, because command 'dbus-broker' could not be found!
dracut[I]: Module 'connman' will not be installed, because command 'connmand' could not be found!
dracut[I]: Module 'connman' will not be installed, because command 'connmanctl' could not be found!
dracut[I]: Module 'connman' will not be installed, because command 'connmand-wait-online' could not be found!
dracut[I]: 35network-legacy: Could not find any command of 'dhclient wicked'!
dracut[I]: 62bluetooth: Could not find any command of '/usr/lib/bluetooth/bluetoothd /usr/libexec/bluetooth/bluetoothd'!
dracut[I]: Module 'lvmmerge' will not be installed, because command 'lvm' could not be found!
dracut[I]: Module 'lvmthinpool-monitor' will not be installed, because command 'lvm' could not be found!
dracut[I]: Module 'dmraid' will not be installed, because command 'dmraid' could not be found!
dracut[I]: Module 'dmsquash-live-ntfs' will not be installed, because command 'ntfs-3g' could not be found!
dracut[I]: Module 'lvm' will not be installed, because command 'lvm' could not be found!
dracut[I]: Module 'mdraid' will not be installed, because command 'mdadm' could not be found!
dracut[I]: Module 'pcsc' will not be installed, because command 'pcscd' could not be found!
dracut[I]: Module 'tpm2-tss' will not be installed, because command 'tpm2' could not be found!
dracut[I]: Module 'cifs' will not be installed, because command 'mount.cifs' could not be found!
dracut[I]: Module 'iscsi' will not be installed, because command 'iscsi-iname' could not be found!
dracut[I]: Module 'iscsi' will not be installed, because command 'iscsiadm' could not be found!
dracut[I]: Module 'iscsi' will not be installed, because command 'iscsid' could not be found!
dracut[I]: 95nfs: Could not find any command of 'rpcbind portmap'!
dracut[I]: Module 'nvmf' will not be installed, because command 'nvme' could not be found!
dracut[I]: Module 'nvmf' will not be installed, because command 'jq' could not be found!
dracut[I]: Module 'memstrack' will not be installed, because command 'memstrack' could not be found!
dracut[I]: memstrack is not available
dracut[I]: If you need to use rd.memdebug>=4, please install memstrack and procps-ng
dracut[I]: Module 'squash' will not be installed, because command 'mksquashfs' could not be found!
dracut[I]: Module 'squash' will not be installed, because command 'unsquashfs' could not be found!
dracut[I]: Module 'systemd-pcrphase' will not be installed, because command '/usr/lib/systemd/systemd-pcrphase' could not be found!
dracut[I]: Module 'systemd-portabled' will not be installed, because command 'portablectl' could not be found!
dracut[I]: Module 'systemd-portabled' will not be installed, because command '/usr/lib/systemd/systemd-portabled' could not be found!
dracut[I]: Module 'systemd-repart' will not be installed, because command 'systemd-repart' could not be found!
dracut[I]: Module 'systemd-resolved' will not be installed, because command 'resolvectl' could not be found!
dracut[I]: Module 'systemd-resolved' will not be installed, because command '/usr/lib/systemd/systemd-resolved' could not be found!
dracut[I]: Module 'modsign' will not be installed, because command 'keyctl' could not be found!
dracut[I]: Module 'dbus-broker' will not be installed, because command 'dbus-broker' could not be found!
dracut[I]: Module 'rngd' will not be installed, because command 'rngd' could not be found!
dracut[I]: Module 'connman' will not be installed, because command 'connmand' could not be found!
dracut[I]: Module 'connman' will not be installed, because command 'connmanctl' could not be found!
dracut[I]: Module 'connman' will not be installed, because command 'connmand-wait-online' could not be found!
dracut[I]: 35network-legacy: Could not find any command of 'dhclient wicked'!
dracut[I]: 62bluetooth: Could not find any command of '/usr/lib/bluetooth/bluetoothd /usr/libexec/bluetooth/bluetoothd'!
dracut[I]: Module 'lvmmerge' will not be installed, because command 'lvm' could not be found!
dracut[I]: Module 'lvmthinpool-monitor' will not be installed, because command 'lvm' could not be found!
dracut[I]: Module 'dmraid' will not be installed, because command 'dmraid' could not be found!
dracut[I]: Module 'dmsquash-live-ntfs' will not be installed, because command 'ntfs-3g' could not be found!
dracut[I]: Module 'lvm' will not be installed, because command 'lvm' could not be found!
dracut[I]: Module 'mdraid' will not be installed, because command 'mdadm' could not be found!
dracut[I]: Module 'pcsc' will not be installed, because command 'pcscd' could not be found!
dracut[I]: Module 'tpm2-tss' will not be installed, because command 'tpm2' could not be found!
dracut[I]: Module 'cifs' will not be installed, because command 'mount.cifs' could not be found!
dracut[I]: Module 'iscsi' will not be installed, because command 'iscsi-iname' could not be found!
dracut[I]: Module 'iscsi' will not be installed, because command 'iscsiadm' could not be found!
dracut[I]: Module 'iscsi' will not be installed, because command 'iscsid' could not be found!
dracut[I]: 95nfs: Could not find any command of 'rpcbind portmap'!
dracut[I]: Module 'nvmf' will not be installed, because command 'nvme' could not be found!
dracut[I]: Module 'nvmf' will not be installed, because command 'jq' could not be found!
dracut[I]: Module 'memstrack' will not be installed, because command 'memstrack' could not be found!
dracut[I]: memstrack is not available
dracut[I]: If you need to use rd.memdebug>=4, please install memstrack and procps-ng
dracut[I]: Module 'squash' will not be installed, because command 'mksquashfs' could not be found!
dracut[I]: Module 'squash' will not be installed, because command 'unsquashfs' could not be found!
dracut[I]: *** Including module: bash ***
dracut[I]: *** Including module: systemd ***
.....
.....
dracut[I]: *** Including module: suse-initrd ***
dracut[I]: *** Including modules done ***
dracut[I]: *** Installing kernel module dependencies ***
dracut[I]: *** Installing kernel module dependencies done ***
dracut[I]: *** Resolving executable dependencies ***
dracut[I]: *** Resolving executable dependencies done ***
dracut[I]: *** Hardlinking files ***
dracut[I]: *** Hardlinking files done ***
dracut[I]: *** Generating early-microcode cpio image ***
dracut[I]: *** Store current command line parameters ***
dracut[I]: Stored kernel commandline:
dracut[I]:  rd.driver.pre=btrfs
dracut[I]: rd.driver.pre=overlay
dracut[I]:  resume=UUID=664affd7-7a04-4158-b7a2-918b0cf34701
dracut[I]:  root=UUID=39ec29f5-3c27-4741-a186-4f69ca87a3eb rootfstype=btrfs rootflags=rw,relatime,seclabel,space_cache=v2,subvolid=335,subvol=/@/.snapshots/62/snapshot,subvol=@/.snapshots/62/snapshot
dracut[I]: *** Stripping files ***
dracut[I]: *** Stripping files done ***
dracut[I]: *** Creating image file '/boot/initrd-6.4.8-1-default' ***
dracut[I]: *** Creating initramfs image file '/boot/initrd-6.4.8-1-default' done ***
......done]

Since the last system boot core libraries or services have been updated.
Reboot is suggested to ensure that your system benefits from these updates.
2023-08-07 16:21:40 Application returned with exit status 0.
2023-08-07 16:21:42 Transaction completed.
2023-08-07 16:21:43 tukit 4.3.0 started
2023-08-07 16:21:43 Options: call 62 zypper -n purge-kernels
2023-08-07 16:21:47 Executing `zypper -n purge-kernels`:
Reading installed packages...

Preparing to purge obsolete kernels...
Configuration: latest,latest-1,running
Running kernel release: 6.4.6-1-default
Running kernel arch: x86_64

Resolving package dependencies...
Nothing to do.
2023-08-07 16:21:48 Application returned with exit status 0.
2023-08-07 16:21:49 Transaction completed.
2023-08-07 16:21 File /etc/products.d/baseproduct not owned: check bsc#1170709
error: file /etc/YaST2/control.xml: No such file or directory
2023-08-07 16:21 File /etc/YaST2/control.xml not owned: check bsc#1170709
warning: failed to load external entity "/.snapshots/62/snapshot/etc/YaST2/control.xml"
warning: failed to load external entity "/.snapshots/62/snapshot/etc/YaST2/control.xml"
/usr/sbin/transactional-update: line 516: ROLES["$role"]: bad array subscript
2023-08-07 16:21 transactional-update finished
2023-08-07 16:37 transactional-update 4.3.0 started
2023-08-07 16:37 Options: status
2023-08-07 16:37 Separate /var detected.
2023-08-07 16:38 transactional-update 4.3.0 started
2023-08-07 16:38 Options: rollback 62
2023-08-07 16:38 Separate /var detected.
2023-08-07 16:38 Rollback to snapshot 62...
2023-08-07 16:38 Please reboot to finish rollback!
Please reboot to finish rollback!
2023-08-07 16:38 transactional-update finished
2023-08-07 16:49 transactional-update 4.3.0 started
2023-08-07 16:49 Options: status
2023-08-07 16:49 Separate /var detected.
2023-08-08 14:22 Checking for newer version.
2023-08-08 14:23 transactional-update 4.3.0 started
2023-08-08 14:23 Options:
2023-08-08 14:23 Separate /var detected.
2023-08-08 14:24:00 tukit 4.3.0 started
2023-08-08 14:24:00 Options: -c64 open
2023-08-08 14:24:01 Using snapshot 64 as base for new snapshot 65.
2023-08-08 14:24:01 Syncing /etc of previous snapshot 59 as base into new snapshot "/.snapshots/65/snapshot"
2023-08-08 14:24:01 SELinux is enabled.
ID: 65
2023-08-08 14:24:08 Transaction completed.
2023-08-08 14:24 2023-08-08 14:24:00 tukit 4.3.0 started
2023-08-08 14:24:00 Options: -c64 open
2023-08-08 14:24:01 Using snapshot 64 as base for new snapshot 65.
2023-08-08 14:24:01 Syncing /etc of previous snapshot 59 as base into new snapshot "/.snapshots/65/snapshot"
2023-08-08 14:24:01 SELinux is enabled.
ID: 65
2023-08-08 14:24:08 Transaction completed.
2023-08-08 14:24 Calling zypper up
2023-08-08 14:24:17 tukit 4.3.0 started
2023-08-08 14:24:17 Options: call 65 zypper up -y --auto-agree-with-product-licenses
2023-08-08 14:24:21 Executing `zypper up -y --auto-agree-with-product-licenses`:
Loading repository data...
Reading installed packages...

The following 8 packages are going to be upgraded:
  MicroOS-release MicroOS-release-dvd libpython3_11-1_0 libssh-config libssh4 libzypp python311-base xen-libs

The following product is going to be upgraded:
openSUSE MicroOS
  20230805-0 -> 20230806-0
    Product 'openSUSE MicroOS' requires to be updated by calling 'zypper dup'!

8 packages to upgrade.
Overall download size: 17.7 MiB. Already cached: 0 B. After the operation, 4.0 KiB will be freed.

    Consider to cancel:
    Product 'openSUSE MicroOS' requires to be updated by calling 'zypper dup'!
Continue? [y/n/v/...? shows all options] (y): y
Retrieving: MicroOS-release-dvd-20230806-2434.1.x86_64 (openSUSE-Tumbleweed-Oss) (1/8),   8.3 KiB
Retrieving: MicroOS-release-dvd-20230806-2434.1.x86_64.rpm [......done (5.1 KiB/s)]
Retrieving: libpython3_11-1_0-3.11.4-2.1.x86_64 (openSUSE-Tumbleweed-Oss) (2/8),   1.5 MiB
Retrieving: libpython3_11-1_0-3.11.4-2.1.x86_64.rpm [.............................................................done (239.7 KiB/s)]
Retrieving: python311-base-3.11.4-2.1.x86_64 (openSUSE-Tumbleweed-Oss) (3/8),  10.8 MiB
Retrieving: python311-base-3.11.4-2.1.x86_64.rpm [.............................................................................................................................done (824.0 KiB/s)]
Retrieving: libssh-config-0.10.5-2.1.x86_64 (openSUSE-Tumbleweed-Oss) (4/8),  11.8 KiB
Retrieving: libssh-config-0.10.5-2.1.x86_64.rpm [.done]
Retrieving: libzypp-17.31.18-1.1.x86_64 (openSUSE-Tumbleweed-Oss) (5/8),   3.0 MiB
Retrieving: libzypp-17.31.18-1.1.x86_64.rpm [................................................................done (453.9 KiB/s)]
Retrieving: xen-libs-4.17.1_06-2.1.x86_64 (openSUSE-Tumbleweed-Oss) (6/8), 663.7 KiB
Retrieving: xen-libs-4.17.1_06-2.1.x86_64.rpm [.................done (495.7 KiB/s)]
Retrieving: MicroOS-release-20230806-2434.1.x86_64 (openSUSE-Tumbleweed-Oss) (7/8),   1.5 MiB
Retrieving: MicroOS-release-20230806-2434.1.x86_64.rpm [....................................done (422.3 KiB/s)]
Retrieving: libssh4-0.10.5-2.1.x86_64 (openSUSE-Tumbleweed-Oss) (8/8), 196.9 KiB 
Retrieving: libssh4-0.10.5-2.1.x86_64.rpm [........done (244.1 KiB/s)]

Checking for file conflicts: [...........done]
(1/8) Installing: MicroOS-release-dvd-20230806-2434.1.x86_64 [.....done]
(2/8) Installing: libpython3_11-1_0-3.11.4-2.1.x86_64 [......done]
(3/8) Installing: python311-base-3.11.4-2.1.x86_64 [...........................................done]
(4/8) Installing: libssh-config-0.10.5-2.1.x86_64 [.....done]
(5/8) Installing: libzypp-17.31.18-1.1.x86_64 [...........done]
(6/8) Installing: xen-libs-4.17.1_06-2.1.x86_64 [......done]
(7/8) Installing: MicroOS-release-20230806-2434.1.x86_64 [.......done]
(8/8) Installing: libssh4-0.10.5-2.1.x86_64 [......done]
Executing %posttrans script 'libzypp-17.31.18-1.1.x86_64.rpm' [...done]

2023-08-08 14:25:38 Application returned with exit status 0.
2023-08-08 14:25:39 Transaction completed.
2023-08-08 14:25 File /etc/products.d/baseproduct not owned: check bsc#1170709
error: file /etc/YaST2/control.xml: No such file or directory
2023-08-08 14:25 File /etc/YaST2/control.xml not owned: check bsc#1170709
warning: failed to load external entity "/.snapshots/65/snapshot/etc/YaST2/control.xml"
warning: failed to load external entity "/.snapshots/65/snapshot/etc/YaST2/control.xml"
/sbin/transactional-update: line 516: ROLES["$role"]: bad array subscript
2023-08-08 14:25 transactional-update finished
2023-08-08 14:32 Checking for newer version.
2023-08-08 14:32 transactional-update 4.3.0 started
2023-08-08 14:32 Options: cleanup dup reboot
2023-08-08 14:32 Separate /var detected.
2023-08-08 14:32 Mark unused snapshot #60 for deletion
2023-08-08 14:32 Mark unused snapshot #61 for deletion
2023-08-08 14:32 Mark unused snapshot #62 for deletion
2023-08-08 14:32 Mark unused snapshot #65 for deletion
2023-08-08 14:32:51 tukit 4.3.0 started
2023-08-08 14:32:51 Options: -c64 open
2023-08-08 14:32:52 Using snapshot 64 as base for new snapshot 66.
2023-08-08 14:32:52 Syncing /etc of previous snapshot 59 as base into new snapshot "/.snapshots/66/snapshot"
2023-08-08 14:32:52 SELinux is enabled.
ID: 66
2023-08-08 14:32:57 Transaction completed.
2023-08-08 14:32 2023-08-08 14:32:51 tukit 4.3.0 started
2023-08-08 14:32:51 Options: -c64 open
2023-08-08 14:32:52 Using snapshot 64 as base for new snapshot 66.
2023-08-08 14:32:52 Syncing /etc of previous snapshot 59 as base into new snapshot "/.snapshots/66/snapshot"
2023-08-08 14:32:52 SELinux is enabled.
ID: 66
2023-08-08 14:32:57 Transaction completed.
2023-08-08 14:32 Calling zypper --no-cd dup
2023-08-08 14:33:09 tukit 4.3.0 started
2023-08-08 14:33:09 Options: call 66 zypper --no-cd dup -y --auto-agree-with-product-licenses
2023-08-08 14:33:13 Executing `zypper --no-cd dup -y --auto-agree-with-product-licenses`:
Loading repository data...
Reading installed packages...
Warning: You are about to do a distribution upgrade with all enabled repositories. Make sure these repositories are compatible before you continue. See 'man zypper' for more information about this command.
Computing distribution upgrade...

The following 8 packages are going to be upgraded:
  MicroOS-release MicroOS-release-dvd libpython3_11-1_0 libssh-config libssh4 libzypp python311-base xen-libs

The following product is going to be upgraded:
openSUSE MicroOS
  20230805-0 -> 20230806-0

8 packages to upgrade.
Overall download size: 17.7 MiB. Already cached: 0 B. After the operation, 4.0 KiB will be freed.
Continue? [y/n/v/...? shows all options] (y): y
Retrieving: MicroOS-release-dvd-20230806-2434.1.x86_64 (openSUSE-Tumbleweed-Oss) (1/8),   8.3 KiB
Retrieving: MicroOS-release-dvd-20230806-2434.1.x86_64.rpm [...done]
Retrieving: libpython3_11-1_0-3.11.4-2.1.x86_64 (openSUSE-Tumbleweed-Oss) (2/8),   1.5 MiB
Retrieving: libpython3_11-1_0-3.11.4-2.1.x86_64.rpm [...............................................done (325.9 KiB/s)]
Retrieving: python311-base-3.11.4-2.1.x86_64 (openSUSE-Tumbleweed-Oss) (3/8),  10.8 MiB
Retrieving: python311-base-3.11.4-2.1.x86_64.rpm [...................................................................................................................................done (671.4 KiB/s)]
Retrieving: libssh-config-0.10.5-2.1.x86_64 (openSUSE-Tumbleweed-Oss) (4/8),  11.8 KiB
Retrieving: libssh-config-0.10.5-2.1.x86_64.rpm [..done (935 B/s)]
Retrieving: libzypp-17.31.18-1.1.x86_64 (openSUSE-Tumbleweed-Oss) (5/8),   3.0 MiB
Retrieving: libzypp-17.31.18-1.1.x86_64.rpm [...............................................done (507.9 KiB/s)]
Retrieving: xen-libs-4.17.1_06-2.1.x86_64 (openSUSE-Tumbleweed-Oss) (6/8), 663.7 KiB
Retrieving: xen-libs-4.17.1_06-2.1.x86_64.rpm [...................done (424.3 KiB/s)]
Retrieving: MicroOS-release-20230806-2434.1.x86_64 (openSUSE-Tumbleweed-Oss) (7/8),   1.5 MiB
Retrieving: MicroOS-release-20230806-2434.1.x86_64.rpm [..........................done (471.0 KiB/s)]
Retrieving: libssh4-0.10.5-2.1.x86_64 (openSUSE-Tumbleweed-Oss) (8/8), 196.9 KiB 
Retrieving: libssh4-0.10.5-2.1.x86_64.rpm [.............done (263.3 KiB/s)]

Checking for file conflicts: [..............................done]
(1/8) Installing: MicroOS-release-dvd-20230806-2434.1.x86_64 [.....done]
(2/8) Installing: libpython3_11-1_0-3.11.4-2.1.x86_64 [......done]
(3/8) Installing: python311-base-3.11.4-2.1.x86_64 [.................................................done]
(4/8) Installing: libssh-config-0.10.5-2.1.x86_64 [.....done]
(5/8) Installing: libzypp-17.31.18-1.1.x86_64 [...........done]
(6/8) Installing: xen-libs-4.17.1_06-2.1.x86_64 [.......done]
(7/8) Installing: MicroOS-release-20230806-2434.1.x86_64 [......done]
(8/8) Installing: libssh4-0.10.5-2.1.x86_64 [......done]
Executing %posttrans script 'libzypp-17.31.18-1.1.x86_64.rpm' [...done]

2023-08-08 14:35:11 Application returned with exit status 0.
2023-08-08 14:35:13 Transaction completed.
2023-08-08 14:35 File /etc/products.d/baseproduct not owned: check bsc#1170709
error: file /etc/YaST2/control.xml: No such file or directory
2023-08-08 14:35 File /etc/YaST2/control.xml not owned: check bsc#1170709
warning: failed to load external entity "/.snapshots/66/snapshot/etc/YaST2/control.xml"
warning: failed to load external entity "/.snapshots/66/snapshot/etc/YaST2/control.xml"
/usr/sbin/transactional-update: line 516: ROLES["$role"]: bad array subscript
2023-08-08 14:35 transactional-update finished
2023-08-08 14:35:21 tukit 4.3.0 started
2023-08-08 14:35:21 Options: reboot auto
2023-08-08 14:35:21 Triggering reboot using rebootmgr
2023-08-08 14:35:21 Transaction completed.
2023-08-08 15:26 transactional-update 4.3.0 started
2023-08-08 15:26 Options: rollback 65
2023-08-08 15:26 Separate /var detected.
2023-08-08 15:26 Rollback to snapshot 65...
2023-08-08 15:26 Please reboot to finish rollback!
Please reboot to finish rollback!
2023-08-08 15:26 transactional-update finished

I opened the experimental feature of transactional-update status, you may take a look at my latest t-u status :

 ~ # transactional-update status
transactional-update 4.3.0 started
Options: status
Separate /var detected.
-------------------------------------------------------------------------
Snapshot:          68* [2023-08-08 08:26:06]
Description:       writable copy of #65
Report date:       2023-08-08 14:25:39
Version:           MicroOS 20230806
Base OS hash:
Effective OS hash:
-------------------------------------------------------------------------
Snapshot:          67 [2023-08-08 08:26:05]
Description:       rollback backup of #64
Report date:       2023-08-07 16:21:49
Version:           MicroOS 20230805
Base OS hash:
Effective OS hash:
-------------------------------------------------------------------------
Snapshot:          66 [2023-08-08 07:32:51]
Description:       Snapshot Update of #64
Report date:       2023-08-08 14:35:13
Version:           MicroOS 20230806
Base OS hash:
Effective OS hash:
-------------------------------------------------------------------------
Snapshot:          65 [2023-08-08 07:24:00]
Description:       Snapshot Update of #64
Report date:       2023-08-08 14:25:39
Version:           MicroOS 20230806
Base OS hash:
Effective OS hash:
-------------------------------------------------------------------------
Snapshot:          64 [2023-08-07 09:38:32]
Description:       writable copy of #62
Report date:       2023-08-07 16:21:49
Version:           MicroOS 20230805
Base OS hash:
Effective OS hash:
-------------------------------------------------------------------------
Snapshot:          63 [2023-08-07 09:38:31]
Description:       rollback backup of #59
Report date:       2023-07-31 15:04:38
Version:           MicroOS 20230729
Base OS hash:
Effective OS hash:
-------------------------------------------------------------------------
Snapshot:          62 [2023-08-07 09:04:37]
Description:       Snapshot Update of #59
Report date:       2023-08-07 16:21:49
Version:           MicroOS 20230805
Base OS hash:
Effective OS hash:
-------------------------------------------------------------------------
Snapshot:          61 [2023-08-03 15:15:01]
Description:       Snapshot Update of #59
Report date:       2023-08-03 22:16:25
Version:           MicroOS 20230801
Base OS hash:
Effective OS hash:
-------------------------------------------------------------------------
Snapshot:          60 [2023-07-31 08:24:51]
Description:       Snapshot Update of #59
Report date:       2023-07-31 15:25:19
Version:           MicroOS 20230729
Base OS hash:
Effective OS hash:
-------------------------------------------------------------------------
Snapshot:          59 [2023-07-31 08:18:45]
Description:       Snapshot Update of #57
Report date:       2023-07-31 15:04:38
Version:           MicroOS 20230729
Base OS hash:
Effective OS hash:

~ # bash -x transactional-update
+ bash -x transactional-update
+ export LANG=C
+ LANG=C
+ export DISABLE_SNAPPER_ZYPP_PLUGIN=1
+ DISABLE_SNAPPER_ZYPP_PLUGIN=1
+ EXITCODE=0
+ VERBOSITY=2
+ ZYPPER_ARG=
+ ZYPPER_NONINTERACTIVE='-y --auto-agree-with-product-licenses'
+ ZYPPER_ARG_PKGS=()
+ REWRITE_BOOTLOADER=0
+ REWRITE_GRUB_CFG=0
+ REWRITE_INITRD=0
+ REBUILD_KDUMP_INITRD=0
+ DO_APPLY=0
+ DO_CLEANUP_OVERLAYS=0
+ DO_CLEANUP_SNAPSHOTS=0
+ DO_MIGRATION=0
+ DO_DUP=0
+ DO_ROLLBACK=0
+ DO_SELF_UPDATE=1
+ DO_REGISTRATION=0
+ DO_RUN=0
+ DO_STATUS=0
+ DO_STATUS_LAST=0
+ REGISTRATION_ARGS=
+ ROLLBACK_SNAPSHOT=0
+ REBOOT_AFTERWARDS=0
+ REBOOT_METHOD=auto
+ RUN_CMD=
+ RUN_SHELL=0
+ SETUP_KDUMP=0
+ SETUP_SELINUX=0
+ USE_TELEMETRICS=0
+ TELEM_PAYLOAD='PACKAGE_NAME=transactional-update\nPACKAGE_VERSION=4.3.0'
+ TELEM_CLASS=
+ CONFFILE=/etc/transactional-update.conf
+ SYSTEMCONFFILE=/usr/etc/transactional-update.conf
+ LOGFILE=/var/log/transactional-update.log
+ STATE_FILE=/var/lib/misc/transactional-update.state
+ NEW_SNAPSHOT_FLAG=/var/lib/overlay/transactional-update.newsnapshot
+ NEEDS_RESTARTING_FILE=/var/run/reboot-needed
+ LOCKFILE=/var/run/transactional-update.pid
+ STATUS_FILE=/usr/lib64/sysimage/tu/transactional-update.status
+ EXPERIMENTAL_STATUS=0
+ BASE_MANIFEST_FILE=/usr/lib64/sysimage/tu/base.manifest
+ SYSTEM_MANIFEST_FILE=/usr/lib64/sysimage/tu/system.manifest
+ ZYPPER_AUTO_IMPORT_KEYS=0
+ ETC_OVERLAY_PATTERN='^[^[:space:]]\+[[:space:]]\+\/etc[[:space:]]\+overlay[[:space:]]\+\([^[:space:]]*,\|\)workdir=\/sysroot\/var\/lib\/overlay\/work-etc[,[:space:]]'
+ NON_ROOTFS_WHITELIST=("/var/lib/YaST2/cookies" "/var/lib/rpm" "/var/lib/systemd/migrated" "/var/run/zypp.pid")
+ DRACUT_OPTS=
+ TUKIT_OPTS=
+ TMPDIR=/tmp
+ '[' -r /usr/etc/transactional-update.conf ']'
+ . /usr/etc/transactional-update.conf
++ UPDATE_METHOD=dup
++ EXPERIMENTAL_STATUS=1
+ for snippet in "${SYSTEMCONFFILE}.d"/*
+ '[' -f '/usr/etc/transactional-update.conf.d/*' ']'
+ '[' -r /etc/transactional-update.conf ']'
+ ETC_IS_OVERLAY=0
+ HAS_SEPARATE_VAR=0
+ FORCE_NONINTERACTIVE=
+ SNAPSHOT_ID=
+ SNAPSHOT_DIR=
+ BASE_SNAPSHOT_ID=
+ TMPFILE=
+ APPLYWORKDIR=
+ DO_CALLEXT=0
+ ROLES=()
+ declare -A ROLES
+ REPOS=()
+ BUILDTIME=()
+ declare -A BUILDTIME
+ ORIG_ARGS=("$@")
+ '[' 1 ']'
+ '[' 0 -eq 0 ']'
+ break
+ exec
+ exec
+ exec
++ exec tee -i -a /var/log/transactional-update.log
+ '[' 2 -eq 1 ']'
+ '[' 0 -eq 1 ']'
+ '[' 0 -eq 1 ']'
+ '[' -z '' -a -z '' -a 0 -eq 0 -a 0 -eq 0 -a 0 -eq 0 -a 0 -eq 0 -a 0 -eq 0 ']'
+ ZYPPER_ARG=up
+ TELEM_CLASS=update
+ '[' -n '' ']'
+ '[' -z '' ']'
+ bashlock
+ echo 1613
+ ln /var/run/transactional-update.pid.1613 /var/run/transactional-update.pid
+ rm -f /var/run/transactional-update.pid.1613
+ trap 'rm -f "$LOCKFILE"' EXIT
+ return 0
+ '[' 0 -ne 0 ']'
+ self_update
+ '[' 1 == 0 ']'
+ log_info 'Checking for newer version.'
Checking for newer version.
+ log_to_stdout 'Checking for newer version.'
+ '[' 2 -ge 2 ']'
+ echo -e 'Checking for newer version.'
+ log_to_file 'Checking for newer version.'
++ date '+%Y-%m-%d %H:%M'
+ echo -e 2023-08-08 21:00 'Checking for newer version.'
+ zypper --non-interactive info transactional-update
+ grep -q '^Status *: out-of-date'
+ trap 'log_error "Received termination signal..." && quit 1' HUP INT QUIT TERM
+ '[' -f /var/lib/misc/transactional-update.state ']'
+ . /var/lib/misc/transactional-update.state
++ LAST_WORKING_SNAPSHOTS=
++ UNUSED_SNAPSHOTS=
+ log_info 'transactional-update 4.3.0 started'
transactional-update 4.3.0 started
+ log_to_stdout 'transactional-update 4.3.0 started'
+ '[' 2 -ge 2 ']'
+ echo -e 'transactional-update 4.3.0 started'
+ log_to_file 'transactional-update 4.3.0 started'
++ date '+%Y-%m-%d %H:%M'
+ echo -e 2023-08-08 21:02 'transactional-update 4.3.0 started'
+ log_info 'Options: '
Options:
+ log_to_stdout 'Options: '
+ '[' 2 -ge 2 ']'
+ echo -e 'Options: '
+ log_to_file 'Options: '
++ date '+%Y-%m-%d %H:%M'
+ echo -e 2023-08-08 21:02 'Options: '
+ telem_start
+ '[' -x /usr/bin/telem-record-gen ']'
++ snapper --version
++ head -1
++ cut -d ' ' -f 2
+ SNAPPER_VERSION=0.10.5
++ zypper --terse versioncmp 0.10.5 0.8.4
+ '[' -n '' -a 1 -lt 0 ']'
++ stat -f -c %T /
+ '[' btrfs '!=' btrfs ']'
+ '[' '!' -d /.snapshots ']'
+ grep -q '[[:space:]]/var[[:space:]]' /proc/mounts
+ '[' 0 -eq 0 ']'
+ log_info 'Separate /var detected.'
+ log_to_stdout 'Separate /var detected.'
Separate /var detected.
+ '[' 2 -ge 2 ']'
+ echo -e 'Separate /var detected.'
+ log_to_file 'Separate /var detected.'
++ date '+%Y-%m-%d %H:%M'
+ echo -e 2023-08-08 21:02 'Separate /var detected.'
+ HAS_SEPARATE_VAR=1
+ '[' -n up -a 0 -eq 0 -a 0 -eq 1 ']'
++ grep subvol=/@/.snapshots/ /proc/mounts
++ grep '/ btrfs'
++ sed -e 's|.*.snapshots/\(.*\)/snapshot.*|\1|g'
+ BOOTED_SNAPSHOT_ID=68
++ findmnt --target /usr --raw --noheadings --output FSROOT
++ tail -n 1
++ sed -e 's|.*.snapshots/\(.*\)/snapshot.*|\1|g'
+ CURRENT_SNAPSHOT_ID=68
++ btrfs subvolume get-default /
++ sed -e 's|.*.snapshots/\(.*\)/snapshot|\1|g'
+ DEFAULT_SNAPSHOT_ID=68
++ btrfs property get / ro
++ sed -e 's|ro=||'
+ RO_ROOT=false
+ '[' -z '' ']'
+ BASE_SNAPSHOT_ID=68
+ '[' 0 -eq 1 ']'
+ '[' 0 -eq 1 ']'
+ '[' 0 -eq 1 ']'
+ '[' 0 -eq 1 ']'
+ '[' -n up -o 0 -eq 1 -o 0 -eq 1 -o 0 -eq 1 -o 0 -eq 1 -o 0 -eq 1 -o 0 -eq 1 -o 0 -eq 1 ']'
+ '[' -z '-y --auto-agree-with-product-licenses' -a 68 -ne 68 ']'
++ tukit -c68 open
++ tee -a /var/log/transactional-update.log
+ output='2023-08-08 21:02:14 tukit 4.3.0 started
2023-08-08 21:02:14 Options: -c68 open
2023-08-08 21:02:16 Using snapshot 68 as base for new snapshot 69.
2023-08-08 21:02:16 Syncing /etc of previous snapshot 62 as base into new snapshot "/.snapshots/69/snapshot"
2023-08-08 21:02:16 SELinux is enabled.
ID: 69
2023-08-08 21:02:21 Transaction completed.'
+ log_info '2023-08-08 21:02:14 tukit 4.3.0 started
2023-08-08 21:02:14 Options: -c68 open
2023-08-08 21:02:16 Using snapshot 68 as base for new snapshot 69.
2023-08-08 21:02:16 Syncing /etc of previous snapshot 62 as base into new snapshot "/.snapshots/69/snapshot"
2023-08-08 21:02:16 SELinux is enabled.
ID: 69
2023-08-08 21:02:21 Transaction completed.'
+ log_to_stdout '2023-08-08 21:02:14 tukit 4.3.0 started
2023-08-08 21:02:14 Options: -c68 open
2023-08-08 21:02:16 Using snapshot 68 as base for new snapshot 69.
2023-08-08 21:02:16 Syncing /etc of previous snapshot 62 as base into new snapshot "/.snapshots/69/snapshot"
2023-08-08 21:02:16 SELinux is enabled.
ID: 69
2023-08-08 21:02:21 Transaction completed.'
+ '[' 2 -ge 2 ']'
2023-08-08 21:02:14 tukit 4.3.0 started
+ echo -e '2023-08-08 21:02:14 tukit 4.3.0 started
2023-08-08 21:02:14 Options: -c68 open
2023-08-08 21:02:16 Using snapshot 68 as base for new snapshot 69.
2023-08-08 21:02:16 Syncing /etc of previous snapshot 62 as base into new snapshot "/.snapshots/69/snapshot"
2023-08-08 21:02:16 SELinux is enabled.
ID: 69
2023-08-08 21:02:21 Transaction completed.'
2023-08-08 21:02:14 Options: -c68 open
2023-08-08 21:02:16 Using snapshot 68 as base for new snapshot 69.
2023-08-08 21:02:16 Syncing /etc of previous snapshot 62 as base into new snapshot "/.snapshots/69/snapshot"
2023-08-08 21:02:16 SELinux is enabled.
ID: 69
2023-08-08 21:02:21 Transaction completed.
+ log_to_file '2023-08-08 21:02:14 tukit 4.3.0 started
2023-08-08 21:02:14 Options: -c68 open
2023-08-08 21:02:16 Using snapshot 68 as base for new snapshot 69.
2023-08-08 21:02:16 Syncing /etc of previous snapshot 62 as base into new snapshot "/.snapshots/69/snapshot"
2023-08-08 21:02:16 SELinux is enabled.
ID: 69
2023-08-08 21:02:21 Transaction completed.'
++ date '+%Y-%m-%d %H:%M'
+ echo -e 2023-08-08 21:02 '2023-08-08 21:02:14 tukit 4.3.0 started
2023-08-08 21:02:14 Options: -c68 open
2023-08-08 21:02:16 Using snapshot 68 as base for new snapshot 69.
2023-08-08 21:02:16 Syncing /etc of previous snapshot 62 as base into new snapshot "/.snapshots/69/snapshot"
2023-08-08 21:02:16 SELinux is enabled.
ID: 69
2023-08-08 21:02:21 Transaction completed.'
++ echo '2023-08-08 21:02:14 tukit 4.3.0 started
2023-08-08 21:02:14 Options: -c68 open
2023-08-08 21:02:16 Using snapshot 68 as base for new snapshot 69.
2023-08-08 21:02:16 Syncing /etc of previous snapshot 62 as base into new snapshot "/.snapshots/69/snapshot"
2023-08-08 21:02:16 SELinux is enabled.
ID: 69
2023-08-08 21:02:21 Transaction completed.'
++ grep -e '^ID:'
++ cut -d ' ' -f 2-
+ SNAPSHOT_ID=69
+ '[' -z 69 ']'
+ SNAPSHOT_DIR=/.snapshots/69/snapshot
+ UNUSED_SNAPSHOTS='69 '
+ '[' 0 -eq 1 ']'
+ '[' -n up ']'
+ log_info 'Calling zypper up'
+ log_to_stdout 'Calling zypper up'
Calling zypper up
+ '[' 2 -ge 2 ']'
+ echo -e 'Calling zypper up'
+ log_to_file 'Calling zypper up'
++ date '+%Y-%m-%d %H:%M'
+ echo -e 2023-08-08 21:02 'Calling zypper up'
+ '[' 0 -eq 1 ']'
+ '[' 0 -eq 1 ']'
+ zypper_cmd='tukit  call 69 zypper'
++ mktemp /tmp/transactional-update.XXXXXXXXXX
+ TMPFILE=/tmp/transactional-update.uvgZamrOGG
+ tukit call 69 zypper --xmlout up -y --auto-agree-with-product-licenses --dry-run
++ grep 'install-summary download-size' /tmp/transactional-update.uvgZamrOGG
++ sed -e 's|.*install-summary download-size=\"\(.*\)\" space-usage-diff.*|\1|g'
+ PACKAGE_UPDATES=23000815
++ grep 'install-summary.*space-usage-diff' /tmp/transactional-update.uvgZamrOGG
++ sed -e 's|.*install-summary.*space-usage-diff=\"\([^"]*\)\".*|\1|g'
+ SIZE_OF_UPDATES=1907027
++ grep 'install-summary.*packages-to-change' /tmp/transactional-update.uvgZamrOGG
++ sed -e 's|.*install-summary.*packages-to-change=\"\([^"]*\)\".*|\1|g'
+ NUM_OF_UPDATES=21
++ grep 'solvable.*type="package"' /tmp/transactional-update.uvgZamrOGG
++ grep 'name="kernel-'
+ INCLUDES_KERNEL_PACKAGES=
+ grep 'solvable.*type="package"' /tmp/transactional-update.uvgZamrOGG
+ grep 'name="libfdisk1"'
+ grep -q -e 'edition-old="2\.38\.1-[78]\.'
+ rm -f /tmp/transactional-update.uvgZamrOGG
+ TELEM_PAYLOAD='PACKAGE_NAME=transactional-update\nPACKAGE_VERSION=4.3.0\npackages=21\ndownload_size=23000815\nspace-usage=1907027'
+ '[' 21 = 0 ']'
+ '[' -z 21 -a 23000815 = 0 -a 1907027 = 0 ']'
+ export DISABLE_RESTART_ON_UPDATE=yes
+ DISABLE_RESTART_ON_UPDATE=yes
+ tukit call 69 zypper up -y --auto-agree-with-product-licenses
+ tee -a /var/log/transactional-update.log
2023-08-08 21:02:30 tukit 4.3.0 started
2023-08-08 21:02:30 Options: call 69 zypper up -y --auto-agree-with-product-licenses
2023-08-08 21:02:33 Executing `zypper up -y --auto-agree-with-product-licenses`:
....
....
2023-08-08 21:04:36 Application returned with exit status 0.
2023-08-08 21:04:36 Transaction completed.
+ RETVAL=0
+ '[' '(' 0 -eq 0 -o 0 -eq 102 -o 0 -eq 103 ')' -a -n '' ']'
+ '[' 0 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ create_status_file
++ dirname /.snapshots/69/snapshot/usr/lib64/sysimage/tu/transactional-update.status
+ rm -fr /.snapshots/69/snapshot/usr/lib64/sysimage/tu
++ dirname /.snapshots/69/snapshot/usr/lib64/sysimage/tu/transactional-update.status
+ mkdir -p /.snapshots/69/snapshot/usr/lib64/sysimage/tu
++ date '+%Y-%m-%d %T'
+ echo 'DATE="2023-08-08 21:04:37"'
++ baseproduct
++ local file=/etc/products.d/baseproduct
++ callext rpm --root '{}' --quiet --query --file /etc/products.d/baseproduct
++ tukit --quiet callext 69 rpm --root '{}' --quiet --query --file /etc/products.d/baseproduct
++ log_to_file 'File /etc/products.d/baseproduct not owned: check bsc#1170709'
+++ date '+%Y-%m-%d %H:%M'
++ echo -e 2023-08-08 21:04 'File /etc/products.d/baseproduct not owned: check bsc#1170709'
++ re_findall '(?<=<name>).*?(?=</name>)' /.snapshots/69/snapshot/etc/products.d/baseproduct
++ grep --only-matching --perl-regexp '(?<=<name>).*?(?=</name>)' /.snapshots/69/snapshot/etc/products.d/baseproduct
+ echo 'PRODUCT="MicroOS"'
+ grep VERSION_ID /.snapshots/69/snapshot/etc/os-release
+ load_roles
+ local file=/etc/YaST2/control.xml
+ callext rpm --root '{}' --quiet --query --file /etc/YaST2/control.xml
+ tukit --quiet callext 69 rpm --root '{}' --quiet --query --file /etc/YaST2/control.xml
error: file /etc/YaST2/control.xml: No such file or directory
+ log_to_file 'File /etc/YaST2/control.xml not owned: check bsc#1170709'
++ date '+%Y-%m-%d %H:%M'
+ echo -e 2023-08-08 21:04 'File /etc/YaST2/control.xml not owned: check bsc#1170709'
+ local 'xpath=//*[local-name()='\''productDefines'\'']'
+ xpath+='/*[local-name()='\''software'\'']'
+ xpath+='/*[local-name()='\''default_patterns'\'']/text()'
++ xmllint --xpath '//*[local-name()='\''productDefines'\'']/*[local-name()='\''software'\'']/*[local-name()='\''default_patterns'\'']/text()' /.snapshots/69/snapshot/etc/YaST2/control.xml
warning: failed to load external entity "/.snapshots/69/snapshot/etc/YaST2/control.xml"
+ local default_patterns=
+ xpath='//*[local-name()='\''system_role'\'']'
+ xpath+='/*[local-name()='\''id'\'']/text()'
+ local role patterns
++ xmllint --xpath '//*[local-name()='\''system_role'\'']/*[local-name()='\''id'\'']/text()' /.snapshots/69/snapshot/etc/YaST2/control.xml
warning: failed to load external entity "/.snapshots/69/snapshot/etc/YaST2/control.xml"
+ read role
+ xpath='//*[local-name()='\''system_role'\''][*[local-name()='\''id'\'']='\'''\'']'
+ xpath+='/*[local-name()='\''software'\'']'
+ xpath+='/*[local-name()='\''default_patterns'\'']/text()'
++ xmllint --xpath '//*[local-name()='\''system_role'\''][*[local-name()='\''id'\'']='\'''\'']/*[local-name()='\''software'\'']/*[local-name()='\''default_patterns'\'']/text()' /.snapshots/69/snapshot/etc/YaST2/control.xml
+ patterns=
transactional-update finished
+ ROLES["$role"]=
/sbin/transactional-update: line 516: ROLES["$role"]: bad array subscript
+ '[' 0 -eq 1 -a 0 -eq 0 ']'
+ log_info 'transactional-update finished'
+ log_to_stdout 'transactional-update finished'
+ '[' 2 -ge 2 ']'
+ echo -e 'transactional-update finished'
+ log_to_file 'transactional-update finished'
++ date '+%Y-%m-%d %H:%M'
+ echo -e 2023-08-08 21:04 'transactional-update finished'
+ '[' 0 -eq 0 ']'
+ '[' 0 -eq 1 ']'
+ telem_finish 0
+ '[' 0 -eq 1 ']'
+ exit 0
+ rm -f /var/run/transactional-update.pid

@handevsar Did you have a read of the bug report in the log?
https://bugzilla.opensuse.org/show_bug.cgi?id=1170709

I wonder if you drop into a transactionl-update shell and run zypper -vv dup it will manage to skip…

I did, the /etc/YaST2/control.xml bug happened before this issue.

gonna try this one, will give you update

This skips a lot of code. Can you provide full copy of /sbin/transactional-update? As well as

rpm -qif /sbin/transactional-update

Does it also fail if you delete EXPERIMENTAL_STATUS? Default is 0.

i have run zypper -vv dup in t-u shell, seems it booted to the latest snapshop

but we will know this changes affected when the system run the next t-u execution, both automatically with transactional-update.timer or manually with transactional-update dup

Well, I happened to have relatively recent MicroOS image lying around, so I run it and did update. Of course it worked and of course status command is disabled. Which answers the question in this topic - transactional-update fails because experimental feature was enabled.

You’re right, i’ve tried couple times to check condition that whenever the transactional-update status experimental feature is enabled (by adding EXPERIMENTAL_STATUS=1 in /usr/etc/transactional-update.conf), it’ll give transactional-update-in-progress=yes.

I think whether the experimental status is enabled or not, it should work w/o giving transactional-update-in-progress=yes in every t-u update, shouldnt it?

Thank you for helping me.

Yes, of course. But we are not developers of this software. If you enable experimental feature, you are expected to know how to handle problems, how to debug them and how to contact developers.

I have enabled t-u status in other installations (Aeon & Leap Micro), maybe i should double check `em. When i’m sure this is a bug, perhaps I’ll fill a bug report.

This installation is intended for my factory machine, when something goes wrong, i simply grab the latest snapshot ISO, deploy to new installation, and attach again the data partition on it.

Thanks you very much.