You are not logged in.

#1 2010-08-13 14:06:11

Carlwill
Member
From: Orlando, FL
Registered: 2008-10-06
Posts: 560
Website

RankMirrors Isn't Working on My Server

For some reason my server fails to connect to the Pacman mirror:

Server = ftp://ftp.gtlib.gatech.edu/pub/linux/di … /os/x86_64

So I wanted to change the mirror to the next best performing one however when I tried to run 'rankmirrors', it fails:

[root@ghost ~]# mv /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.org
[root@ghost ~]# rankmirrors -n 5 /etc/pacman.d/mirrorlist.org > /etc/pacman.d/mirrorlist
/usr/bin/rankmirrors: line 59: curl: command not found
/usr/bin/rankmirrors: line 61: >= 400 || !  : syntax error: operand expected (error token is ">= 400 || !  ")

Anyone know how I can fix this?


./

Offline

#2 2010-08-13 14:07:56

SanskritFritz
Member
From: Budapest, Hungary
Registered: 2009-01-08
Posts: 1,954
Website

Re: RankMirrors Isn't Working on My Server

Install curl?

EDIT: oops sorry, that is not the problem.

Last edited by SanskritFritz (2010-08-13 14:08:59)


zʇıɹɟʇıɹʞsuɐs AUR || Cycling in Budapest with a helmet camera || Revised log levels proposal: "FYI" "WTF" and "OMG" (John Barnette)

Offline

#3 2010-08-13 14:11:18

Carlwill
Member
From: Orlando, FL
Registered: 2008-10-06
Posts: 560
Website

Re: RankMirrors Isn't Working on My Server

I've done this fine before w/o 'curl' and it doesn't appear to be the issue.


./

Offline

#4 2010-08-13 14:13:06

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: RankMirrors Isn't Working on My Server

rankmirrors does not work anymore. it just gives the mirrors back in alphabetical order. Try selecting a geographically nearby mirror manually.


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#5 2010-08-13 14:15:14

Carlwill
Member
From: Orlando, FL
Registered: 2008-10-06
Posts: 560
Website

Re: RankMirrors Isn't Working on My Server

Inxsible wrote:

rankmirrors does not work anymore. it just gives the mirrors back in alphabetical order. Try selecting a geographically nearby mirror manually.

That sucks. I see now that it's noted in the Wiki.

Last edited by Carlwill (2010-08-13 14:16:02)


./

Offline

#6 2010-08-13 15:42:19

kgas
Member
From: Qatar
Registered: 2008-11-08
Posts: 718

Re: RankMirrors Isn't Working on My Server

also note that now mirror synchronizing pattern which do matters.

Offline

#7 2010-08-13 17:25:36

Carlwill
Member
From: Orlando, FL
Registered: 2008-10-06
Posts: 560
Website

Re: RankMirrors Isn't Working on My Server

kgas wrote:

also note that now mirror synchronizing pattern which do matters.

I guess I am slow but what exactly does this mean / do?


./

Offline

#8 2010-08-13 17:37:53

kgas
Member
From: Qatar
Registered: 2008-11-08
Posts: 718

Re: RankMirrors Isn't Working on My Server

see this thread.

Offline

#9 2010-08-13 17:39:49

Carlwill
Member
From: Orlando, FL
Registered: 2008-10-06
Posts: 560
Website

Re: RankMirrors Isn't Working on My Server

Thank you.


./

Offline

Board footer

Powered by FluxBB