Difference between revisions of "Pacman-mirrors"
Views
Actions
Namespaces
Variants
Tools
→The customizing
imported>Fhdk |
imported>Fhdk |
||
Line 197: | Line 197: | ||
Don't limit yourself too much. Pacman-mirrors will only use up-to-date mirrors in the final mirrorlist. | Don't limit yourself too much. Pacman-mirrors will only use up-to-date mirrors in the final mirrorlist. | ||
=== | ===Customizing the pool=== | ||
'''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 | |||
$ sudo pacman-mirrors -id && sudo pacman -Syy | $ sudo pacman-mirrors -id && sudo pacman -Syy | ||
'''Third option''' is supplying a list of countries with ''--country'' | |||
$ 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. | |||
Option 3 creates a reliable up-to-date mirrorlist from the mirrors available in the pool. | |||
===Resetting custom pool=== | |||
'''First option''' to reset is to default mirror pool | |||
$ sudo pacman-mirrors -call && sudo pacman -Syy | $ sudo pacman-mirrors -call && sudo pacman -Syy | ||
'''Second option''' to is to use ''--default'' with ''--interactive'' | |||
$ sudo pacman-mirrors -id && sudo pacman -Syy | $ sudo pacman-mirrors -id && sudo pacman -Syy | ||
* You will be presented with a list with all and every mirror and you can pick your selection. | * You will be presented with a list with all and every mirror and you can pick your selection. | ||
'''Third option''' is to supply a list of countries | |||
$ sudo pacman-mirrors -cGermany,France,Austria | $ sudo pacman-mirrors -cGermany,France,Austria | ||
* If you supply the same preferred countries on every reset you will get your mirror pool updated with added or removed mirrors. | * If you supply the same preferred countries on every reset you will get your mirror pool updated with added or removed mirrors. |