I updated my system this morning and after reboot; my Welcome message tells me I have no internet connection (I do and most things work), my Steam client has stopped connecting, and I can no longer do a pacman system update.
Here is the output of ‘pacman -Syu’:
sudo pacman -Syu
[sudo] password for beyondlife:
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
multilib 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)
This led me to check the certificate path which is a symlink to “/etc/ca-certificates/extracted/tls-ca-bundle.pem”. This file appears to be empty.
I tried running ‘update-ca-trust’ and it appears to work correctly. All of the pem files get overwritten but they’re still all 0 byte files.
I tried reinstalling all of the ‘ca-certificates*’ packages using ‘sudo pacman -S $(pacman -Ssq ca-certificates)’ but it doesn’t seem to have made any difference.
Here is a list of the packages that upgraded this morning:
A little short on good details I’m afraid but Steam will not connect at all and just gives me a generic “Connection Error”. There is a toast notification welcome message that pops up briefly after the firewall activation prompt that says I’m not connected to the internet, aside from those 2 things and the endeavouros.db file not downloading, I haven’t noticed anything else just yet.
OK. I’d try temporarily commenting out the [endeavouros] repo in /etc/pacman.conf and then update system. That could either work or reveal other issues.
Commenting out the three EndeavourOS lines in the pacman.conf file did allow a system update to complete. Packages that updated were pretty inconsequential though; gsm, protobuf, & imagemagick.
I also noticed your previous comment about the archlinux-keyring. With those lines commented, I was also able to reinstall that package but no change in behaviour.
Enabling those lines again and attempting a another system update, the same errors occur.
Edit: Thanks for all your help thus far. I’ve been dealing with this all day and I’m really at my wits’ end. Also, I just realized it’s 3am here and I need to get some sleep. If you come up with anything else, I’ll test it later this morning.
######################################################
#### ####
### EndeavourOS Repository Mirrorlist ###
#### ####
######################################################
#### Entry in file /etc/pacman.conf:
### [endeavouros]
### SigLevel = PackageRequired
### Include = /etc/pacman.d/endeavouros-mirrorlist
######################################################
### Tip: Use the 'eos-rankmirrors' program to rank
### these mirrors or re-order them manually.
######################################################
## Canada
Server = https://ca.gate.endeavouros.com/endeavouros/repo/$repo/$arch
## China
Server = https://mirrors.tuna.tsinghua.edu.cn/endeavouros/repo/$repo/$arch
## Germany
Server = https://mirror.alpix.eu/endeavouros/repo/$repo/$arch
Server = https://de.freedif.org/EndeavourOS/repo/$repo/$arch
Server = https://mirror.moson.org/endeavouros/repo/$repo/$arch
## France
Server = https://endeavour.remi.lu/repo/$repo/$arch
## Singapore
Server = https://mirror.jingk.ai/endeavouros/repo/$repo/$arch
Server = https://mirror.freedif.org/EndeavourOS/repo/$repo/$arch
## South Korea
Server = https://mirror.funami.tech/endeavouros/repo/$repo/$arch
## Sweden
Server = https://ftp.acc.umu.se/mirror/endeavouros/repo/$repo/$arch
Server = https://mirror.linux.pizza/endeavouros/repo/$repo/$arch
## Taiwan
Server = https://mirror.archlinux.tw/EndeavourOS/repo/$repo/$arch
## Ukraine
Server = https://fastmirror.pp.ua/endeavouros/repo/$repo/$arch
## Vietnam
Server = https://mirrors.42tm.tech/endeavouros/repo/$repo/$arch
That reminds me of another issue. I tried to ‘pacman -S endeavouros-mirrorlist’ to make sure everything was up to date there and that led to this:
warning: endeavouros-mirrorlist-4.6-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
Package (1) Old Version New Version Net Change
endeavouros/endeavouros-mirrorlist 4.6-1 4.6-1 0.00 MiB
Total Installed Size: 0.00 MiB
Net Upgrade Size: 0.00 MiB
:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring [----------------------------------] 100%
(1/1) checking package integrity [----------------------------------] 100%
(1/1) loading package files [----------------------------------] 100%
(1/1) checking for file conflicts [----------------------------------] 100%
:: Processing package changes...
(1/1) reinstalling endeavouros-mirrorlist [----------------------------------] 100%
:: Running post-transaction hooks...
(1/3) Refreshing PackageKit...
(2/3) Hook to rank EndeavourOS mirrors after installing or upgrading the related mirrorlist package
eos-rankmirrors: error: internet connection not available!
(3/3) Checking which packages need to be rebuilt
‘sudo pacman -Syyu’ leads to the same errors as ‘sudo pacman -Syu’ but I get to see some progress bars for the other categories first.
I temporarily removed eos-rankmirrors and eos-mirrorlist reinstalled successfully. After creating the requested batch file and reinstalling eos-rankmirrors, I tried reinstalling eos-mirrorlist and I am seeing a different error message because it skips the online check.
pacman -S endeavouros-mirrorlist
warning: endeavouros-mirrorlist-4.6-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
Package (1) Old Version New Version Net Change
endeavouros/endeavouros-mirrorlist 4.6-1 4.6-1 0.00 MiB
Total Installed Size: 0.00 MiB
Net Upgrade Size: 0.00 MiB
:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring [----------------------------------] 100%
(1/1) checking package integrity [----------------------------------] 100%
(1/1) loading package files [----------------------------------] 100%
(1/1) checking for file conflicts [----------------------------------] 100%
:: Processing package changes...
(1/1) reinstalling endeavouros-mirrorlist [----------------------------------] 100%
:: Running post-transaction hooks...
(1/3) Refreshing PackageKit...
(2/3) Hook to rank EndeavourOS mirrors after installing or upgrading the related mirrorlist package
====> Fail: no response: mirror https://mirror.alpix.eu/endeavouros/repo/$repo/$arch, url https://mirror.alpix.eu/endeavouros/repo/state,
==> Creating /root/.config/curl-exit-code-to-string/curl-code-to-string-converter
====> Error code 77: 'Problem reading the SSL CA cert (path? access rights?).'
(3/3) Checking which packages need to be rebuilt
I was able to fix this temporarily by creating an EndeavourOS VM and copying the files from “/etc/ca-certificates/extracted/” to the same location on my local machine. However, if I run ‘update-ca-trust’, it wipes all of those files back to zeros. Unless anyone has other ideas, I guess I’ll just keep those files handy and wait for another future package update to maybe fix what has gone wrong.
Just ‘trust’ by itself gives no information since the command requires flags. Have a more specific command?
trust
usage: trust command <args>...
Common trust commands are:
list List trust or certificates
extract Extract certificates and trust
extract-compat Extract trust compatibility bundles
anchor Add, remove, change trust anchors
dump Dump trust objects in internal format
See 'trust <command> --help' for more information