Package update (kernel included) frozen at "Running post-transaction hooks: (1/9) Reloading system manager configuration..."

I would not mess with your kernels at this point.

Try reinstalling systemd and systemd-sysvcompat and then run dracut-rebuild from within the chroot.

[root@EndeavourOS /]# pacman -S systemd systemd-sysvcompat
warning: systemd-252.4-2 is up to date -- reinstalling
warning: systemd-sysvcompat-252.4-2 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Package (2)              Old Version  New Version  Net Change  Download Size

core/systemd             252.4-2      252.4-2        0.00 MiB       7.42 MiB
core/systemd-sysvcompat  252.4-2      252.4-2        0.00 MiB       0.01 MiB

Total Download Size:    7.43 MiB
Total Installed Size:  28.35 MiB
Net Upgrade Size:       0.00 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 systemd-sysvcompat-252.4-2-x86_64          6.1 KiB  7.88 KiB/s 00:01 [--------------------------------------] 100%
 systemd-252.4-2-x86_64                     7.4 MiB  1013 KiB/s 00:08 [--------------------------------------] 100%
 Total (2/2)                                7.4 MiB   986 KiB/s 00:08 [--------------------------------------] 100%
(2/2) checking keys in keyring                                        [--------------------------------------] 100%
(2/2) checking package integrity                                      [--------------------------------------] 100%
(2/2) loading package files                                           [--------------------------------------] 100%
(2/2) checking for file conflicts                                     [--------------------------------------] 100%
:: Processing package changes...
(1/2) reinstalling systemd                                            [--------------------------------------] 100%
(2/2) reinstalling systemd-sysvcompat                                 [--------------------------------------] 100%
ldconfig: File /usr/lib/libmpfr.so is empty, not checked.
ldconfig: File /usr/lib/libctf.so.0 is empty, not checked.
ldconfig: File /usr/lib/libsframe.so is empty, not checked.
ldconfig: File /usr/lib/libbfd.so is empty, not checked.
ldconfig: File /usr/lib/libcc1.so.0 is empty, not checked.
ldconfig: File /usr/lib/libsframe.so.0.0.0 is empty, not checked.
ldconfig: File /usr/lib/libctf-nobfd.so.0.0.0 is empty, not checked.
ldconfig: File /usr/lib/libltdl.so.7 is empty, not checked.
ldconfig: File /usr/lib/libcc1.so.0.0.0 is empty, not checked.
ldconfig: File /usr/lib/libltdl.so is empty, not checked.
ldconfig: File /usr/lib/ld-linux.so.2 is empty, not checked.
ldconfig: File /usr/lib/libsframe.so.0 is empty, not checked.
ldconfig: File /usr/lib/libltdl.so.7.3.2 is empty, not checked.
ldconfig: File /usr/lib/libctf.so is empty, not checked.
ldconfig: File /usr/lib/libctf-nobfd.so.0 is empty, not checked.
ldconfig: File /usr/lib/libopcodes-2.40.so is empty, not checked.
ldconfig: File /usr/lib/libmpfr.so.6 is empty, not checked.
ldconfig: File /usr/lib/libctf-nobfd.so is empty, not checked.
ldconfig: File /usr/lib/libmpfr.so.6.2.0 is empty, not checked.
ldconfig: File /usr/lib/libctf.so.0.0.0 is empty, not checked.
ldconfig: File /usr/lib/libopcodes.so is empty, not checked.
ldconfig: File /usr/lib/libcc1.so is empty, not checked.
ldconfig: File /usr/lib/libbfd-2.40.so is empty, not checked.
:: Running post-transaction hooks...
( 1/12) Creating system user accounts...
( 2/12) Updating journal message catalog...
( 3/12) Reloading system manager configuration...
  Skipped: Running in chroot.
( 4/12) Updating udev hardware database...
( 5/12) Applying kernel sysctl settings...
  Skipped: Running in chroot.
( 6/12) Creating temporary files...
( 7/12) Reloading device manager configuration...
  Skipped: Running in chroot.
( 8/12) Arming ConditionNeedsUpdate...
( 9/12) Reloading system bus configuration...
  Skipped: Running in chroot.
(10/12) Check if user should be informed about rebooting after certain system package upgrades.
==> INFO: Reboot is recommended due to the upgrade of core system package(s).
(11/12) Checking which packages need to be rebuilt
awk: error while loading shared libraries: /usr/lib/libmpfr.so.6: file too short
awk: error while loading shared libraries: /usr/lib/libmpfr.so.6: file too short
awk: error while loading shared libraries: /usr/lib/libmpfr.so.6: file too short
awk: error while loading shared libraries: /usr/lib/libmpfr.so.6: file too short
awk: error while loading shared libraries: /usr/lib/libmpfr.so.6: file too short
awk: error while loading shared libraries: /usr/lib/libmpfr.so.6: file too short
awk: error while loading shared libraries: /usr/lib/libmpfr.so.6: file too short
awk: error while loading shared libraries: /usr/lib/libmpfr.so.6: file too short
(12/12) Updating systemd-boot
Skipping "/efi/EFI/systemd/systemd-bootx64.efi", since same boot loader version in place already.
Skipping "/efi/EFI/BOOT/BOOTX64.EFI", since same boot loader version in place already.
error: command failed to execute correctly

Before I proceed to run dracut-rebuild, is this something I should be concerned about? :thinking:

Yeah, that looks like either your filesystem filled up or became corrupt at some point.

If you have a bunch of empty files where your libs should be that is bad.

That sounds pleasant (not). Is reinstalling my best option right now? I am not against it, as I have my /home on a separate partition.

Would I be able to simply do a clean install and restore using Timeshift from before the disaster update, by the way? Or am I out of luck and should simply start from scratch using my leftover /home? I’ve never restored a TS backup before, so… :sweat_smile:

You could try this from within the chroot:

pacman -Syu $(pacman -Qqen) 
pacman --asdeps -S $(pacman -Qqdn) 

That will reinstall all your packages.

Thanks for the commands! I am running the first and will proceed to the second. If it still does not succeed I will call it a day, go to bed, and reinstall once I am awake. I have about 2.2 GB of packages in total to download now, it will take some time.

Do you have any idea as to what might have caused the machine to very conveniently froze during the post-install hook? Is it maybe one of the packages being updated simultaneously?

I just noticed that some of these packages contain the lib stuff that is missing in the error messages above. :joy:

Aaand it fails. I will accept my fate and do a fresh install. I am now scourging my old /home to copy my /.configs to an external drive lest it goes wrong again and I have completely start anew without the old partition. :upside_down_face:

Install finished! I am now reconfiguring my set up.

…However I conveniently forgot to format the EFI partition during set up, and as such, I have two kernel 6.1.3 entries in the boot menu. I have verified that one works well (it is from which I am running my system now). Can anyone help me with cleaning up unwanted systemd-boot entries?

Lesson learned though, do not be hasty and do not do things while running low on sleep.

FINAL EDIT bootctl list and rm’ed everything else I don’t need from the old install. Reinstalling my dear packages now. Thank you so much to everyone who dropped by and helped me out :smiley: Wish you a great morning/day/evening ahead. Will mark this solved for now, with the solution being… reinstall.

They are files in /efi/loader/entries/*. You can just delete the extra files.

I already did just that, thank you! I completely forgot bootctl list tells you which entry you are booted into. So I just eliminated the rest (except the usable fallback). Thank you so much again for your time and help! :bowing_woman:

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.