Difference between revisions of "Pacman-mirrors"

→‎Overview: Updated with info on --country argument
imported>Fhdk
(→‎Commands giving information: Added mirror status)
imported>Fhdk
(→‎Overview: Updated with info on --country argument)
Line 1,942: Line 1,942:


The '''-f''' or '''--fasttrack''' argument uses mirrors which are up-to-date for your branch. Optionally you can supply a number e.g. 10
The '''-f''' or '''--fasttrack''' argument uses mirrors which are up-to-date for your branch. Optionally you can supply a number e.g. 10
=== Continent ===
The --continent argument is using a geolocation function to create a custom mirror pool from countries within the geolocated continent.


=== Country ===
=== Country ===
Line 1,970: Line 1,973:


===Customizing the mirror pool===
===Customizing the mirror pool===
If you, for various reasons, have a preference for specific mirrors, it is possible to create a personal mirror pool. This is done by supplying ''--interactive [--default]'' or ''--country'' argument.
If you, for various reasons, have a preference for specific mirrors, it is possible to create a personal mirror pool. This is done by supplying ''--interactive [--default]'', ''--continent-- or ''--country'' argument.


====A word of caution====
====A word of caution====
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. Also observe this: Your custom mirror pool will not be changed - even if a mirror leaves service or becomes unmaintained. It is your reponsibility to maintain your custom mirror pool in the event the official mirrorpool is changed.


===Customizing pool===
===Customizing pool===
Line 1,987: Line 1,990:
  $ sudo pacman-mirrors --country Germany,France,Austria && sudo pacman -Syyu
  $ sudo pacman-mirrors --country Germany,France,Austria && sudo pacman -Syyu


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 to generate a mirrorlist.
'''Fourth option''' is ''--continent''. The countries used is determined by the continent they are assigned to and can optionally be combined with '''--interactive'''.
$ sudo pacman-mirrors --continent [--interactive]
 
Using ''--interactive'' option, pacman-mirrors will process the available mirrors and present you with a list in which you will select your desired mirrors. In any case the pool is saved and used to generate a mirrorlist.


====Syncronization status====
====Syncronization status====
Line 2,008: Line 2,014:
   $ sudo pacman-mirrors --country Germany,France,Austria && sudo pacman -Syyu
   $ sudo pacman-mirrors --country Germany,France,Austria && sudo pacman -Syyu
* 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.
The '''--continent''' option has a behavior similar to '''--country'''


=== Apply pacman-mirrors defaults ===
=== Apply pacman-mirrors defaults ===
Anonymous user