You are not logged in.

#1 2016-06-10 03:32:39

penguin
Member
From: Gotham City
Registered: 2010-12-31
Posts: 163

Re-run post-transaction hooks?

I did a pacman -Syu yesterday, and during the post-transaction hook, when purging and updaring manpage index, it ran out of disk space.

(61/61) upgrading xorg-server                                                        [#################################################] 100%
:: Running post-transaction hooks...
(1/6) Purging old manpage index entries...
(2/6) Updating manpage index...
error: command terminated by signal 7: Bus error
(3/6) Updating the info directory file...
(4/6) Updating udev Hardware Database...
Failure writing database //etc/udev/hwdb.bin: No space left on device
error: command failed to execute correctly
(5/6) Rebuilding certificate stores...
(6/6) Updating the desktop file MIME type cache...

I've done a pacman -Scc, and now have 900 MB free, but how do I re-run the non-completed steps?

Offline

#2 2016-06-10 03:44:55

syg00
Member
Registered: 2006-01-11
Posts: 31

Re: Re-run post-transaction hooks?

Simply re-running the "pacman -Suy" has always worked for me.

Offline

#3 2016-06-10 04:00:38

penguin
Member
From: Gotham City
Registered: 2010-12-31
Posts: 163

Re: Re-run post-transaction hooks?

Not sure that worked. It does run:

:: Running post-transaction hooks...
(1/2) Updating manpage index...
(2/2) Updating the info directory file...

...but not the udev data base did not re-run, and it appears to have exited with errors in the previous run (see my first post).

Offline

#4 2016-06-10 04:19:08

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,384
Website

Re: Re-run post-transaction hooks?

You can see what triggers that hook in /usr/share/libalpm/hooks/udev-hwdb.hook.  Basically, run:

pacman -Qo /usr/lib/udev/hwdb.d/

and pick one of those packages to reinstall.


Hint: it was probably systemd...

Offline

#5 2016-06-10 04:43:30

syg00
Member
Registered: 2006-01-11
Posts: 31

Re: Re-run post-transaction hooks?

Wouldn't it just be simpler to run the "udevadm hwdb --update" ?.
And why the hell isn't that (still) in the manpage/info ?. (not directed at you Allan, just a mild general rant).

Offline

#6 2016-06-10 04:49:29

penguin
Member
From: Gotham City
Registered: 2010-12-31
Posts: 163

Re: Re-run post-transaction hooks?

OK, re-insalled systemd:

:: Running post-transaction hooks...
(1/2) Updating manpage index...
(2/2) Updating udev Hardware Database...

I guess that fixed the udev hook. I have an eerie feeling the man pages aren't "all there", as they were spending many minutes to regenerate in my inital update, before it failed. (I take for granted that the latest command I now ran only updated the manpage for systemd/udev stuff.)

Offline

Board footer

Powered by FluxBB