You are not logged in.
Pages: 1
I tried to do reflector -c %own% -f 6 > mirrorlist on a new Arch install and for some odd reason I am only getting 2 mirrors. Is anyone getting this issue? I live in the US
Offline
Any particular two?
Server = http://mirrors.kernel.org/archlinux/$repo/os/$arch
Server = ftp://mirrors.kernel.org/archlinux/$repo/os/$arch?
It used to work https://bbs.archlinux.org/viewtopic.php … 63#p833763
I have no idea why it's not working now:
[karol@black ~]$ reflector --country %own% -o mirrorlist
[karol@black ~]$ cat mirrorlist
# 2011-01-24 13:56
# generated by reflector
Server = ftp://mirrors.kernel.org/archlinux/$repo/os/$arch
Server = http://mirrors.kernel.org/archlinux/$repo/os/$archLast edited by karol (2011-01-24 12:55:48)
Offline
Specifying the country seems to work so it must be related to the %own% variable.
Offline
Yeah, it returned those two for me as well. I tried doing -c United States and I got the same two mirrors.
Offline
Yeah, it returned those two for me as well. I tried doing -c United States and I got the same two mirrors.
You're doing it wrong! :-)
[karol@black ~]$ reflector --country United States -o mirrorlist
[karol@black ~]$ cat mirrorlist
# 2011-01-24 22:17
# generated by reflector
Server = ftp://mirrors.kernel.org/archlinux/$repo/os/$arch
Server = http://mirrors.kernel.org/archlinux/$repo/os/$arch
[karol@black ~]$ reflector --country "United States" -o mirrorlist
[karol@black ~]$ cat mirrorlist
# 2011-01-24 22:17
# generated by reflector
Server = ftp://mirror.rit.edu/archlinux/$repo/os/$arch
Server = http://mirror.rit.edu/archlinux/$repo/os/$arch
Server = ftp://ftp.archlinux.org/$repo/os/$arch
Server = ftp://mirrors.kernel.org/archlinux/$repo/os/$arch
Server = http://mirrors.kernel.org/archlinux/$repo/os/$arch
Server = ftp://ftp.gtlib.gatech.edu/pub/linux/distributions/archlinux/$repo/os/$arch
Server = http://www.gtlib.gatech.edu/pub/linux/distributions/archlinux/$repo/os/$arch
Server = http://mirrors.cat.pdx.edu/archlinux/$repo/os/$arch
Server = ftp://locke.suu.edu/linux/dist/archlinux/$repo/os/$arch
Server = http://mirror.ece.vt.edu/archlinux/$repo/os/$arch
Server = ftp://mirrors.hosef.org/archlinux/$repo/os/$arch
Server = http://mirrors.hosef.org/archlinux/$repo/os/$arch
Server = http://hpc.arc.georgetown.edu/mirror/archlinux/$repo/os/$arch
Server = http://mirror.yellowfiber.net/archlinux/$repo/os/$arch
Server = ftp://mirrors.xmission.com/archlinux/$repo/os/$arch
Server = http://schlunix.org/archlinux/$repo/os/$arch
Server = ftp://ftp.osuosl.org/pub/archlinux/$repo/os/$arch
Server = http://mirrors.xmission.com/archlinux/$repo/os/$arch
Server = http://ftp.osuosl.org/pub/archlinux/$repo/os/$arch
Server = http://distro.ibiblio.org/pub/linux/distributions/archlinux/$repo/os/$arch
Server = ftp://lug.mtu.edu/archlinux/ftpfull/$repo/os/$arch
Server = http://lug.mtu.edu/archlinux/ftpfull/$repo/os/$archThe space between 'United' and 'States' messes things up.
Quoting "%own%" doesn't help.
Can someone remind me how does reflector tries to guess what to use instead of '%own%'? Where is it set?
Last edited by karol (2011-01-24 21:19:48)
Offline
"%own%" is no longer supported, at least not for now.
The JSON interface for retrieving mirror status at archlinux.de has been deprecated in favor of the new one at archlinux.org. The old interface included country code information along with the request which allowed reflector to guess the user's country. That information is not available from the new interface.
Sorry for any confusion. I forgot to update the reflector package itself when I pushed the new version of perl-xyne-arch to [community].
*edit*
I've updated reflector. It now sorts the mirror list by country (unless the list is ranked by rankmirrors).
I've also added a new option to list available countries: "--list-countries".
You can get the latest version from the repo on my site. I'll push the update to [community] after a bit more testing.
Last edited by Xyne (2011-01-24 23:45:07)
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
glad to hear, Xyne ![]()
Offline
Pages: 1