Difference between revisions of "Pacman-mirrors"
→Customizing the pool
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 | ||
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. | |||
====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=== |