Difference between revisions of "Pacman-mirrors"

imported>Fhdk
imported>Fhdk
Line 198: Line 198:


===Customizing the pool===
===Customizing the pool===
The customized pool is saved as <code>/var/lib/pacman-mirrors/custom-mirrors.json</code>


'''First option'' is using ''--interactive''. It uses your current mirror pool(wether default or custom)
'''First option''' is using ''--interactive''. It uses your current mirror pool(wether default or custom)
  $ sudo pacman-mirrors -i && sudo pacman -Syy
  $ sudo pacman-mirrors -i && sudo pacman -Syy


'''Second option'' is using ''--interactive --default''. This force the use of the official mirror pool
'''Second option''' is using ''--interactive --default''. This force the use of the official mirror pool
  $ sudo pacman-mirrors -id && sudo pacman -Syy
  $ sudo pacman-mirrors -id && sudo pacman -Syy


Line 208: Line 209:
  $ sudo pacman-mirrors -cGermany,France,Austria && sudo pacman -Syy
  $ sudo pacman-mirrors -cGermany,France,Austria && sudo pacman -Syy


With option 1 and 2 pacman-mirrors will process the available mirrors and present you with a list in which you will select your desired mirrors. The resulting mirror pool will be saved to <code>/var/lib/pacman-mirrors/custom-mirrors.json</code> and used every time you run pacman-mirrors.
Using ''Option 1 and 2'', pacman-mirrors will process the available mirrors and present you with a list in which you will select your desired mirrors. ''Option 3'' creates a pool from the supplied countries. In either case the pool is saved and used and used to generate a mirrorlist.


Option 3 creates a reliable up-to-date mirrorlist from the mirrors available in the pool.
====Syncronization status====
Pacman-mirrors downloads a status file for the default mirror pool. When you want to regenerate your mirrorlist, your custom pool is updated with the info from newly downloaded status file.
 
This ensures you will '''always''' use up-to-date mirrors.


===Resetting custom pool===
===Resetting custom pool===
Anonymous user