You are not logged in.

#1 2023-06-12 19:17:18

ahodges22
Member
Registered: 2023-06-12
Posts: 3

[SOLVED] Trying to figure out why this transaction hook is failing

I generally try install updates every couple days (via `pacman -Syu`) on my desktop running vanilla Arch. I noticed this last time I'm running into an error where pacman is failing to update due to failed transaction hooks. I ran `pacman -Syu --debug`, and got a little more detail on which hook is failing.

error: command failed to execute correctly
debug: returning error 32 from alpm_trans_commit (../lib/libalpm/trans.c: 202) : failed to run transaction hooks
error: failed to commit transaction (failed to run transaction hooks)
Errors occurred, no packages were upgraded.

Looks like this is related to pacman itself? I tried searching the forum here and didn't find anything related to this hook being broken. I'm not really sure where to go from here, any suggestions on what to try next to get this fixed? Thanks!

Update: ended up being the informant package, I removed that and the issue resolved

Last edited by ahodges22 (2023-06-12 22:29:33)

Offline

#2 2023-06-12 19:29:30

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,804

Re: [SOLVED] Trying to figure out why this transaction hook is failing

Please post the entire log for at least that update, not some out of context error.
Also nb. that bbs predates markdown by at least a decade, so please use [code][/code] tags. Edit your post in this regard.

Weclome to the arch forum wink

Offline

#3 2023-06-12 21:23:51

ahodges22
Member
Registered: 2023-06-12
Posts: 3

Re: [SOLVED] Trying to figure out why this transaction hook is failing

Ah apologies on the formatting, it's been a while since I've posted on forums and I've fixed that!

Here's the full output of my pacman debug log:
https://gist.github.com/ahodges22/b7399 … f1daf4c83a

Offline

#4 2023-06-12 21:33:43

loqs
Member
Registered: 2014-03-06
Posts: 18,824

Re: [SOLVED] Trying to figure out why this transaction hook is failing

(1/3) Checking Arch News with Informant ...
debug: executing "/usr/bin/informant" under chroot "/"
There are 10 unread news items! Use informant to read them.
[1;33m:: informant: [0mRun `informant read` before re-running your pacman command
debug: call to waitpid succeeded
error: command failed to execute correctly
debug: returning error 32 from alpm_trans_commit (../lib/libalpm/trans.c: 202) : failed to run transaction hooks
error: failed to commit transaction (failed to run transaction hooks)

https://github.com/bradford-smith94/inf … acman-hook

Offline

#5 2023-06-12 22:06:36

ahodges22
Member
Registered: 2023-06-12
Posts: 3

Re: [SOLVED] Trying to figure out why this transaction hook is failing

Ah yep, it was informant. Removed that package and now it's working again. Thanks!

Offline

#6 2023-06-12 22:27:27

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,804

Re: [SOLVED] Trying to figure out why this transaction hook is failing

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

Board footer

Powered by FluxBB