Difference between revisions of "Reflector"

From ArchWiki
Jump to: navigation, search
m
m (fixed formatting)
(3 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
{{merge|Mirrors}}
 
{{merge|Mirrors}}
 
[[Category:Package management (English)]]
 
[[Category:Package management (English)]]
Reflector is a script which can be used to retrieve and filter the latest mirrorlist from the MirrorStatus page.  
+
{{Warning|''Reflector'' development has been officially discontinued: its latest version does not work with ''pacman>=3.5''. See [https://bbs.archlinux.org/viewtopic.php?id=115660].}}
 +
You can still get it from http://xyne.archlinux.ca/old_projects/reflector/
  
It can be obtained from the community repository:
+
Reflector is a script which can be used to retrieve and filter the latest mirrorlist from the MirrorStatus page.
# pacman -S reflector
+
  
 
== Sample usage ==
 
== Sample usage ==

Revision as of 22:20, 25 March 2011

Tango-document-new.pngThis article is a stub.Tango-document-new.png

Notes: please use the first argument of the template to provide more detailed indications. (Discuss in Talk:Reflector#)

Merge-arrows-2.pngThis article or section is a candidate for merging with Mirrors.Merge-arrows-2.png

Notes: please use the second argument of the template to provide more detailed indications. (Discuss in Talk:Reflector#)
Warning: Reflector development has been officially discontinued: its latest version does not work with pacman>=3.5. See [1].

You can still get it from http://xyne.archlinux.ca/old_projects/reflector/

Reflector is a script which can be used to retrieve and filter the latest mirrorlist from the MirrorStatus page.

Sample usage

First backup your mirrorlist:

# mv /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.backup

The following command will filter the first 5 mirrors, sort them by speed and overwrite the file /etc/pacman.d/mirrorlist

# reflector -l 5 -r -o /etc/pacman.d/mirrorlist

For all available commands run

# reflector --help
Warning: Make sure the mirrorlist doesn't contain strange entries before syncing or updating with pacman.