This is a new install on a RPi 4b 32 Bit OS.
While customizing the KDE Plasma desktop, after numerous tries, and a couple of hours, I finally managed to screw things up.
Now whenever I try to do anything with pacman, I get the following:
Brace yourself, it's a sad tale.
$ sudo pacman -Syu
[sudo] password for don:
:: Synchronizing package databases…
core is up to date
extra is up to date
community is up to date
alarm is up to date
aur is up to date
endeavouros.db failed to download
error: failed retrieving file ‘endeavouros.db’ from ca.gate.endeavouros.com : error setting certificate verify locations: CAfile: /etc/ssl/certs/ca-certificates.crt CApath: none
error: failed retrieving file ‘endeavouros.db’ from mirrors.tuna.tsinghua.edu.cn : error setting certificate verify locations: CAfile: /etc/ssl/certs/ca-certificates.crt CApath: none
error: failed retrieving file ‘endeavouros.db’ from mirror.alpix.eu : error setting certificate verify locations: CAfile: /etc/ssl/certs/ca-certificates.crt CApath: none
error: failed retrieving file ‘endeavouros.db’ from de.freedif.org : error setting certificate verify locations: CAfile: /etc/ssl/certs/ca-certificates.crt CApath: none
error: failed retrieving file ‘endeavouros.db’ from mirror.moson.org : error setting certificate verify locations: CAfile: /etc/ssl/certs/ca-certificates.crt CApath: none
error: failed retrieving file ‘endeavouros.db’ from endeavour.remi.lu : error setting certificate verify locations: CAfile: /etc/ssl/certs/ca-certificates.crt CApath: none
error: failed retrieving file ‘endeavouros.db’ from mirror.jingk.ai : error setting certificate verify locations: CAfile: /etc/ssl/certs/ca-certificates.crt CApath: none
error: failed retrieving file ‘endeavouros.db’ from mirror.freedif.org : error setting certificate verify locations: CAfile: /etc/ssl/certs/ca-certificates.crt CApath: none
error: failed retrieving file ‘endeavouros.db’ from mirror.funami.tech : error setting certificate verify locations: CAfile: /etc/ssl/certs/ca-certificates.crt CApath: none
error: failed retrieving file ‘endeavouros.db’ from ftp.acc.umu.se : error setting certificate verify locations: CAfile: /etc/ssl/certs/ca-certificates.crt CApath: none
error: failed retrieving file ‘endeavouros.db’ from mirror.linux.pizza : error setting certificate verify locations: CAfile: /etc/ssl/certs/ca-certificates.crt CApath: none
error: failed retrieving file ‘endeavouros.db’ from mirror.archlinux.tw : error setting certificate verify locations: CAfile: /etc/ssl/certs/ca-certificates.crt CApath: none
error: failed retrieving file ‘endeavouros.db’ from fastmirror.pp.ua : error setting certificate verify locations: CAfile: /etc/ssl/certs/ca-certificates.crt CApath: none
error: failed retrieving file ‘endeavouros.db’ from mirrors.42tm.tech : error setting certificate verify locations: CAfile: /etc/ssl/certs/ca-certificates.crt CApath: none
error: failed to synchronize all databases (download library error)
I have tried to re-install ca-certificates to no avail because pacman will not do anything.
I went the the proper repository, and downloaded
https://archlinuxarm.org/packages/any/ca-certificates
it complained about a security issue, so I told it to download anyway. I used
pacman -U ca-cerificates-20210603-1-pkg-tar-xz
Still no joy.
Any ideas how to restore the certificates?
Pudge
EDIT:
the error says " endeavouros.db failed to download" but the endeavouros repos are okay as I did a pacman -Syu successfully on a different 32 Bit OS to check.