#pacman - unrecognized archive format

1 messages · Page 1 of 1 (latest)

halcyon jackal
#

Running a fresh arch install and pacman refuses to install certain packages, like when running pacman -Syu. It runs through each mirror and they all throw an error,error: failed retrieving file 'core.db' from [mirror] : SSL certificate problem: self-signed certificate
I didn't run into this error on my other machine, pacman just worked out-of-the-box. Did I forget to install something during the install? Thanks.

raven swan
#

If you generate a new mirror list does this still happen?

halcyon jackal
#

I'm not sure how to do that. I know some distros use something like pacman-mirrorlist but that command doesn't exist on mine

raven swan
halcyon jackal
#

I take that back

#

it fixed one problem but caused a new one

#
:: Synchronizing package databases...
 core                                   29.1 KiB  15.6 KiB/s 00:02 [####################################] 100%
 extra                                  29.1 KiB   335 KiB/s 00:00 [####################################] 100%
 community                              29.1 KiB   283 KiB/s 00:00 [####################################] 100%
:: Starting full system upgrade...
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
 there is nothing to do
#

One site says to remove core.db, extra.db, and community.db and run pacman again. That wouldn't break anything would it?

#

I don't really have any critically important files on this machine so if I need to reinstall arch because pacman broke then I can reinstall arch

#

Or at least reboot with a live install

#

Update: That did not fix it