translator
11,127
edits
(Marked this version for translation) |
(Adding UserCmd and BoxSuccess tags) |
||
Line 17: | Line 17: | ||
<!--T:5--> | <!--T:5--> | ||
sudo pacman-mirrors --country-list | {{UserCmd|command=sudo pacman-mirrors --country-list}} | ||
<!--T:6--> | <!--T:6--> | ||
{{note|The geographically closest server may not always necessarily be the fastest!}} | {{BoxSuccess|note|The geographically closest server may not always necessarily be the fastest!}} | ||
Line 36: | Line 36: | ||
== Edit the Mirrorlist == <!--T:11--> | == Edit the Mirrorlist == <!--T:11--> | ||
{{tip|More than one server can be enabled. However, they will be selected in the order they are listed, and the package manager will only select another server if there is a problem with the one before it.}} | {{BoxSuccess|tip|More than one server can be enabled. However, they will be selected in the order they are listed, and the package manager will only select another server if there is a problem with the one before it.}} | ||
<!--T:12--> | <!--T:12--> | ||
Line 49: | Line 49: | ||
<!--T:15--> | <!--T:15--> | ||
You will need to first open your terminal in order to edit the mirrorlist file. The syntax of the command to edit the mirrorlist is: | You will need to first open your terminal in order to edit the mirrorlist file. The syntax of the command to edit the mirrorlist is: | ||
{{UserCmd|command=sudo [terminal text editor] /etc/pacman.d/mirrorlist}} | |||
<!--T:16--> | <!--T:16--> | ||
For example, if you wish to edit the file within the terminal using ''nano'' (a standard terminal-based text editor) then enter: | For example, if you wish to edit the file within the terminal using ''nano'' (a standard terminal-based text editor) then enter: | ||
{{UserCmd|command=sudo nano /etc/pacman.d/mirrorlist}} | |||
Line 115: | Line 115: | ||
#----->snipped | #----->snipped | ||
</pre> | </pre> | ||
{{note|Do not remove hashes from the lines that contain the names of the server countries.}} | {{BoxSuccess|note|Do not remove hashes from the lines that contain the names of the server countries.}} | ||
Line 125: | Line 125: | ||
<!--T:33--> | <!--T:33--> | ||
{{warning|Always synchronise with '''-Syyu''' after changing mirrors. Failure to do so may result in a broken system after updates}} | {{BoxSuccess|warning|Always synchronise with '''-Syyu''' after changing mirrors. Failure to do so may result in a broken system after updates}} | ||
<!--T:34--> | <!--T:34--> | ||
Line 134: | Line 134: | ||
<!--T:36--> | <!--T:36--> | ||
sudo pacman -Syyu | {{UserCmd|command=sudo pacman -Syyu}} | ||
<!--T:37--> | <!--T:37--> |