The situation
Here is a long existing non standard manjaro-system using sway. I switch on the auto update on shut down in pamac-gtk.
I installed plymouth an activated the hook in /etc/mkinitcpio.conf
and the splash screen in grub.
At shutdown plymouth shows a grafical screen with update but it don’t work.
Search for error
3 updates should be installed:
# pamac checkupdates
Warnung: Aktualisierungen der Entwicklerpakete als Root abrufen
Warnung: Konfiguriere Build-Verzeichnis /var/cache/pamac
3 Aktualisierungen verfügbar:
gsfonts 20200910-2 -> 20200910-3 extra
pcre2 10.40-3 -> 10.42-2 core
zenity 3.44.1-1 -> 3.44.2-1 extra
service is enabled
# systemctl status pamac-offline-upgrade.service
○ pamac-offline-upgrade.service - Offline System Upgrade using Pamac
Loaded: loaded (/usr/lib/systemd/system/pamac-offline-upgrade.service; enabled; preset: disabled)
Active: inactive (dead)
Docs: http://www.freedesktop.org/wiki/Software/systemd/SystemUpdates
on shutdown pamac fails
# journalctl | grep pamac
Nov 22 18:54:16 PC dbus-daemon[1555]: [session uid=1001 pid=1555] Activating via systemd: service name='org.gtk.vfs.Metadata' unit='gvfs-metadata.service' requested by ':1.28' (uid=1001 pid=1822 comm="pamac checkupdates -q")
Nov 22 18:54:18 PC dbus-daemon[598]: [system] Activating via systemd: service name='org.manjaro.pamac.daemon' unit='pamac-daemon.service' requested by ':1.56' (uid=1001 pid=1800 comm="pamac checkupdates -q --refresh-tmp-files-dbs --us")
Nov 22 18:54:18 PC dbus-daemon[598]: [system] Successfully activated service 'org.manjaro.pamac.daemon'
Nov 22 18:54:19 PC systemd[1]: pamac-daemon.service: Deactivated successfully.
Nov 22 18:54:19 PC dbus-daemon[1555]: [session uid=1001 pid=1555] Activating via systemd: service name='org.freedesktop.Notifications' unit='mako.service' requested by ':1.24' (uid=1001 pid=1661 comm="pamac-tray-plasma")
Nov 22 18:58:02 PC systemd[1]: pamac-cleancache.timer: Deactivated successfully.
Nov 22 18:58:02 PC systemd[1]: pamac-mirrorlist.timer: Deactivated successfully.
Nov 22 18:58:04 PC systemd[1]: pamac-offline-upgrade.service: Main process exited, code=killed, status=15/TERM
Nov 22 18:58:04 PC systemd[1]: pamac-offline-upgrade.service: Failed with result 'signal'.
Starting service manually it installs the updates
# systemctl start pamac-offline-upgrade.service
# systemctl status pamac-offline-upgrade.service
○ pamac-offline-upgrade.service - Offline System Upgrade using Pamac
Loaded: loaded (/usr/lib/systemd/system/pamac-offline-upgrade.service; enabled; preset: disabled)
Active: inactive (dead) since Wed 2023-11-22 19:07:31 CET; 5s ago
Docs: http://www.freedesktop.org/wiki/Software/systemd/SystemUpdates
Process: 9539 ExecStartPre=/usr/bin/plymouth change-mode --updates (code=exited, status=1/FAILURE)
Process: 9540 ExecStartPre=/usr/bin/rm /system-update (code=exited, status=0/SUCCESS)
Process: 9541 ExecStart=/usr/bin/pamac upgrade --no-aur --no-confirm (code=exited, status=0/SUCCESS)
Process: 9626 ExecStartPost=/usr/bin/plymouth system-update --progress=50 (code=exited, status=1/FAILURE)
Process: 9627 ExecStartPost=/usr/bin/plymouth system-update --progress=100 (code=exited, status=1/FAILURE)
Process: 9628 ExecStartPost=/usr/bin/sleep 2 (code=exited, status=0/SUCCESS)
Main PID: 9541 (code=exited, status=0/SUCCESS)
CPU: 1.787s
Nov 22 19:07:27 PC systemd[1]: Starting Offline System Upgrade using Pamac...
Nov 22 19:07:31 PC systemd[1]: pamac-offline-upgrade.service: Deactivated successfully.
Nov 22 19:07:31 PC systemd[1]: Finished Offline System Upgrade using Pamac.
Nov 22 19:07:31 PC systemd[1]: pamac-offline-upgrade.service: Consumed 1.787s CPU time.
Conclusion
Can someone help me?
Thank you