You are not logged in.

#1 2021-07-22 21:52:57

Marko Borkovic
Member
Registered: 2021-07-22
Posts: 1

/var/lib/pacman/sync/core.db: Unrecognized archive format

I tried updating my system as usual.

 pacman -Su

But I got these errors

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

I've seen other people fix this issue by doing this:

rm -f /var/lib/pacman/sync/*
pacman -Syu

But this seems to not have fixed my issue.
After looking at the .db files it would appear they are some sort of a webpage.
This is what I get when I try putting the html in the browser.

https://i.imgur.com/T47r1Mc_d.webp?maxw … lity=grand

It would also seem I get this error when trying to install any package.

moderator edit -- replaced oversized image with link.
Pasting pictures and code

Last edited by 2ManyDogs (2021-07-22 22:44:43)

Offline

#2 2021-07-22 22:01:45

papajoke
Member
From: france
Registered: 2014-10-10
Posts: 40

Re: /var/lib/pacman/sync/core.db: Unrecognized archive format

duplicate ?
mirror not found and 404 return html page /or/ have html redirect from proxy

with curl, you can test url,

example, if is this mirror :

curl -IL http://mirrors.evowise.com/archlinux/core/os/x86_64/core.db
HTTP/1.1 301 Moved Permanently
Location: https://www.zerobounce.net

Last edited by papajoke (2021-07-22 22:33:57)


lts - zsh - Kde - Intel Core i3 - 6Go RAM - GeForce 405 video-nouveau

Offline

Board footer

Powered by FluxBB