Answer the question
In order to leave comments, you need to log in
Problem with pacman (database is incorrect version: /var/lib/pacman/) how to solve?
I install a minimal system arch linux
when installing grub : arch-chroot /mnt pacman -S grub-bios
swears by the following:
error:failed to initialize alpm library
(database is incorrect version: /var/lib/pacman/)
error: try running pacman-db-upgrade
pacman-db-upgrade
pacman-key --init
pacman-key --populate msys2
pacman-key --refresh-keys
==>ERROR: The keying file /usr/share/pacman/keyrings/msys2.gpg does not exist
==>ERROR: A specified local key could not be upgrade from keyserver
Answer the question
In order to leave comments, you need to log in
you mixed warm with soft)
your problem is not with pacman, but with the keys
with pacman you did everything right, it was recently updated and the version on the installer did not match the current one
, this should be enough
, but with the keys you have done something
there should only be :
pacman-key --init
pacman-key --populate archlinux
pacman-db-upgrade
pacman-key --init
pacman-key --populate archlinux
pacman-key --refresh-keys
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question