librechroot request for pacman-db-upgrade
sudo librechroot update
error: failed to initialize alpm library
(database is incorrect version: /var/lib/pacman/)
Updated by aurelien about 6 years ago
| > Checking runtime dependencies... | error: failed to initialize alpm library | (database is incorrect version: /var/lib/pacman/) | error: try running pacman-db-upgrade | > ERROR: 'pacman' returned a fatal error (255):
==> Copying log and package files out of the chroot...
Updated by alfplayer about 6 years ago
Running pacman-db-upgrade on the host upgrades the host system DB only, so it's not necessary for libretools. This is not a libretools issue strictly. After deleting /var/lib/archbuild/* librechroot installs a system with an upgraded pacman DB, and other chroots are then copied from that chroot, so DBs on copies have the new DB version.