Errors updating repositories with Reflector

How can I fix errors when updating repositories to choose the fastest ones? And by the way, can you give me a command to solve this problem?

What are the errors? - if it is mirror down, the error is just informational.

Errors are related, for example, core.db, extra.db when error 404 appears.

Reflector Wiki: https://xyne.dev/projects/reflector/
Easy to understand.

Example:

sudo reflector --country UnitedStates,Canada,Germany,France,Brazil,Sweden --protocol https --latest 5 --sort rate --save /etc/pacman.d/mirrorlist

But also, I believe EOS has a script you can use. Maybe eos-update?

To troubleshoot better, please show the full reflector command you used, and all its output.

EndeavourOS has these tools available for ranking the Arch mirrors:

  • rate-mirrors
  • reflector
  • reflector-simple

Generally rate-mirrors seems a good choice. But if that fails, try the others.

Note that relying only on the speed of the mirrors you might end up having a poorly updated mirror as first in the mirrorlist.

1 Like