Difference between revisions of "Change to a Different Download Server/ru"

Updating to match new version of source page
(Created page with "== Редактирование списка зеркал == {{BoxSuccess|Подсказка|Можно включить более одного сервера. Однако...")
(Updating to match new version of source page)
Line 12: Line 12:
To get a list of countries currently serving mirrors use the command
To get a list of countries currently serving mirrors use the command


  sudo pacman-mirrors --country-list
  {{UserCmd|command=sudo pacman-mirrors --country-list}}


{{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 27: Line 27:




<div class="mw-translate-fuzzy">
== Редактирование списка зеркал ==
== Редактирование списка зеркал ==
{{BoxSuccess|Подсказка|Можно включить более одного сервера. Однако они будут выбраны в порядке их перечисления и менеджер пакетов выберет другой сервер только в том случае, если возникнут проблемы с предыдущим.}}
{{BoxSuccess|Подсказка|Можно включить более одного сервера. Однако они будут выбраны в порядке их перечисления и менеджер пакетов выберет другой сервер только в том случае, если возникнут проблемы с предыдущим.}}
</div>


You have a multitude of options for editing text file. Every system and every user has a preferred GUI text editor. However due to security concerns, it is difficult to launch a GUI editor to correctly edit a protected system configuration file.
You have a multitude of options for editing text file. Every system and every user has a preferred GUI text editor. However due to security concerns, it is difficult to launch a GUI editor to correctly edit a protected system configuration file.
Line 38: Line 40:


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:
sudo [terminal text editor] /etc/pacman.d/mirrorlist
{{UserCmd|command=sudo [terminal text editor] /etc/pacman.d/mirrorlist}}


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:
sudo nano /etc/pacman.d/mirrorlist
{{UserCmd|command=sudo nano /etc/pacman.d/mirrorlist}}




Line 90: Line 92:
#----->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 98: Line 100:
= Step 2: Synchronising with the Newly Enabled Server(s) =
= Step 2: Synchronising with the Newly Enabled Server(s) =


{{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}}


Your Manjaro system has a database of all the software packages that are available from the official repositories. These are used by pacman to locate and download them for installation. Synchronising your database after changing servers will therefore ensure that it is up to date, and avoid any potential problems when subsequently downloading software packages.
Your Manjaro system has a database of all the software packages that are available from the official repositories. These are used by pacman to locate and download them for installation. Synchronising your database after changing servers will therefore ensure that it is up to date, and avoid any potential problems when subsequently downloading software packages.
Line 104: Line 106:
To synchronise your database with the Manjaro repositories, enter the following command in the terminal:
To synchronise your database with the Manjaro repositories, enter the following command in the terminal:


  sudo pacman -Syyu
  {{UserCmd|command=sudo pacman -Syyu}}


Once the Mirrorlist has been amended and the database synchronised, the change will be immediate. There will be no need to reboot your system for the change to take effect.
Once the Mirrorlist has been amended and the database synchronised, the change will be immediate. There will be no need to reboot your system for the change to take effect.
8,560

edits