Difference between revisions of "Pacman-mirrors"
no edit summary
imported>Fhdk (→TL:DR) |
imported>Fhdk |
||
Line 112: | Line 112: | ||
In such a situation, where you have pulled software from another branch, you must be prepared for messages from pacman or pamac about newer packages on the system. These messages can safely be ignored and they dissappear when the installed package(s) reaches stable branch | In such a situation, where you have pulled software from another branch, you must be prepared for messages from pacman or pamac about newer packages on the system. These messages can safely be ignored and they dissappear when the installed package(s) reaches stable branch | ||
=== Your personal mirrorlist === | ===Your personal mirrorlist=== | ||
If you, for various reasons, have a preference for specific mirrors, it is possible to create a personal mirrorlist. This is done by supplying ''interactive'' argument. | If you, for various reasons, have a preference for specific mirrors, it is possible to create a personal mirrorlist. This is done by supplying ''interactive'' argument. | ||
Line 119: | Line 119: | ||
Pacman-mirrors will process the available mirrors and present you with a list in which you will select your desired mirrors. The resulting list will be saved to the system and used each time you run pacman-mirrors. | Pacman-mirrors will process the available mirrors and present you with a list in which you will select your desired mirrors. The resulting list will be saved to the system and used each time you run pacman-mirrors. | ||
When you want to reset the list to default run | |||
$ sudo pacman-mirrors --country all | $ sudo pacman-mirrors --country all | ||
===Fasttrack=== | ===Fasttrack=== | ||
The following arguments '''-c -i -m --geoip''' will not work in conjunction with '''-f'''. | |||
The smaller number of mirrors you choose for your mirrorlist, the possibility of getting a not so responsive mirror increases, since only the first '''n''' in the list are tested, not all of them. A reasonable number would be between 5 and 10. | |||
==FAQ== | |||
So, ''pacman-mirrors -f 2'' takes the same time to create /etc/pacman.d/mirrorlist as ''pacman-mirrors -f 20''? | So, ''pacman-mirrors -f 2'' takes the same time to create /etc/pacman.d/mirrorlist as ''pacman-mirrors -f 20''? | ||
Line 135: | Line 138: | ||
'''No'''. ''pacman-mirrors -f [n]'' ranks on a sorted list with known up-to-date mirrors. Thus it is only the first '''n''' mirrors from this list which are actually probed. If you have a list of 30 mirrors which are up-to-date and use ''-f 5'' only the ''top 5 mirrors'' are probed and then sorted after response time. | '''No'''. ''pacman-mirrors -f [n]'' ranks on a sorted list with known up-to-date mirrors. Thus it is only the first '''n''' mirrors from this list which are actually probed. If you have a list of 30 mirrors which are up-to-date and use ''-f 5'' only the ''top 5 mirrors'' are probed and then sorted after response time. | ||
'''My branch changes itself''' | |||
When pacman-mirrors is updated it is by convention that pacman replaces your pacman-mirrors.conf. | |||
Check if you have | |||
- /etc/pacman-mirrors.conf.pacsave | |||
- /etc/pacman-mirrors.conf.pacnew | |||
- /etc/pacman-mirrors.conf.<date>.backup | |||
You must manually merge changes to your pacman-mirrors.conf or restore the one you are used to. | |||
==TL:DR== | ==TL:DR== |