Getting error: command failed to execute correctly while Running post-transaction hooks

Hi,

I noticed around December 2, 2025 that I started getting the error message “error: command failed to execute correctly” while the Post Transaction Hooks of an upgrade were being processed.

Post Transaction Hooks Error which showed December 2 and 7, 2025:

:: Running post-transaction hooks...
( 1/12) Creating system user accounts...
( 2/12) Reloading system manager configuration...
( 3/12) Restarting marked services...
( 4/12) Arming ConditionNeedsUpdate...
( 5/12) Updating the MIME type database...
( 6/12) Updating module dependencies...
( 7/12) Install DKMS modules
==> dkms install --no-depmod acpi_call/1.2.2 -k 6.12.61-1-lts
Deprecated feature: CLEAN (/var/lib/dkms/acpi_call/1.2.2/source/dkms.conf)
==> depmod 6.12.61-1-lts
( 8/12) Updating initramfs...
:: Building initramfs for linux-lts (6.12.61-1-lts)
( 9/12) Checking for old perl modules...
(10/12) Check if user should be informed about rebooting after certain system package upgrades.
error: command failed to execute correctly
(11/12) Updating icon theme caches...
(12/12) Updating the desktop file MIME type cache...

I did check the /var/log/pacman.log output:

[2025-12-07T14:05:50-0500] [ALPM] running '20-systemd-sysusers.hook'...
[2025-12-07T14:05:51-0500] [ALPM] running '30-systemd-daemon-reload-system.hook'...
[2025-12-07T14:05:51-0500] [ALPM] running '30-systemd-restart-marked.hook'...
[2025-12-07T14:05:52-0500] [ALPM] running '30-systemd-update.hook'...
[2025-12-07T14:05:52-0500] [ALPM] running '30-update-mime-database.hook'...
[2025-12-07T14:05:53-0500] [ALPM] running '60-depmod.hook'...
[2025-12-07T14:05:55-0500] [ALPM] running '70-dkms-install.hook'...
[2025-12-07T14:05:55-0500] [ALPM-SCRIPTLET] ==> dkms install --no-depmod acpi_call/1.2.2 -k 6.12.61-1-lts
[2025-12-07T14:05:55-0500] [ALPM-SCRIPTLET] Deprecated feature: CLEAN (/var/lib/dkms/acpi_call/1.2.2/source/dkms.conf)
[2025-12-07T14:05:58-0500] [ALPM-SCRIPTLET] ==> depmod 6.12.61-1-lts
[2025-12-07T14:06:01-0500] [ALPM] running '90-dracut-install.hook'...
[2025-12-07T14:06:01-0500] [ALPM-SCRIPTLET] :: Building initramfs for linux-lts (6.12.61-1-lts)
[2025-12-07T14:06:15-0500] [ALPM] running 'detect-old-perl-modules.hook'...
[2025-12-07T14:06:15-0500] [ALPM] running 'eos-reboot-required.hook'...
[2025-12-07T14:06:15-0500] [ALPM] running 'gtk-update-icon-cache.hook'...
[2025-12-07T14:06:16-0500] [ALPM] running 'update-desktop-database.hook'...

I also checked the /etc/pacman.d/hooks/ directory:

❯ ls -al
total 16
drwxr-xr-x 2 root root 4096 Dec  2 03:07 .
drwxr-xr-x 5 root root 4096 Dec  4 11:43 ..
-rw-r--r-- 1 root root  323 Dec  2 03:06 fix-appstream-data.hook
-rw-r--r-- 1 root root  252 Apr 20  2023 update-grub-config.hook

I can see the fix-appstream-data.hook appears to have changed.

Question:

I’m trying to get some feedback on what might be causing the error.

@manual had commented on a previous bug. So I will ping you to this issue.

Source:

ls -l /usr/share/libalpm/hooks/ will host the hooks..

[11:44:21] joekamprad :: sway-prvt  ➜  ~ » ls -l /usr/share/libalpm/hooks/ | grep eos
-rw-r--r-- 1 root root 209 20. Nov 22:43 25-eos-os-release.hook
-rw-r--r-- 1 root root 199 20. Nov 22:43 eos-hooks.hook
-rw-r--r-- 1 root root 211 20. Nov 22:43 eos-lsb-release.hook
-rw-r--r-- 1 root root 280 20. Nov 22:43 eos-rankmirrors.hook

from what i can see the error is from eos-reboot-required.hook
As it is showing with the hook running:

(10/12) Check if user should be informed about rebooting after certain system package upgrades.
error: command failed to execute correctly

Does not say this is a real issue but seems not to be a general problem,

is there before too, so this should be one reason to trigger to inform about reboot to the user.

@kagetora13 is this Grub Bootloader and default dracut initbuilder is used or its using mkinitcpio?

With this info I can’t see any connection to eos-reboot-required.hook.

But the following seems interesting. Could you show the output from

pacman -Qo /var/lib/dkms/acpi_call/1.2.2/source/dkms.conf
pacman -Qo /etc/pacman.d/hooks/update-grub-config.hook
pacman -Qo /etc/pacman.d/hooks/fix-appstream-data.hook

These are the hooks I have in /usr/share/libalpm/hooks/:

❯ ls -l /usr/share/libalpm/hooks/
total 188
-rw-r--r-- 1 root root 233 Nov 10 04:11 20-systemd-sysusers.hook
-rw-r--r-- 1 root root 209 Nov 20 16:43 25-eos-os-release.hook
-rw-r--r-- 1 root root 226 Nov 10 04:11 30-systemd-binfmt.hook
-rw-r--r-- 1 root root 254 Nov 10 04:11 30-systemd-catalog.hook
-rw-r--r-- 1 root root 272 Nov 10 04:11 30-systemd-daemon-reload-system.hook
-rw-r--r-- 1 root root 266 Nov 10 04:11 30-systemd-daemon-reload-user.hook
-rw-r--r-- 1 root root 246 Nov 10 04:11 30-systemd-hwdb.hook
-rw-r--r-- 1 root root 215 Nov 10 04:11 30-systemd-restart-marked.hook
-rw-r--r-- 1 root root 231 Nov 10 04:11 30-systemd-sysctl.hook
-rw-r--r-- 1 root root 228 Nov 10 04:11 30-systemd-tmpfiles.hook
-rw-r--r-- 1 root root 261 Nov 10 04:11 30-systemd-udev-reload.hook
-rw-r--r-- 1 root root 227 Nov 10 04:11 30-systemd-update.hook
-rw-r--r-- 1 root root 293 Apr 23  2025 30-update-mime-database.hook
-rw-r--r-- 1 root root 276 Jul  2 02:43 40-fontconfig-config.hook
-rw-r--r-- 1 root root 243 Jun 18  2024 40-update-ca-trust.hook
-rw-r--r-- 1 root root 273 Mar 28  2025 60-depmod.hook
-rw-r--r-- 1 root root 205 Jun  4  2025 60-dracut-remove.hook
-rw-r--r-- 1 root root 317 Nov  3 17:45 70-dkms-install.hook
-rw-r--r-- 1 root root 306 Nov  3 17:45 70-dkms-upgrade.hook
-rw-r--r-- 1 root root 208 Oct 25 04:36 70-openssh-restart-sshd.hook
-rw-r--r-- 1 root root 293 Nov  3 17:45 71-dkms-remove.hook
-rw-r--r-- 1 root root 453 Jun  4  2025 90-dracut-install.hook
-rw-r--r-- 1 root root 357 Oct  2 17:37 90-update-appstream-cache.hook
-rw-r--r-- 1 root root 268 Apr 19  2024 accounts-daemon-restart.hook
-rw-r--r-- 1 root root 355 Mar  1  2025 dbus-reload.hook
-rw-r--r-- 1 root root 250 Sep 15 12:19 dconf-update.hook
-rw-r--r-- 1 root root 229 Jul 13 12:43 detect-old-perl-modules.hook
-rw-r--r-- 1 root root 199 Nov 20 16:43 eos-hooks.hook
-rw-r--r-- 1 root root 211 Nov 20 16:43 eos-lsb-release.hook
-rw-r--r-- 1 root root 280 Nov 20 16:43 eos-rankmirrors.hook
-rw-r--r-- 1 root root 837 Dec  2 15:05 eos-reboot-required.hook
-rw-r--r-- 1 root root 338 Jul  2 02:43 fontconfig-32.hook
-rw-r--r-- 1 root root 328 Jul  2 02:43 fontconfig.hook
-rw-r--r-- 1 root root 285 Oct 21 12:09 gdk-pixbuf-query-loaders-32.hook
-rw-r--r-- 1 root root 273 Oct 21 12:09 gdk-pixbuf-query-loaders.hook
-rw-r--r-- 1 root root 259 Nov 18 14:40 gio-querymodules-32.hook
-rw-r--r-- 1 root root 245 Nov 18 14:40 gio-querymodules.hook
-rw-r--r-- 1 root root 322 Nov 18 14:40 glib-compile-schemas.hook
-rw-r--r-- 1 root root 257 Nov 20 07:01 gtk4-querymodules.hook
-rw-r--r-- 1 root root 266 Sep 29 23:02 gtk-query-immodules-3.0.hook
-rw-r--r-- 1 root root 286 Nov 20 07:01 gtk-update-icon-cache.hook
-rw-r--r-- 1 root root 259 Sep 24 15:26 gvfsd.hook
-rw-r--r-- 1 root root 307 Dec 28  2024 texinfo-install.hook
-rw-r--r-- 1 root root 285 Dec 28  2024 texinfo-remove.hook
-rw-r--r-- 1 root root 231 Nov 26 11:40 unbound-trusted-key.hook
-rw-r--r-- 1 root root 263 Oct 26  2024 update-desktop-database.hook
-rw-r--r-- 1 root root 247 Nov 26 10:40 update-vlc-plugin-cache.hook

