You are not logged in.
Hi all,
I'm running into a series of errors when using pacstrap during a fresh Arch install as per the official guide. After executing:
pacstrap -K /mnt baseI get multiple failures during the post-transaction hooks. Here's a snippet of the output:
:: Running post-transaction hooks...
(1/11) Creating system user accounts...
Creating group 'alpm' with GID 971.
Creating user 'alpm' (Arch Linux Package Management) with UID 971 and GID 971.
(2/11) Updating journal message catalog...
(3/11) Reloading system manager configuration...
Failed to check for chroot() environment: Function not implemented
Failed to connect to system scope bus via local transport: No data available
error: command failed to execute correctly
(4/11) Reloading user manager configuration...
Failed to check for chroot() environment: Function not implemented
Failed to connect to system scope bus via local transport: No data available
error: command failed to execute correctly
(5/11) Updating udev hardware database...
(6/11) Applying kernel sysctl settings...
Failed to check for chroot() environment: Function not implemented
(7/11) Creating temporary files...
(8/11) Reloading device manager configuration...
Failed to check for chroot() environment: Function not implemented
LNXSYSTM:00: Failed to write 'change' to '/sys/devices/LNXSYSTM:00/uevent': Read-only file system
error: command failed to execute correctly
(9/11) Arming ConditionNeedsUpdate...
(10/11) Rebuilding certificate stores..
(11/11) Reloading system bus configuration...
Failed to check for chroot() environment: Function not implemented
Failed to connect to system scope bus via local transport: No data available
error: command failed to execute correctly
pacstrap -K /mnt base 6.32s user 5.65s system 51% cpu 23.202 totalIt seems like systemd-related hooks are failing due to missing or inaccessible resources in the chroot environment. I have tried solving it by updating the pacman mirrorlist
reflector --latest 5 --sort rate --save /etc/pacman.d/mirrorlistand updating the keyring
pacman -Syy archlinux-keyringBut none of that worked. I have also serached this forum but didn't find a post about this problem.
I am able to proceed until it is time to install `networkmanager` under arch-chroot. It leads to same post-completion hook errors. Moreover,
systemctl enable NetworkManagerleads to the following red color message:
Failed to connect to system scope bus via local transport: No data availableThis is my fifth time installing Arch from scratch and have never faced this issue before.
Last edited by mathmonk (2025-09-19 19:59:56)
Offline
There's a change in systemd 258 that is causing the issues:
- https://gitlab.archlinux.org/archlinux/ … /issues/54
- https://github.com/systemd/systemd/pull/39021
Last edited by correctmost (2025-09-19 18:49:30)
Offline
Thank you very much for the prompt response!
So the course of action is to wait for the bug fix and then try again?
Last edited by mathmonk (2025-09-19 01:02:15)
Offline
This should work now with the systemd 258-2 package.
Offline