Get a site

Unrecognized archive format: pacman

This morning, while I was updating my operating system, I got this type of error:

error: could not open file /var/lib/pacman/sync/core.db: Unrecognized archive format

Where does this error come from?

Probably, the databases on my machine were not up to date, or it could have been an internet problem (I was connected to an open and free net).

Another suspect is the mirrorlist , which may have suffered a misalignment with the databases after a mirrorlist update.

Thus, in order to clear all of my doubts I just typed:

[[email protected]] ~ $ yaourt -Syy

or, if you use pacman:

[[email protected]] ~ $ sudo pacman -Syy

and the problem have been resolved. The command used simply forces refresh of all package lists after updating /etc/pacman.d/mirrorlist.

Anyway, this solved my trouble and now my package manager has came back working.

That’s all, happy hacking! GWH!

Published by Francesco Serafin

I am a PhD student at the Department of Civil, Environmental and Mechanical Engineering at the University of Trento. My two greatest loves: Computer Science and Water (take three with my Lenovo!:D). As a result, the aim of my life is to make both passions coexist. My gpg public key available at

Leave a Reply

Your email address will not be published.

%d bloggers like this: