FS#23896 - [pacman-mirrorlist] dynamic mirrorlists
Attached to Project:
Arch Linux
Opened by Frank Phillips (fphillips) - Saturday, 23 April 2011, 04:41 GMT
Last edited by Allan McRae (Allan) - Friday, 16 November 2012, 11:38 GMT
Opened by Frank Phillips (fphillips) - Saturday, 23 April 2011, 04:41 GMT
Last edited by Allan McRae (Allan) - Friday, 16 November 2012, 11:38 GMT
|
Details
We have all been bitten by updating with an out-of-date
mirror before.
In addition to distributing a mirrorlist, distribute a countrylist and a cronjob that, when enabled, uses the mirrorlist generator ( http://www.archlinux.org/mirrorlist/ ) to update a score-ordered mirrorlist weekly. Existing users that wish to use a static mirrorlist would still get updates in the form of mirrorlist.pacnew. To enable, the user would uncomment one or more countries in /etc/pacman.d/mirrorlist.country and mv /etc/pacman.d/updatemirrors /etc/cron.weekly (depends on what cron daemon is used). Dependencies: bash sed grep wget |
This task depends upon
Closed by Allan McRae (Allan)
Friday, 16 November 2012, 11:38 GMT
Reason for closing: Won't implement
Additional comments about closing: not an Arch like thing to do...
Friday, 16 November 2012, 11:38 GMT
Reason for closing: Won't implement
Additional comments about closing: not an Arch like thing to do...
`reflector --help` shows that it supports specifying a country
Adding this as part of pacman-mirrorlist would add extra dependencies and otherwise unnecessary complexity.
Perhaps Xyne would be happy to include such a cron script with reflector instead? Or perhaps we could make a new package which provides pacman-mirrorlist which depends on reflector?