HOW TO: Choose your mirrors before installing Antergos

Choosing your Mirrors

Is your installment of Antergos taking a REALLY long time or failing to download packages?

Perhaps your mirror list needs to be changed. Your installment can be slow if the mirror Antergos picked is from, say, half way across the world rather than near you. To rectify this issue, you need to manually choose which mirrors Cnchi should use. To do so, simply:

  1. run the live CD
  2. Update the mirrorlists by running sudo pacman -S pacman-mirrorlist antergos-mirrorlist

     NOTE: Sometimes just updating the mirrorlist can solve the issue, but often it does not. To manually pick the mirror to use (e.g. the closest one to you) continue with these steps.

  3. Since you already had a mirrorlist, you must copy the new ones to the old ones by running these two commands:               sudo mv /etc/pacman.d/mirrorlist.pacnew /etc/pacman.d/mirrorlist

     followed by                                                                                                                                                                               sudo mv /etc/pacman.d/antergos-mirrorlist.pacnew /etc/pacman.d/antergos-mirrorlist

  4. Edit those two files, and leave just the mirrors you want to use (put a starting # in those that you don’t)
  5. Next, run pacman -Syy to check that the mirrors are working. However, you should never do this in an installed system, in an installed system always run pacman -Syuinstead.
  6. Finally, run Cnchi again but tell it to not rank your mirrors automatically using this command:                                             sudo -E cnchi -dv --disable-rank-mirrors

That's it! Your problem should now be solved. 

The above directions were a result of the work of @karasu, and not me. I only took what he had in the Forum and put it here for general use.

If This did not Work

...and you received something like this after step 2...

resolving dependencies...
looking for conflicting packages...
 
Packages (2) antergos-mirrorlist-20150715-1  pacman-mirrorlist-20150731-1
 
Total Installed Size:  0.04 MiB
Net Upgrade Size:      0.00 MiB
 
:: Proceed with installation? [Y/n] Y
(2/2) checking keys in keyring                     [######################] 100%
(2/2) checking package integrity                   [######################] 100%
error: antergos-mirrorlist: signature from "Antergos Build Server (Automated Package Build System) <admin@antergos.org>" is unknown trust
:: File /var/cache/pacman/pkg/antergos-mirrorlist-20150715-1-any.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] Y
error: failed to commit transaction (invalid or corrupted package (PGP signature))
Errors occurred, no packages were upgraded.
[antergos@antergos-iso pkg]$ pacman -S pacman-mirrorlist antergos-mirrorlisterror: you cannot perform this operation unless you are root.

 ...Then simply run the following commands:

 sudo pacman -Sccto clear the cache. Next, run sudo pacman -Syyuto update the system normally.

 

Hopefully this helps and good luck!

 

 

Contributors:

(Visited 462 times, 1 visits today)

Pin It on Pinterest

Share This