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

imported>Aaditya
imported>Aaditya
Line 48: Line 48:
  sudo gedit /etc/pacman.d/mirrorlist
  sudo gedit /etc/pacman.d/mirrorlist


== Edit the Mirrorlist (Manjaro 0.8.2 and 0.8.3) ==
== Edit the Mirrorlist ==
 
'''Lines beginning with a hash '#' will be ignored by pacman'''. Hence to disable a mirror, a comment can be put in the beginning of a line starting with ''Server''.
 
The mirrorlist can be long generally and only a part of it is displayed below:


'''Lines beginning with a hash '#' will be ignored by pacman'''. In the example below, only the UK server is active, that is, has had the hash mark removed. It is the only server that has been enabled for use:
  ##
  ##
  ## Manjaro Linux repository mirrorlist
  ## Manjaro Linux repository mirrorlist
  ## Generated on 2012-11-08
  ## Generated on 20 January 2015 13:44
##
## Use pacman-mirrors to modify
  ##
  ##
   
   
## Brasil
# Server = http://manjaro.fis.unb.br/$repo/$arch
   
   
  ## France
  ## Location  : Africa
  # Server = http://manjarolinux.polymorf.fr/$repo/$arch
## Time      : 1.781
  ## Last Sync : 1:37
Server = http://manjaro.mirror.ac.za/stable/$repo/$arch
   
   
  ## Germany
  ## Location  : Brasil
  # Server = http://mirrors.mycraft.eu/manjaro/$repo/$arch
  ## Time      : 2.495
  # Server = http://ftp.halifax.rwth-aachen.de/manjaro/$repo/$arch
  ## Last Sync : 1:47
  # Server = http://mirror.vinzv.de/manjaro/repo/$repo/$arch
  Server = http://manjaro.fis.unb.br/stable/$repo/$arch
   
   
  ## Greece
  ## Location  : France
  # Server = http://ftp.cc.uoc.gr/mirrors/linux/manjaro/$repo/$arch
  ## Time      : 0.664
## Last Sync : 0:37
Server = http://mirror.finn.lu/manjaro/stable/$repo/$arch
   
   
  '''## United Kingdom'''
  ## Location  : Germany
  '''<font color="green">Server =</font color> http://repo.manjaro.org.uk/$repo/$arch'''
## Time      : 0.744
## Last Sync : 0:17
  Server = http://mirror3.layerjet.com/manjaro/stable/$repo/$arch
   
   
  ## United States
  ## Location  : Australia
  # Server = http://mirror.dacentec.com/manjaro/$repo/$arch
  ## Time      : 1.030
 
## Last Sync : 0:37
 
Server = http://mirror.ventraip.net.au/Manjaro/stable/$repo/$arch
The United Kingdom Server can therefore be disabled by simply placing a hash at the beginning of the '''Server=''' line. Another Server can be enabled in turn by removing its hash at the beginning of the appropriate line. In the instance below, the United Kingdom server has been disabled, and the United States Sever has been enabled:
##
## Manjaro Linux repository mirrorlist
## Generated on 2012-11-08
##
   
   
  ## Brasil
  ## Location  : United_States
  # Server = http://manjaro.fis.unb.br/$repo/$arch
  ## Time      : 1.058
## Last Sync : 0:07
Server = http://www.gtlib.gatech.edu/pub/manjaro/stable/$repo/$arch
   
   
  ## France
  ## Location  : United_Kingdom
  # Server = http://manjarolinux.polymorf.fr/$repo/$arch
## Time      : 1.157
  ## Last Sync : 0:47
Server = http://repo.manjaro.org.uk/stable/$repo/$arch
   
   
  ## Germany
  ## Location  : Germany
  # Server = http://mirrors.mycraft.eu/manjaro/$repo/$arch
  ## Time      : 1.296
  # Server = http://ftp.halifax.rwth-aachen.de/manjaro/$repo/$arch
  ## Last Sync : 0:07
  # Server = http://mirror.vinzv.de/manjaro/repo/$repo/$arch
  Server = http://mirror.netzspielplatz.de/manjaro/packages/stable/$repo/$arch
   
   
  ## Greece
  ## Location  : Netherlands
  # Server = http://ftp.cc.uoc.gr/mirrors/linux/manjaro/$repo/$arch
  ## Time      : 1.357
## Last Sync : 2:47
Server = http://ftp.nluug.nl/pub/os/Linux/distr/manjaro/stable/$repo/$arch
   
   
  ## United Kingdom
  ## Location  : Italy
  '''#''' Server = http://repo.manjaro.org.uk/$repo/$arch
## Time      : 1.453
  ## Last Sync : 2:07
Server = http://manjaro.mirror.garr.it/mirrors/manjaro/stable/$repo/$arch
   
   
'''## United States'''
'''<font color="green">Server =</font color> http://mirror.dacentec.com/manjaro/$repo/$arch'''


{{warning|Do not remove hashes from the lines that contain the names of the server countries.}}
{{warning|Do not remove hashes from the lines that contain the names of the server countries.}}
Anonymous user