You are not logged in.
error: failed to initialize alpm library:
(root: /, dbpath: /var/lib/pacman/)
could not open databaseive tried pacman-db-upgrade and it wont work.
Last edited by PranshuTG (2022-08-12 04:51:34)
Offline
/var/lib/pacman had incorrect permissions. it needs 755 through chmod
although its still broken
Last edited by PranshuTG (2022-08-11 15:41:30)
Offline
What is the contents of /var/lib/pacman
ls -l /var/lib/pacmanOffline
I found my solutution:
mv /var/lib/pacman /var/lib/pacman.backup
pacman -Syy pacman
mv /var/lib/pacman.backup/local /var/lib/pacman/
pacman-db-upgradeOffline