@seaMeeGo Knowing why the update has failed without the possibility to fix it because the phone doesn’t have network connectivity is only so useful, since then you know what failed but not how to fix it and be able to run the update manually again.
Running connmand
on the console by itself provided the right clue.
Here are the failed items from /var/log/systemupdate.log
:
Mar 31 10:44:00 Sailfish systemd[1]: user@0.service: Failed to load environment files: No such file or directory
Mar 31 10:44:00 Sailfish systemd[1]: user@0.service: Failed to run 'start-pre' task: No such file or directory
Mar 31 10:44:00 Sailfish systemd[1]: user@0.service: Failed with result 'resources'.
Mar 31 10:44:00 Sailfish systemd[1]: Failed to start User Manager for UID 0.
Mar 31 10:44:00 Sailfish su[2995]: pam_systemd(su-l:session): Failed to create session: Start job for unit user@0.service failed with 'failed'
Mar 31 10:45:52 Sailfish systemd-gpt-auto-generator[3741]: Failed to dissect: Input/output error
Mar 31 10:45:52 Sailfish systemd[3736]: /usr/lib/systemd/system-generators/systemd-gpt-auto-generator failed with exit status 1.
Mar 31 10:45:52 Sailfish systemd[1]: File /usr/lib/systemd/system/systemd-udevd.service:34 configures an IP firewall (IPAddressDeny=any), but the local system does not support BPF/cgroup based firewalling.
Mar 31 10:45:52 Sailfish systemd[1]: Proceeding WITHOUT firewalling in effect! (This warning is only shown for the first loaded unit using IP firewalling.)
Mar 31 10:45:52 Sailfish systemd[1]: Configuration file /etc/systemd/system/situations-sonar.service is marked executable. Please remove executable permission bits. Proceeding anyway.
Mar 31 10:45:53 Sailfish systemd[1]: /usr/lib/systemd/system/system-update-cleanup.service:35: Unknown lvalue 'SuccessAction' in section 'Service'
Mar 31 10:45:53 Sailfish systemd[1]: Couldn't stat device /dev/memnotify: No such file or directory
Mar 31 10:45:53 Sailfish systemd[1]: Couldn't stat device /dev/i2c-0: No such file or directory
Mar 31 10:45:53 Sailfish systemd[1]: Couldn't stat device /dev/twl4030_wdt: No such file or directory
Mar 31 10:45:53 Sailfish systemd[1]: Couldn't stat device /dev/watchdog1: No such file or directory
Mar 31 10:45:53 Sailfish systemd[1]: Couldn't stat device /dev/watchdog0: No such file or directory
Mar 31 10:45:53 Sailfish systemd[1]: /dev/watchdog is not a device.
Mar 31 10:45:53 Sailfish systemd[1]: Couldn't stat device /dev/alarm: No such file or directory
Mar 31 10:45:53 Sailfish systemd[1]: Listening on udev Control Socket.
Mar 31 10:45:53 Sailfish systemd[1]: Listening on udev Kernel Socket.
Mar 31 10:45:53 Sailfish systemd[1]: Starting udev Kernel Device Manager...
Mar 31 10:45:53 Sailfish systemd[1]: Started udev Kernel Device Manager.
Mar 31 10:45:55 Sailfish systemd-gpt-auto-generator[3800]: Failed to dissect: Input/output error
Mar 31 10:45:55 Sailfish systemd[3794]: /usr/lib/systemd/system-generators/systemd-gpt-auto-generator failed with exit status 1.
Mar 31 10:45:56 Sailfish systemd-gpt-auto-generator[3816]: Failed to dissect: Input/output error
Mar 31 10:45:56 Sailfish systemd[3811]: /usr/lib/systemd/system-generators/systemd-gpt-auto-generator failed with exit status 1.
Mar 31 10:45:56 Sailfish systemd[1]: Configuration file /etc/systemd/system/situations-sonar.service is marked executable. Please remove executable permission bits. Proceeding anyway.
Mar 31 10:45:56 Sailfish systemd[1]: /usr/lib/systemd/system/system-update-cleanup.service:35: Unknown lvalue 'SuccessAction' in section 'Service'
Mar 31 10:45:56 Sailfish systemd[1]: Couldn't stat device /dev/memnotify: No such file or directory
Mar 31 10:45:56 Sailfish systemd[1]: Couldn't stat device /dev/i2c-0: No such file or directory
Mar 31 10:45:56 Sailfish systemd[1]: Couldn't stat device /dev/twl4030_wdt: No such file or directory
Mar 31 10:45:56 Sailfish systemd[1]: Couldn't stat device /dev/watchdog1: No such file or directory
Mar 31 10:45:56 Sailfish systemd[1]: Couldn't stat device /dev/watchdog0: No such file or directory
Mar 31 10:45:56 Sailfish systemd[1]: /dev/watchdog is not a device.
Mar 31 10:45:56 Sailfish systemd[1]: Couldn't stat device /dev/alarm: No such file or directory
Mar 31 10:45:56 Sailfish systemd[1]: Reloading D-Bus System Message Bus.
Mar 31 10:45:56 Sailfish dbus-daemon[2214]: [system] Reloaded configuration
Mar 31 10:45:56 Sailfish dbus-daemon[2214]: dbus-daemon[2214]: [system] Reloaded configuration
Mar 31 10:45:56 Sailfish dbus-send[3807]: method return time=1648716356.329393 sender=org.freedesktop.DBus -> destination=:1.26 serial=3 reply_serial=2
Mar 31 10:45:56 Sailfish systemd[1]: Reloaded D-Bus System Message Bus.
Mar 31 10:45:56 Sailfish systemd[1]: Reloading.
Mar 31 10:45:56 Sailfish systemd-gpt-auto-generator[3816]: Failed to dissect: Input/output error
Mar 31 10:45:56 Sailfish systemd[3811]: /usr/lib/systemd/system-generators/systemd-gpt-auto-generator failed with exit status 1.
Mar 31 10:45:56 Sailfish systemd[1]: Configuration file /etc/systemd/system/situations-sonar.service is marked executable. Please remove executable permission bits. Proceeding anyway.
Mar 31 10:45:56 Sailfish systemd[1]: /usr/lib/systemd/system/system-update-cleanup.service:35: Unknown lvalue 'SuccessAction' in section 'Service'
Mar 31 10:45:56 Sailfish systemd[1]: Couldn't stat device /dev/memnotify: No such file or directory
Mar 31 10:45:56 Sailfish systemd[1]: Couldn't stat device /dev/i2c-0: No such file or directory
Mar 31 10:45:56 Sailfish systemd[1]: Couldn't stat device /dev/twl4030_wdt: No such file or directory
Mar 31 10:45:56 Sailfish systemd[1]: Couldn't stat device /dev/watchdog1: No such file or directory
Mar 31 10:45:56 Sailfish systemd[1]: Couldn't stat device /dev/watchdog0: No such file or directory
Mar 31 10:45:56 Sailfish systemd[1]: /dev/watchdog is not a device.
Mar 31 10:45:56 Sailfish systemd[1]: Couldn't stat device /dev/alarm: No such file or directory
Mar 31 10:45:57 Sailfish sailfish-upgrade-ui[2886]: Package: systemd-user-session-targets;0.0.2-1.7.1.jolla;noarch;jolla, Basic targets for systemd user session
Mar 31 10:45:57 Sailfish sailfish-upgrade-ui[2886]: Package: openssh;8.8p1+git1-1.9.3.jolla;armv7hl;jolla, The OpenSSH implementation of SSH protocol versions 1 and 2
Mar 31 10:45:57 Sailfish systemd[1]: Reloading.
Mar 31 10:45:58 Sailfish systemd-gpt-auto-generator[3843]: Failed to dissect: Input/output error
Mar 31 10:45:58 Sailfish systemd[3838]: /usr/lib/systemd/system-generators/systemd-gpt-auto-generator failed with exit status 1.
Mar 31 10:45:58 Sailfish systemd[3838]: /usr/lib/systemd/system-generators/systemd-gpt-auto-generator failed with exit status 1.
Mar 31 10:45:58 Sailfish systemd[1]: Configuration file /etc/systemd/system/situations-sonar.service is marked executable. Please remove executable permission bits. Proceeding anyway.
Mar 31 10:45:58 Sailfish systemd[1]: /usr/lib/systemd/system/system-update-cleanup.service:35: Unknown lvalue 'SuccessAction' in section 'Service'
Mar 31 10:45:58 Sailfish systemd[1]: Couldn't stat device /dev/memnotify: No such file or directory
Mar 31 10:45:58 Sailfish systemd[1]: Couldn't stat device /dev/i2c-0: No such file or directory
Mar 31 10:45:58 Sailfish systemd[1]: Couldn't stat device /dev/twl4030_wdt: No such file or directory
Mar 31 10:45:58 Sailfish systemd[1]: Couldn't stat device /dev/watchdog1: No such file or directory
Mar 31 10:45:58 Sailfish systemd[1]: Couldn't stat device /dev/watchdog0: No such file or directory
Mar 31 10:45:58 Sailfish systemd[1]: /dev/watchdog is not a device.
Mar 31 10:45:58 Sailfish systemd[1]: Couldn't stat device /dev/alarm: No such file or directory
Mar 31 10:45:58 Sailfish sailfish-upgrade-ui[2886]: Package: openssh-server;8.8p1+git1-1.9.3.jolla;armv7hl;jolla, The OpenSSH server daemon
Mar 31 10:45:58 Sailfish systemd-journald[703]: Suppressed 215 messages from packagekit.service
Mar 31 10:45:58 Sailfish [RPM][3852]: Transaction ID 62456a46 started
Mar 31 10:45:58 Sailfish [RPM][3852]: erase openssh-server-8.0p1+git12-1.6.3.jolla.armv7hl: success
Mar 31 10:45:58 Sailfish useradd[3854]: failed adding user 'sshd', data deleted
Mar 31 10:45:58 Sailfish systemd[1]: Reloading.
Mar 31 10:45:59 Sailfish systemd-gpt-auto-generator[3868]: Failed to dissect: Input/output error
Mar 31 10:45:59 Sailfish systemd[3863]: /usr/lib/systemd/system-generators/systemd-gpt-auto-generator failed with exit status 1.
Mar 31 10:45:59 Sailfish systemd[1]: Configuration file /etc/systemd/system/situations-sonar.service is marked executable. Please remove executable permission bits. Proceeding anyway.
Mar 31 10:45:59 Sailfish systemd[1]: /usr/lib/systemd/system/system-update-cleanup.service:35: Unknown lvalue 'SuccessAction' in section 'Service'
Mar 31 10:45:59 Sailfish systemd[1]: Couldn't stat device /dev/memnotify: No such file or directory
Mar 31 10:45:59 Sailfish systemd[1]: Couldn't stat device /dev/i2c-0: No such file or directory
Mar 31 10:45:59 Sailfish systemd[1]: Couldn't stat device /dev/twl4030_wdt: No such file or directory
Mar 31 10:45:59 Sailfish systemd[1]: Couldn't stat device /dev/watchdog1: No such file or directory
Mar 31 10:45:59 Sailfish systemd[1]: Couldn't stat device /dev/watchdog0: No such file or directory
Mar 31 10:45:59 Sailfish systemd[1]: /dev/watchdog is not a device.
Mar 31 10:45:59 Sailfish systemd[1]: Couldn't stat device /dev/alarm: No such file or directory
Mar 31 10:45:59 Sailfish [RPM][3852]: install openssh-server-8.8p1+git1-1.9.3.jolla.armv7hl: success
Mar 31 10:45:59 Sailfish systemd[1]: Reloading.
Mar 31 10:45:59 Sailfish systemd-gpt-auto-generator[3885]: Failed to dissect: Input/output error
Mar 31 10:45:59 Sailfish systemd[3880]: /usr/lib/systemd/system-generators/systemd-gpt-auto-generator failed with exit status 1.
Mar 31 10:45:59 Sailfish systemd[1]: Configuration file /etc/systemd/system/situations-sonar.service is marked executable. Please remove executable permission bits. Proceeding anyway.
Mar 31 10:45:59 Sailfish systemd[1]: /usr/lib/systemd/system/system-update-cleanup.service:35: Unknown lvalue 'SuccessAction' in section 'Service'
Mar 31 10:45:59 Sailfish systemd[1]: Couldn't stat device /dev/memnotify: No such file or directory
Mar 31 10:45:59 Sailfish systemd[1]: Couldn't stat device /dev/i2c-0: No such file or directory
Mar 31 10:45:59 Sailfish systemd[1]: Couldn't stat device /dev/twl4030_wdt: No such file or directory
Mar 31 10:45:59 Sailfish systemd[1]: Couldn't stat device /dev/watchdog1: No such file or directory
Mar 31 10:45:59 Sailfish systemd[1]: Couldn't stat device /dev/watchdog0: No such file or directory
Mar 31 10:45:59 Sailfish systemd[1]: /dev/watchdog is not a device.
Mar 31 10:45:59 Sailfish systemd[1]: Couldn't stat device /dev/alarm: No such file or directory
Mar 31 10:46:00 Sailfish [RPM][3852]: erase openssh-server-8.0p1+git12-1.6.3.jolla.armv7hl: success
Mar 31 10:46:00 Sailfish [RPM][3852]: install openssh-server-8.8p1+git1-1.9.3.jolla.armv7hl: success
Mar 31 10:46:00 Sailfish [RPM][3852]: Transaction ID 62456a46 finished: 0
Mar 31 10:47:23 Sailfish systemd-gpt-auto-generator[5159]: Failed to dissect: Input/output error
Mar 31 10:47:23 Sailfish systemd[5154]: /usr/lib/systemd/system-generators/systemd-gpt-auto-generator failed with exit status 1.
Mar 31 10:47:24 Sailfish kernel: binder: 5163:5163 --> 0:0 transaction failed 29189/0, size 32-0 line 2149
Mar 31 10:47:24 Sailfish kernel: binder: 5163:5163 --> 0:0 transaction failed 29189/0, size 32-0 line 2149
Mar 31 10:47:24 Sailfish systemd-gpt-auto-generator[5177]: Failed to dissect: Input/output error
Mar 31 10:47:24 Sailfish systemd[5172]: /usr/lib/systemd/system-generators/systemd-gpt-auto-generator failed with exit status 1.
Mar 31 10:47:24 Sailfish kernel: binder: 5163:5163 --> 0:0 transaction failed 29189/0, size 32-0 line 2149
# ^- This line got logged 573 times in total (I omitted them with [...])
Mar 31 10:47:43 Sailfish kernel: binder: 5321:5321 --> 0:0 transaction failed 29189/0, size 32-0 line 2149
Mar 31 10:47:44 Sailfish [RPM][5476]: 0 elements failed, 1 scripts failed
Mar 31 10:47:44 Sailfish kernel: binder: 5321:5321 --> 0:0 transaction failed 29189/0, size 32-0 line 2149
[...]
Mar 31 10:47:51 Sailfish kernel: binder: 5321:5321 --> 0:0 transaction failed 29189/0, size 32-0 line 2149
Mar 31 10:47:52 Sailfish systemd-gpt-auto-generator[5599]: Failed to dissect: Input/output error
Mar 31 10:47:52 Sailfish systemd[5594]: /usr/lib/systemd/system-generators/systemd-gpt-auto-generator failed with exit status 1.
Mar 31 10:47:52 Sailfish kernel: binder: 5321:5321 --> 0:0 transaction failed 29189/0, size 32-0 line 2149
Mar 31 10:47:52 Sailfish systemd-gpt-auto-generator[5612]: Failed to dissect: Input/output error
Mar 31 10:47:52 Sailfish systemd[5607]: /usr/lib/systemd/system-generators/systemd-gpt-auto-generator failed with exit status 1.
Mar 31 10:47:53 Sailfish kernel: binder: 5321:5321 --> 0:0 transaction failed 29189/0, size 32-0 line 2149
[...]
Mar 31 10:48:32 Sailfish kernel: binder: 6852:6852 --> 0:0 transaction failed 29189/0, size 32-0 line 2149
Mar 31 10:48:32 Sailfish systemd-gpt-auto-generator[6920]: Failed to dissect: Input/output error
Mar 31 10:48:32 Sailfish systemd[6915]: /usr/lib/systemd/system-generators/systemd-gpt-auto-generator failed with exit status 1.
Mar 31 10:48:33 Sailfish systemd-gpt-auto-generator[6938]: Failed to dissect: Input/output error
Mar 31 10:48:33 Sailfish systemd[6933]: /usr/lib/systemd/system-generators/systemd-gpt-auto-generator failed with exit status 1.
Mar 31 10:48:33 Sailfish kernel: binder: 6852:6852 --> 0:0 transaction failed 29189/0, size 32-0 line 2149
[...]
Mar 31 10:48:51 Sailfish kernel: binder: 6852:6852 --> 0:0 transaction failed 29189/0, size 32-0 line 2149
Mar 31 10:48:51 Sailfish systemd-gpt-auto-generator[7280]: Failed to dissect: Input/output error
Mar 31 10:48:51 Sailfish systemd[7275]: /usr/lib/systemd/system-generators/systemd-gpt-auto-generator failed with exit status 1.
Mar 31 10:48:52 Sailfish kernel: binder: 6852:6852 --> 0:0 transaction failed 29189/0, size 32-0 line 2149
Mar 31 10:48:53 Sailfish kernel: binder: 6852:6852 --> 0:0 transaction failed 29189/0, size 32-0 line 2149
Mar 31 10:48:54 Sailfish systemd[1]: user@0.service: Failed to load environment files: No such file or directory
Mar 31 10:48:54 Sailfish systemd[1]: user@0.service: Failed to run 'start-pre' task: No such file or directory
Mar 31 10:48:54 Sailfish systemd[1]: user@0.service: Failed with result 'resources'.
Mar 31 10:48:54 Sailfish systemd[1]: Failed to start User Manager for UID 0.
Mar 31 10:48:54 Sailfish su[7386]: pam_systemd(su-l:session): Failed to create session: Start job for unit user@0.service failed with 'failed'
Mar 31 10:48:54 Sailfish kernel: binder: 6852:6852 --> 0:0 transaction failed 29189/0, size 32-0 line 2149
Mar 31 10:48:54 Sailfish systemd-udevd[7448]: Process '/sbin/crda' failed with exit code 234.
Mar 31 10:48:55 Sailfish kernel: binder: 6852:6852 --> 0:0 transaction failed 29189/0, size 32-0 line 2149
[...]
Mar 31 10:49:18 Sailfish kernel: binder: 6852:6852 --> 0:0 transaction failed 29189/0, size 32-0 line 2149
Mar 31 10:49:19 Sailfish [RPM][9248]: 0 elements failed, 1 scripts failed
Mar 31 10:49:19 Sailfish kernel: binder: 6852:6852 --> 0:0 transaction failed 29189/0, size 32-0 line 2149
Mar 31 10:49:20 Sailfish kernel: binder: 6852:6852 --> 0:0 transaction failed 29189/0, size 32-0 line 2149
Mar 31 10:49:21 Sailfish kernel: binder: 6852:6852 --> 0:0 transaction failed 29189/0, size 32-0 line 2149
Mar 31 10:49:22 Sailfish kernel: binder: 6852:6852 --> 0:0 transaction failed 29189/0, size 32-0 line 2149
Mar 31 10:49:23 Sailfish kernel: binder: 6852:6852 --> 0:0 transaction failed 29189/0, size 32-0 line 2149
Mar 31 10:49:24 Sailfish kernel: binder: 6852:6852 --> 0:0 transaction failed 29189/0, size 32-0 line 2149
Mar 31 10:49:25 Sailfish kernel: binder: 6852:6852 --> 0:0 transaction failed 29189/0, size 32-0 line 2149
Mar 31 10:49:26 Sailfish [RPM][9355]: 1 elements failed, 1 scripts failed
Mar 31 10:49:26 Sailfish sailfish-upgrade-ui[2886]: Distribution upgrade error: Subprocess failed. Error: RPM failed: Uninstalling package
Failed to stop dbus-org.SfietKonstantin.patchmanager.service: Unit dbus-org.SfietKonstantin.patchmanager.service not loaded.
error: %preun(patchmanager-3.0.65-1.149.1.jolla.armv7hl) scriptlet failed, exit status 5
error: patchmanager-3.0.65-1.149.1.jolla.armv7hl: erase failed
Mar 31 10:49:26 Sailfish kernel: binder: 6852:6852 --> 0:0 transaction failed 29189/0, size 32-0 line 2149
Mar 31 10:49:26 Sailfish PackageKit[2948]: upgrade-system transaction /15518_cadadacd from uid 0 finished with failed after 325477ms
Mar 31 10:49:27 Sailfish kernel: binder: 6852:6852 --> 0:0 transaction failed 29189/0, size 32-0 line 2149
[...]
One of the issues seems to be that patchmanager could not get uninstalled, the other that there was a left-over “init” script for situations-sonar.
The only reference to connman I found in the systemupdate.log was this:
Mar 31 10:47:47 Sailfish sailfish-upgrade-ui[2886]: Package: qt5-plugin-bearer-connman;5.6.3+git46.1-1.16.1.jolla;armv7hl;jolla, Connman bearer plugin
Mar 31 10:47:47 Sailfish [RPM][5529]: erase qt5-plugin-bearer-connman-5.6.3+git45-1.13.1.jolla.armv7hl: success
Mar 31 10:47:47 Sailfish [RPM][5529]: install qt5-plugin-bearer-connman-5.6.3+git46.1-1.16.1.jolla.armv7hl: success
Mar 31 10:47:47 Sailfish [RPM][5529]: erase qt5-plugin-bearer-connman-5.6.3+git45-1.13.1.jolla.armv7hl: success
Mar 31 10:47:47 Sailfish [RPM][5529]: install qt5-plugin-bearer-connman-5.6.3+git46.1-1.16.1.jolla.armv7hl: success
Not sure, if/how this helps, but as mentioned above, symlinking libip4tc to somewhere where it could be found by connmand at least got me in a position to run the update again, which fixed the system.