Manjaro Difference between revisions of "Change to a Different Download Server"

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

From Manjaro
imported>Richard
imported>Aaditya
Line 115: Line 115:


sudo pacman -Syy
sudo pacman -Syy
== Edit the Mirrorlist (Manjaro 0.8.0 and 0.8.1) ==
{{tip|If you find the contents too confusing, then you may wish to consider replacing them with the example provided above for Manjaro 0.8.2. You may gain an additional server or two (i.e. Brazil and Germany) in the process. Otherwise, you could add these servers to your existing file; copying and pasting from the above example will work.}}
Once opened, the mirrorlist file of Manjaro 0.8 & 0.8.1, presented here should look similar to the text below, that has been coloured for illustrative purposes):
# Server list generated by rankmirrors on 2012-10-07
##
## Manjaro Linux repository mirrorlist
## Generated on 2012-09-11
##
## France
# http://manjarolinux.polymorf.fr/$repo/$arch <font color="red">... 0.494</font color>
## Germany
# http://mirrors.mycraft.eu/manjaro/$repo/$arch <font color="red">... 0.367</font color>
# http://ftp.halifax.rwth-aachen.de/manjaro/$repo/$arch <font color="red">... 0.300</font color>
## Greece
# http://ftp.cc.uoc.gr/mirrors/linux/manjaro/$repo/$arch <font color="red">... 0.769</font color>
## United Kingdom
# http://repo.manjaro.org.uk/$repo/$arch <font color="red">... 0.518</font color>
## United States
# http://mirror.dacentec.com/manjaro/$repo/$arch <font color="red">... 0.887</font color>
'''<font color="green">Server =</font color> http://ftp.halifax.rwth-aachen.de/manjaro/$repo/$arch'''
'''<font color="green">Server =</font color> http://mirrors.mycraft.eu/manjaro/$repo/$arch'''
'''<font color="green">Server =</font color> http://manjarolinux.polymorf.fr/$repo/$arch'''
'''<font color="green">Server =</font color> http://repo.manjaro.org.uk/$repo/$arch'''
'''Lines beginning with a hash '#' will be ignored by pacman.''' As such, the top part of the file is a table that lists the names of countries followed by their server internet addresses purely for your own information. Its purpose is to tell you --not pacman-- which servers are available in what countries. The text coloured in <font color="red">red</font color> at the end of each internet address is there to tell you the tested <font color="red">download speed</font color> of the server. It is actually the bottom part of the file that is intended to be used by pacman to connect to the Manjaro servers. Notice that each of these lines does not have a hash, and begins with the command <font color="green">Server =</font color>. They are also accessed in the order that they are listed.
{{Note|Remember, tested speeds of servers may be relative to your local internet providers speed, which may vary during the day. Make a backup copy, such as mirrorlist.bak before editing mirrorlist, for comparison purposes.}}
Any of the servers listed at the bottom of the file may be disabled by placing a hash at the beginning of the appropriate line. The order they are used may also be changed by changing the order that they are listed.
'''Should you wish to use any of the servers listed in the table above instead''', then you must do the following or the synchronization will fail:
* start the server address line with the <font color="green">Server =</font color> command, and
* remove the text that tells you the <font color="red">download speed</font> of the server (e.g. '<font color="red">... 0.769</font color>')
In the following example, the servers at the bottom of the file have been disabled, and the United Kingdom Server has been enabled in the above table instead:
# Server list generated by rankmirrors on 2012-10-07
##
## Manjaro Linux repository mirrorlist
## Generated on 2012-09-11
##
## France
# http://manjarolinux.polymorf.fr/$repo/$arch <font color="red">... 0.494</font color>
## Germany
# http://mirrors.mycraft.eu/manjaro/$repo/$arch <font color="red">... 0.367</font color>
# http://ftp.halifax.rwth-aachen.de/manjaro/$repo/$arch <font color="red">... 0.300</font color>
## Greece
# http://ftp.cc.uoc.gr/mirrors/linux/manjaro/$repo/$arch <font color="red">... 0.769</font color>
'''## United Kingdom'''
'''<font color="green">Server =</font color> http://repo.manjaro.org.uk/$repo/$arch'''
## United States
# http://mirror.dacentec.com/manjaro/$repo/$arch <font color="red">... 0.887</font color>
# Server = http://ftp.halifax.rwth-aachen.de/manjaro/$repo/$arch
# Server = http://mirrors.mycraft.eu/manjaro/$repo/$arch
# Server = http://manjarolinux.polymorf.fr/$repo/$arch
# Server = http://repo.manjaro.org.uk/$repo/$arch
Once you have disabled and/or enabled the desired server(s), save the changes and close the mirrorlist by:
*'''nano''': Press CTRL and 'x' to exit, 'y' to save, and <enter> to finish, or
*'''gedit''': Select the 'save' option and then close the window.
'''All that is required now is to Synchronise with the newly enabled server(s)'''. See below.


= Step 2: Synchronising with the Newly Enabled Server(s) =
= Step 2: Synchronising with the Newly Enabled Server(s) =
Cookies help us deliver our services. By using our services, you agree to our use of cookies.