You are not logged in.
And now can't use aur utils or pacman.
I get the following error on pacman -Syu
aur.db failed to download
error: failed retrieving file 'aur.db' from disk : Couldn't open file /home/user/.aurrepo/aur.db
error: failed to synchronize all databases (unexpected error)
By doing a touch aur.db I could use pacman again but now aurutils aur sync -u does nothing.
Offline
Restore your aur.db aund your packages from your backup. If you do not have one, learn from it and rebuild your missing packages.
Offline
In order of ascending complication...
0. Restore your backup as mentioned above
1. Check pacman's copy of aur.db
cp /var/lib/pacman/sync/aur.db /home/user/.aurrepo/aur.db
2. Pass all packages that are now foreign to aur-build, it will repo-add existing packages where appropriate
xargs -a <(pacman -Qqm) aur sync
3. Pass the latest versions of all packages in the repository to repo-add
For the last option you can use pacsort with repo-add.
Last edited by Alad (2023-04-12 23:08:23)
Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby
Offline