You are not logged in.

#1 2010-06-29 01:03:44

tmm
Member
Registered: 2010-06-28
Posts: 2

[SOLVED]rankmirrors errors?[SOLVED]

Hey everyone,

Yesterday I downloaded and used the 2010.5 dual netinstall iso to install on an i686 box.  Everything installed well using the Beginner's Guide, no errors reported.  Though when I tried to go back and use the rankmirrors script to, well, rank the mirrors, all I was met with was the following:

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

That series of errors repeated about ten to fifteen times.  I was following the section of the Beginner's Guide here: http://wiki.archlinux.org/index.php/Beginners'_Guide#.2Fetc.2Fpacman.d.2Fmirrorlist
Until I actually tried to run the script, there were no errors when I did the previous instructions.

Any tips?

-Tom

Last edited by tmm (2010-06-29 06:20:43)

Offline

#2 2010-06-29 01:33:37

frigaut
Member
From: Canberra, Australia
Registered: 2009-05-10
Posts: 215
Website

Re: [SOLVED]rankmirrors errors?[SOLVED]

Well apparently it's not finding curl. Has curl been pulled off the 2010.5 netinstall? And does the netinstall come with rankmirrors now (I remember a year ago or so it wasn't)? In that case it's a bug and should be reported to the packagers.

EDIT: it's already been reported: http://bugs.archlinux.org/task/19930

and yes, of course, installing curl would solve the problem. but it's still a bug...

Last edited by frigaut (2010-06-29 01:44:42)


Archer since 03/2009 - AUR packages

Offline

#3 2010-06-29 01:36:12

stqn
Member
Registered: 2010-03-19
Posts: 1,191
Website

Re: [SOLVED]rankmirrors errors?[SOLVED]

You could try to install curl...

Offline

#4 2010-06-29 06:20:08

tmm
Member
Registered: 2010-06-28
Posts: 2

Re: [SOLVED]rankmirrors errors?[SOLVED]

Yup, that solved it. I didn't know curl needed to be installed separately.

Thanks!

Offline

Board footer

Powered by FluxBB