Difference between revisions of "Pacman troubleshooting"

imported>Fhdk
imported>Fhdk
Line 17: Line 17:
  error: could not open file /var/lib/pacman/sync/multilib.db: Unrecognized archive format
  error: could not open file /var/lib/pacman/sync/multilib.db: Unrecognized archive format


The error relates to a mismatch in the information contained in the db files at the mentioned location and the db files at the first mirror in your mirrorlist.
The error relates to a mismatch in the information contained in the db files at the mentioned location and the db files at the first mirror in your mirrorlist. Pacman checks a package in the database and sees if the signature file matches the one in the database. If it does not, then pacman will say the package is corrupted.


While it sometimes is possible to fix the issue simply by deleting the files and the running a pacman update it far from every time.
While it sometimes is possible to fix the issue simply by deleting the files and the running a pacman update it far from every time.
Line 23: Line 23:
=== One recipe for fixing this ===
=== One recipe for fixing this ===


It is mandatory to ensure that the keyrings is current.
It is mandatory to ensure that the keyrings is current. By ensuring the keyrings are in shape and then redownloading the databases we reestablish the chain of trust between the keyrings and the packages.
 


'''You will have to find the correct names by looking at'''
'''You will have to find the correct names by looking at'''
Anonymous user