@kagetora13 is this Grub Bootloader and default dracut initbuilder is used or its using mkinitcpio?

Answer: I am using Grub and Dracut in my setup.

This is the output from checking the package versions:

❯ pacman -Qo /var/lib/dkms/acpi_call/1.2.2/source/dkms.conf
/usr/src/acpi_call-1.2.2/dkms.conf is owned by acpi_call-dkms 1.2.2-2

~
❯ pacman -Qo /etc/pacman.d/hooks/update-grub-config.hook
error: No package owns /etc/pacman.d/hooks/update-grub-config.hook

~
❯ pacman -Qo /etc/pacman.d/hooks/fix-appstream-data.hook
/etc/pacman.d/hooks/fix-appstream-data.hook is owned by libpamac-aur 11.7.4-1

The update-grub-config.hook is one I created to automatically run grubs commands after Grub is updated:

❯ cat  /etc/pacman.d/hooks/update-grub-config.hook
[Trigger]
Operation = Upgrade
Type = Package
Target = grub

[Action]
Description = Reinstall Grub when the package is updated
When = PostTransaction
Exec = /bin/sh -c "/usr/bin/grub-install --no-nvram && /usr/bin/grub-mkconfig -o /boot/grub/grub.cfg"

OK, thanks.

So far I’m not sure why the error is shown, but it seems the error is nothing to worry about.
I have seen a similar error output in some of my old installs, but have never seen anything bad happening related to it.

Just for the record, can you show what

pacman -Q eos-reboot-recommended

says.

Here you go:

❯ pacman -Q eos-reboot-recommended
eos-reboot-recommended 25.11.2-1

Do you need the content of any of these files?

/usr/bin/eos-reboot-required2
/usr/bin/eos-reboot-required3
/usr/lib/systemd/system/eos-reboot-required.service
/usr/lib/systemd/system/eos-reboot-required.timer
/usr/share/libalpm/hooks/eos-reboot-required.hook

I assume this install is from around 2021. My 2 other test laptops are newer installs (2025 + > 2021).

No, I assume they are up to date.

And do they show this error?

The other laptops have the same Zen and LTS kernels and they don’t show the error.

Thats why I would like to trace this problem and find the root cause.

@joekamprad

Just in case this helps, this laptop was using mkinitcpio. But then I switched to Dracut a couple years ago (when EndeavourOS made the recommendation).

I think the similar errors that I have seen have been related to systemd, and those VMs do not use dracut.

But now I’m not sure if I can find the VM that shows the error because I have so many of them, and have sometimes replaced a few VMs with a new install.

Since I have had the error twice since Dec 2, maybe I can help you trace it?

Sorry, not sure what you mean?

I’m saying that the error I reported just started happening around December 2, 2025. I update this system twice a week since 2021. My guess is a recent change is triggering the error.

That being said, if your not able to re-produce in your setup, I could use my setup to help you find the problem.

My gut feel has always been to do the root cause analysis to make sure we know the trigger of the error before summarily saying it is harmless.

