Archlinux/pacman is broken on circleci

arch image can’t be used anymore. This simple config fails:

error: failed to initialize alpm library
(could not find or read directory: /var/lib/pacman/)

this is apparently due to this: FS#69563 : core/glibc 2.33 prevents Archlinux runing under systemd-nspawn

Hi @gquintard,

Sorry to hear you are having trouble running builds. I believe that we do not maintain Archlinux images ourselves. However, one workaround for this issue is to use a previous version of the image before it started breaking.

Previous version tags for the image can be found at Archlinux’s Docker Hub page:

One example of an image that should work is:

- image: archlinux:base-devel-20210131.0.14634

Another workaround would be to install a patched version of glibc.
You can run a command like this to install it:

curl -LO "" && bsdtar -C / -xvf "glibc-linux4-2.33-4-x86_64.pkg.tar.zst"

The above package is not maintained by CircleCI, so please be careful when running commands in your builds.

Please let me know if this helps!


Yes, we have applied the first fix, but since the issue seems to be caused by older kernelss, I was hoping you’d have some information on a potential infrastructure upgrade?