(2/5) e4rat-lite-git-update.hook
NOTICE: Boost has been updated. Please re-build e4rat-lite-git.
error: hook /usr/share/libalpm/hooks/e4rat-lite-git-update.hook line 8: invalid option ExecStart
error: failed to commit transaction (failed to run transaction hooks)
Exec=/bin/echo 'Notice ...'
Though it's interesting that systemd's on man pages (e.g., systemd.service(5)) include examples with Exec=echo which would (wrongly?) imply that it uses execvp rather than execv.
EDIT: technically I suppose that's "ExecStart=" examples, but also notable that "Exec=" doesn't even seem to be a documented option (though there is an example in the man page using it). Further, countless real examples show that ExecStart= does indeed use execvp (or does it's own path search which is less likely). So this error seems to be a combination of using a binary name without a path and using an undocumented "Exec=" directive in place of what should be "ExecStart=". So the real solution would almost certainly instead be the following:
ExecStart=echo 'Notice ...'
There's no shell, so there's no PATH. You need to specify the path to the executable.
This hook comes with package itself, may you be more verbose about your point?
]]>(13/30) Reloading system bus configuration...
(14/30) Warn about old perl modules
(15/30) e4rat-lite-git-update.hook
call to execv failed (No such file or directory)
error: command failed to execute correctly
(16/30) Updating fontconfig cache...
(17/30) Updating 32-bit fontconfig cache...
(18/30) Probing GDK-Pixbuf loader modules...
here is the e4rat-lite-git update hook
[Trigger]
Operation=Upgrade
Type=Package
Target=boost
[Action]
When=PostTransaction
Exec=echo 'NOTICE: Boost has been updated. Please re-build e4rat-lite-git.'
Depends=e4rat-lite-git