Category: pacman

Fixing a pacman error

When running pacman on my Archlinux installation it failed to start, with the following error:

failed to initialize alpm library

It turned that after a previous failed update command the folder /var/lib/pacman/ was missing. A simple command to recreate it
was enough to fix the error:

mkdir /var/lib/pacman/

Leave a Comment