When updating your system on archlinux with pacman -Suy
, pacman gets package databases from somewhere and then downloads packages from mirrors according to versions specified in these databases.
I know these databases are in /var/lib/pacman/sync/
. My question is, where does pacman get them from?
The db files also come from the package mirrors specified in
/etc/pacman.d/mirrorlist
.For example in this core repo:
The wiki also mentions what to do if you get an error: