I wanted to update my system and got the following error :
Fehler: Konnte Datei 'endeavouros.db' nicht von mirror.alpix.eu übertragen : SSL certificate problem: certificate has expired
As reflector-simple only updates the Arch repositories (not EndeavourOS repository) I excluded mirror.alpix.eu in /etc/pacman.d/endeavouros.mirrorlist for this update. This solved the problem. Maybe one of the team members can have a look.
after that I tried to change the mirrot list inside welcome but the mirrorlist is written to:
/etc/pacman.d/mirror.list
and
/etc/pacman.d/endeavouros-mirrorlist
still includes the broken mirror server
current /etc/pacman.d/endeavouros-mirrorlist
# Server list generated by rankmirrors on 2020-12-24
######################################################
#### ####
### EndeavourOS Repository Mirrorlist ###
#### ####
######################################################
#### Entry in file /etc/pacman.conf:
### [endeavouros]
### SigLevel = PackageRequired
### Include = /etc/pacman.d/endeavouros-mirrorlist
######################################################
#Server = https://mirror.alpix.eu/endeavouros/repo/$repo/$arch
Server = https://ftp.acc.umu.se/mirror/endeavouros/repo/$repo/$arch
Server = https://raw.githubusercontent.com/endeavouros-team/repo/master/$repo/$arch
Server = https://mirrors.tuna.tsinghua.edu.cn/endeavouros/repo/$repo/$arch
Server = https://mirror.linux.pizza/endeavouros/repo/$repo/$arch
should I remove all the entries from /etc/pacman.d/endeavouros-mirrorlist so that /etc/pacman.d/mirror.list is used instead?
Or should I keep both:
/etc/pacman.d/endeavouros-mirrorlist
and
/etc/pacman.d/mirror.list
???
You should need both. One is for Arch repos and the other for EnOS’.
You could use eos-rankmirrors to rank the mirrors in /etc/pacman.d/endeavouros-mirrorlist.
# EndeavourOS mirrorlist:
Server = https://mirror.erickochen.nl/endeavouros/repo/$repo/$arch
Server = https://mirror.moson.org/endeavouros/repo/$repo/$arch
Server = https://de.freedif.org/EndeavourOS/repo/$repo/$arch
Server = https://mirror.linux.pizza/endeavouros/repo/$repo/$arch
Server = https://ftp.acc.umu.se/mirror/endeavouros/repo/$repo/$arch
Server = https://endeavour.remi.lu/repo/$repo/$arch
Server = http://mirror.jingk.ai/endeavouros/repo/$repo/$arch
Server = https://ca.gate.endeavouros.com/endeavouros/repo/$repo/$arch
Server = https://mirror.jingk.ai/endeavouros/repo/$repo/$arch
Server = https://mirror.freedif.org/EndeavourOS/repo/$repo/$arch
By defaul, the mirrors are ranked by age, that is the most recent synchronized mirror first etc.
$ eos-rankmirrors --help
Usage: eos-rankmirrors [options]
Options:
--sort <value>
Primary key for sorting the mirrors.
Supported key values:
age (latest first)
rate (fastest first)
Default: age.
--timeout <value>
-t <value>
Set the timeout value (in seconds) for checking a mirror.
Default: 2.
--no-save
-n
Don't save the generated mirrorlist.
--verbose
Show more detailed output.
--help
-h
This help.
The good thing is: You don’t need to trust any of the servers.
All packages are pgp signed and their signature is checked during package installation.
So, if there is some package that has been tampered with, it’ll fail to install.
luckily we have some more mirrors so pacman will simply take the next if one is failing, and updating will work also if you only have one mirror in the list (at least for the endeavouros repo)