To troubleshoot, maybe running pacman in debug mode to install e.g. linux or mesa might reveal more details about the error.

To confirm, I should run this and capture the terminal output:

pacman --debug -S linux linux-headers

Just linux is enough I think, yes.
Or maybe try it without debug first to see if the error message appears.

I ran:

pacman --debug -S linux linux-headers`

And did not get any errors for post transaction:

debug: extracting /usr/src/linux
debug: updating database
debug: adding database entry 'linux-headers'
debug: writing linux-headers-6.17.9.arch1-1 DESC information back to db
debug: writing linux-headers-6.17.9.arch1-1 FILES information back to db
debug: adding entry 'linux-headers' in 'local' cache
debug: running ldconfig
debug: executing "/usr/bin/ldconfig" under chroot "/"
debug: unregistering database 'local'
debug: freeing package cache for repository 'local'
debug: unregistering database 'endeavouros'
debug: freeing package cache for repository 'endeavouros'
debug: unregistering database 'core'
debug: freeing package cache for repository 'core'
debug: unregistering database 'extra'
debug: unregistering database 'multilib'
debug: call to waitpid succeeded
debug: parsing hook file /etc/pacman.d/hooks/fix-appstream-data.hook
debug: parsing hook file /etc/pacman.d/hooks/update-grub-config.hook
debug: parsing hook file /usr/share/libalpm/hooks/dconf-update.hook
debug: parsing hook file /usr/share/libalpm/hooks/texinfo-install.hook
debug: parsing hook file /usr/share/libalpm/hooks/update-desktop-database.hook
debug: parsing hook file /usr/share/libalpm/hooks/40-update-ca-trust.hook
debug: parsing hook file /usr/share/libalpm/hooks/gtk-update-icon-cache.hook
debug: parsing hook file /usr/share/libalpm/hooks/20-systemd-sysusers.hook
debug: parsing hook file /usr/share/libalpm/hooks/30-systemd-restart-marked.hook
debug: parsing hook file /usr/share/libalpm/hooks/30-systemd-catalog.hook
debug: parsing hook file /usr/share/libalpm/hooks/30-systemd-update.hook
debug: parsing hook file /usr/share/libalpm/hooks/90-dracut-install.hook
debug: parsing hook file /usr/share/libalpm/hooks/30-update-mime-database.hook
debug: parsing hook file /usr/share/libalpm/hooks/eos-rankmirrors.hook
debug: parsing hook file /usr/share/libalpm/hooks/30-systemd-hwdb.hook
debug: parsing hook file /usr/share/libalpm/hooks/gdk-pixbuf-query-loaders.hook
debug: parsing hook file /usr/share/libalpm/hooks/25-eos-os-release.hook
debug: parsing hook file /usr/share/libalpm/hooks/60-depmod.hook
debug: parsing hook file /usr/share/libalpm/hooks/70-dkms-install.hook
debug: parsing hook file /usr/share/libalpm/hooks/update-vlc-plugin-cache.hook
debug: parsing hook file /usr/share/libalpm/hooks/eos-hooks.hook
debug: parsing hook file /usr/share/libalpm/hooks/30-systemd-daemon-reload-system.hook
debug: parsing hook file /usr/share/libalpm/hooks/40-fontconfig-config.hook
debug: parsing hook file /usr/share/libalpm/hooks/gdk-pixbuf-query-loaders-32.hook
debug: parsing hook file /usr/share/libalpm/hooks/30-systemd-daemon-reload-user.hook
debug: parsing hook file /usr/share/libalpm/hooks/gtk4-querymodules.hook
debug: parsing hook file /usr/share/libalpm/hooks/unbound-trusted-key.hook
debug: parsing hook file /usr/share/libalpm/hooks/eos-lsb-release.hook
debug: parsing hook file /usr/share/libalpm/hooks/60-dracut-remove.hook
debug: parsing hook file /usr/share/libalpm/hooks/fontconfig.hook
debug: parsing hook file /usr/share/libalpm/hooks/71-dkms-remove.hook
debug: parsing hook file /usr/share/libalpm/hooks/gio-querymodules-32.hook
debug: parsing hook file /usr/share/libalpm/hooks/fontconfig-32.hook
debug: parsing hook file /usr/share/libalpm/hooks/70-openssh-restart-sshd.hook
debug: parsing hook file /usr/share/libalpm/hooks/gtk-query-immodules-3.0.hook
debug: parsing hook file /usr/share/libalpm/hooks/90-update-appstream-cache.hook
debug: parsing hook file /usr/share/libalpm/hooks/gio-querymodules.hook
debug: parsing hook file /usr/share/libalpm/hooks/gvfsd.hook
debug: parsing hook file /usr/share/libalpm/hooks/texinfo-remove.hook
debug: parsing hook file /usr/share/libalpm/hooks/accounts-daemon-restart.hook
debug: parsing hook file /usr/share/libalpm/hooks/70-dkms-upgrade.hook
debug: parsing hook file /usr/share/libalpm/hooks/eos-reboot-required.hook
debug: parsing hook file /usr/share/libalpm/hooks/30-systemd-binfmt.hook
debug: parsing hook file /usr/share/libalpm/hooks/30-systemd-udev-reload.hook
debug: parsing hook file /usr/share/libalpm/hooks/30-systemd-tmpfiles.hook
debug: parsing hook file /usr/share/libalpm/hooks/dbus-reload.hook
debug: parsing hook file /usr/share/libalpm/hooks/glib-compile-schemas.hook
debug: parsing hook file /usr/share/libalpm/hooks/30-systemd-sysctl.hook
debug: parsing hook file /usr/share/libalpm/hooks/detect-old-perl-modules.hook
:: Running post-transaction hooks...
(1/4) Arming ConditionNeedsUpdate...
debug: executing "/usr/share/libalpm/scripts/systemd-hook" under chroot "/"
debug: unregistering database 'local'
debug: freeing package cache for repository 'local'
debug: unregistering database 'endeavouros'
debug: freeing package cache for repository 'endeavouros'
debug: unregistering database 'core'
debug: freeing package cache for repository 'core'
debug: unregistering database 'extra'
debug: unregistering database 'multilib'
debug: call to waitpid succeeded
(2/4) Updating module dependencies...
debug: executing "/usr/share/libalpm/scripts/depmod" under chroot "/"
debug: unregistering database 'local'
debug: freeing package cache for repository 'local'
debug: unregistering database 'endeavouros'
debug: freeing package cache for repository 'endeavouros'
debug: unregistering database 'core'
debug: freeing package cache for repository 'core'
debug: unregistering database 'extra'
debug: unregistering database 'multilib'
debug: call to waitpid succeeded
(3/4) Install DKMS modules
debug: executing "/usr/share/libalpm/scripts/dkms" under chroot "/"
debug: unregistering database 'local'
debug: freeing package cache for repository 'local'
debug: unregistering database 'endeavouros'
debug: freeing package cache for repository 'endeavouros'
debug: unregistering database 'core'
debug: freeing package cache for repository 'core'
debug: unregistering database 'extra'
debug: unregistering database 'multilib'
==> dkms install --no-depmod acpi_call/1.2.2 -k 6.17.9-arch1-1
Deprecated feature: CLEAN (/var/lib/dkms/acpi_call/1.2.2/source/dkms.conf)
==> depmod 6.17.9-arch1-1
debug: call to waitpid succeeded
(4/4) Updating initramfs...
debug: executing "/usr/share/libalpm/scripts/dracut-install" under chroot "/"
debug: unregistering database 'local'
debug: freeing package cache for repository 'local'
debug: unregistering database 'endeavouros'
debug: freeing package cache for repository 'endeavouros'
debug: unregistering database 'core'
debug: freeing package cache for repository 'core'
debug: unregistering database 'extra'
debug: unregistering database 'multilib'
:: Building initramfs for linux (6.17.9-arch1-1)
debug: call to waitpid succeeded
debug: unregistering database 'local'
debug: freeing package cache for repository 'local'
debug: unregistering database 'endeavouros'
debug: freeing package cache for repository 'endeavouros'
debug: unregistering database 'core'
debug: freeing package cache for repository 'core'
debug: unregistering database 'extra'
debug: unregistering database 'multilib'

~ took 53s
❯

Unfortunately the output was greater then my 10,000 terminal buffer.

I went ahead and re-installed the Linux-LTS kernel and got the error:

Command I ran:

sudo pacman --debug -S linux-lts linux-lts-headers

Output from terminal:

debug: updating database
debug: adding database entry 'linux-lts-headers'
debug: writing linux-lts-headers-6.12.61-1 DESC information back to db
debug: writing linux-lts-headers-6.12.61-1 FILES information back to db
debug: adding entry 'linux-lts-headers' in 'local' cache
debug: running ldconfig
debug: executing "/usr/bin/ldconfig" under chroot "/"
debug: unregistering database 'local'
debug: freeing package cache for repository 'local'
debug: unregistering database 'endeavouros'
debug: freeing package cache for repository 'endeavouros'
debug: unregistering database 'core'
debug: freeing package cache for repository 'core'
debug: unregistering database 'extra'
debug: unregistering database 'multilib'
debug: call to waitpid succeeded
debug: parsing hook file /etc/pacman.d/hooks/fix-appstream-data.hook
debug: parsing hook file /etc/pacman.d/hooks/update-grub-config.hook
debug: parsing hook file /usr/share/libalpm/hooks/dconf-update.hook
debug: parsing hook file /usr/share/libalpm/hooks/texinfo-install.hook
debug: parsing hook file /usr/share/libalpm/hooks/update-desktop-database.hook
debug: parsing hook file /usr/share/libalpm/hooks/40-update-ca-trust.hook
debug: parsing hook file /usr/share/libalpm/hooks/gtk-update-icon-cache.hook
debug: parsing hook file /usr/share/libalpm/hooks/20-systemd-sysusers.hook
debug: parsing hook file /usr/share/libalpm/hooks/30-systemd-restart-marked.hook
debug: parsing hook file /usr/share/libalpm/hooks/30-systemd-catalog.hook
debug: parsing hook file /usr/share/libalpm/hooks/30-systemd-update.hook
debug: parsing hook file /usr/share/libalpm/hooks/90-dracut-install.hook
debug: parsing hook file /usr/share/libalpm/hooks/30-update-mime-database.hook
debug: parsing hook file /usr/share/libalpm/hooks/eos-rankmirrors.hook
debug: parsing hook file /usr/share/libalpm/hooks/30-systemd-hwdb.hook
debug: parsing hook file /usr/share/libalpm/hooks/gdk-pixbuf-query-loaders.hook
debug: parsing hook file /usr/share/libalpm/hooks/25-eos-os-release.hook
debug: parsing hook file /usr/share/libalpm/hooks/60-depmod.hook
debug: parsing hook file /usr/share/libalpm/hooks/70-dkms-install.hook
debug: parsing hook file /usr/share/libalpm/hooks/update-vlc-plugin-cache.hook
debug: parsing hook file /usr/share/libalpm/hooks/eos-hooks.hook
debug: parsing hook file /usr/share/libalpm/hooks/30-systemd-daemon-reload-system.hook
debug: parsing hook file /usr/share/libalpm/hooks/40-fontconfig-config.hook
debug: parsing hook file /usr/share/libalpm/hooks/gdk-pixbuf-query-loaders-32.hook
debug: parsing hook file /usr/share/libalpm/hooks/30-systemd-daemon-reload-user.hook
debug: parsing hook file /usr/share/libalpm/hooks/gtk4-querymodules.hook
debug: parsing hook file /usr/share/libalpm/hooks/unbound-trusted-key.hook
debug: parsing hook file /usr/share/libalpm/hooks/eos-lsb-release.hook
debug: parsing hook file /usr/share/libalpm/hooks/60-dracut-remove.hook
debug: parsing hook file /usr/share/libalpm/hooks/fontconfig.hook
debug: parsing hook file /usr/share/libalpm/hooks/71-dkms-remove.hook
debug: parsing hook file /usr/share/libalpm/hooks/gio-querymodules-32.hook
debug: parsing hook file /usr/share/libalpm/hooks/fontconfig-32.hook
debug: parsing hook file /usr/share/libalpm/hooks/70-openssh-restart-sshd.hook
debug: parsing hook file /usr/share/libalpm/hooks/gtk-query-immodules-3.0.hook
debug: parsing hook file /usr/share/libalpm/hooks/90-update-appstream-cache.hook
debug: parsing hook file /usr/share/libalpm/hooks/gio-querymodules.hook
debug: parsing hook file /usr/share/libalpm/hooks/gvfsd.hook
debug: parsing hook file /usr/share/libalpm/hooks/texinfo-remove.hook
debug: parsing hook file /usr/share/libalpm/hooks/accounts-daemon-restart.hook
debug: parsing hook file /usr/share/libalpm/hooks/70-dkms-upgrade.hook
debug: parsing hook file /usr/share/libalpm/hooks/eos-reboot-required.hook
debug: parsing hook file /usr/share/libalpm/hooks/30-systemd-binfmt.hook
debug: parsing hook file /usr/share/libalpm/hooks/30-systemd-udev-reload.hook
debug: parsing hook file /usr/share/libalpm/hooks/30-systemd-tmpfiles.hook
debug: parsing hook file /usr/share/libalpm/hooks/dbus-reload.hook
debug: parsing hook file /usr/share/libalpm/hooks/glib-compile-schemas.hook
debug: parsing hook file /usr/share/libalpm/hooks/30-systemd-sysctl.hook
debug: parsing hook file /usr/share/libalpm/hooks/detect-old-perl-modules.hook
:: Running post-transaction hooks...
(1/5) Arming ConditionNeedsUpdate...
debug: executing "/usr/share/libalpm/scripts/systemd-hook" under chroot "/"
debug: unregistering database 'local'
debug: freeing package cache for repository 'local'
debug: unregistering database 'endeavouros'
debug: freeing package cache for repository 'endeavouros'
debug: unregistering database 'core'
debug: freeing package cache for repository 'core'
debug: unregistering database 'extra'
debug: unregistering database 'multilib'
debug: call to waitpid succeeded
(2/5) Updating module dependencies...
debug: executing "/usr/share/libalpm/scripts/depmod" under chroot "/"
debug: unregistering database 'local'
debug: freeing package cache for repository 'local'
debug: unregistering database 'endeavouros'
debug: freeing package cache for repository 'endeavouros'
debug: unregistering database 'core'
debug: freeing package cache for repository 'core'
debug: unregistering database 'extra'
debug: unregistering database 'multilib'
debug: call to waitpid succeeded
(3/5) Install DKMS modules
debug: executing "/usr/share/libalpm/scripts/dkms" under chroot "/"
debug: unregistering database 'local'
debug: freeing package cache for repository 'local'
debug: unregistering database 'endeavouros'
debug: freeing package cache for repository 'endeavouros'
debug: unregistering database 'core'
debug: freeing package cache for repository 'core'
debug: unregistering database 'extra'
debug: unregistering database 'multilib'
==> dkms install --no-depmod acpi_call/1.2.2 -k 6.12.61-1-lts
Deprecated feature: CLEAN (/var/lib/dkms/acpi_call/1.2.2/source/dkms.conf)
==> depmod 6.12.61-1-lts
debug: call to waitpid succeeded
(4/5) Updating initramfs...
debug: executing "/usr/share/libalpm/scripts/dracut-install" under chroot "/"
debug: unregistering database 'local'
debug: freeing package cache for repository 'local'
debug: unregistering database 'endeavouros'
debug: freeing package cache for repository 'endeavouros'
debug: unregistering database 'core'
debug: freeing package cache for repository 'core'
debug: unregistering database 'extra'
debug: unregistering database 'multilib'
:: Building initramfs for linux-lts (6.12.61-1-lts)
debug: call to waitpid succeeded
(5/5) Check if user should be informed about rebooting after certain system package upgrades.
debug: executing "/usr/bin/eos-reboot-required2" under chroot "/"
debug: unregistering database 'local'
debug: freeing package cache for repository 'local'
debug: unregistering database 'endeavouros'
debug: freeing package cache for repository 'endeavouros'
debug: unregistering database 'core'
debug: freeing package cache for repository 'core'
debug: unregistering database 'extra'
debug: unregistering database 'multilib'
debug: call to waitpid succeeded
error: command failed to execute correctly
debug: unregistering database 'local'
debug: freeing package cache for repository 'local'
debug: unregistering database 'endeavouros'
debug: freeing package cache for repository 'endeavouros'
debug: unregistering database 'core'
debug: freeing package cache for repository 'core'
debug: unregistering database 'extra'
debug: unregistering database 'multilib'
1 Like

Thanks for the output! :+1:

Looks like eos-reboot-required2 returned an unsuccessful exit code under certain conditions when there was no error. So the error message was just a false alarm. This was caused by a recent change in that file.
Sorry about that, and thanks for helping me find the root cause for the (annoying and) unnecessary error message.

This will be fixed in package eos-reboot-recommended version 25.12-1.