Difference between revisions of "Pacman-mirrors"

imported>Fhdk
(→‎Use: inserted description of network check)
imported>Fhdk
Line 14: Line 14:
First of all, a working internet connection is mandatory. From v4, Pacman-Mirrors will always check if network is online. It is doing so by pinging google with 3 packets.
First of all, a working internet connection is mandatory. From v4, Pacman-Mirrors will always check if network is online. It is doing so by pinging google with 3 packets.


The app is run by an ordinary user with superuser rights from the console
The app is run by an ordinary user with superuser rights from the console and when no arguments are given it will display a usage description as if '''-h''' had been given.


  $ sudo pacman-mirrors
  $ sudo pacman-mirrors


Exactly how the app generates the mirrorlist is controlled by supplying arguments on the commandline.  
Exactly how the app generates the mirrorlist is controlled by supplying arguments on the commandline.  
The available arguments is shown when the argument '''-h''' is given.


'''Important'''
'''Important'''
After every change to your mirrorlist it is mandatory to run an update on your pacman database
After every change to your mirrorlist it is mandatory to run an update on your pacman database


$ sudo pacman -Sy
$ sudo pacman -Sy


If you fail to do so, the issue/s which had you make change might not be solved.
If you fail to do so, the issue/s which had you make change might not be solved.
Anonymous user