Difference between revisions of "Pacman-mirrors"
no edit summary
imported>Fhdk |
imported>Fhdk |
||
Line 21: | Line 21: | ||
If you fail to do so, the issue/s which had you make change might not be solved. Furthermore you might run into ''partial-updated'' scenario which can cause havoc in your system. | If you fail to do so, the issue/s which had you make change might not be solved. Furthermore you might run into ''partial-updated'' scenario which can cause havoc in your system. | ||
==TL:DR== | |||
====Default mirrorlist==== | |||
sudo pacman-mirrors -g && sudo pacman -Syy | |||
====Up-to-date mirrorlist==== | |||
sudo pacman-mirrors -f 0 && sudo pacman -Syy | |||
The number can be changed to limit the number of mirrors in the mirrorlist | |||
====List available countries==== | |||
sudo pacman-mirrors -l && sudo pacman -Syy | |||
====Mirrors for your country==== | |||
sudo pacman-mirrors --geoip && sudo pacman -Syy | |||
====Mirrors for preferred countries==== | |||
sudo pacman-mirrors -c Germany,France,Austria && sudo pacman -Syy | |||
====Up-to-date mirrors on CURRENT branch==== | |||
sudo pacman-mirrors -f 5 && sudo pacman -Syy | |||
====Temporarily switch to unstable branch==== | |||
sudo pacman-mirrors -b unstable && sudo pacman -Syy | |||
====Switch back to stable branch==== | |||
sudo pacman-mirrors -b stable && sudo pacman -Syy | |||
====Having fun handpicking mirrors and protocols==== | |||
sudo pacman-mirrors -i --default && sudo pacman -Syy | |||
====Permanently switch branch==== | |||
sudo pacman-mirrors -a --set-branch -b unstable && sudo pacman -Syy | |||
====What branch am I on==== | |||
sudo pacman-mirrors -a --get-branch | |||
====Use specific protocols==== | |||
sudo pacman-mirrors -a --protocols https http && sudo pacman -Syy | |||
====Use all protocols==== | |||
sudo pacman-mirrors -a --protocols all && sudo pacman -Syy | |||
=== Available arguments === | === Available arguments === | ||
Line 166: | Line 211: | ||
You must manually merge changes/additions into your pacman-mirrors.conf. | You must manually merge changes/additions into your pacman-mirrors.conf. | ||
==Forum posts== | ==Forum posts== | ||
[https://forum.manjaro.org/search?q=pacman-mirrors%20order%3Alatest Pacman-mirrors in the forum] | [https://forum.manjaro.org/search?q=pacman-mirrors%20order%3Alatest Pacman-mirrors in the forum] |