error: could not open file /var/lib/pacman/sync/community.db: Unrecognized archive format
sudo pacman-mirrors -f && sudo pacman -Syyu
I’ve done that couple of times but the error still remains.
I see two possibilities:
fsckon your drive
- delete the folder with the db
sudo rm -R /var/lib/pacman/sync
and try again
Still go no luck. That means I have to reinstall the OS?
What’s the output of:
As https://bbs.archlinux.org/viewtopic.php?id=146595 suggests, you can try a
pacman -Syyu to re-download the databases.
You can try reading the thread before posting. It was mentioned twice.
Either @fahimscirex solved the issue or gave up and installed something else. We may never know.
Oh yes, you are right. My bad.