• Unable to rank mirrors, reflector errors out


    Hi,

    I was trying to rank the Arch and Antergos mirrors, because download speed has fallen, but when I run reflector I get the following error -

    [[email protected] pacman.d]$ reflector -l 50 -f 20 --save /tmp/mirrorlist.new && rankmirrors -n 0 /tmp/mirrorlist.new \> /tmp/mirrorlist && sudo cp /tmp/mirrorlist /etc/pacman.d
    error: failed to retrieve mirror data: (<urlopen error [Errno -2] Name or service not known>)
    
    [[email protected] pacman.d]$ reflector -l 50 -f 20 --save /tmp/mirrorlist.new && rankmirrors -n 0 /tmp/mirrorlist.new \> /tmp/mirrorlist && sudo cp /tmp/mirrorlist /etc/pacman.d
    '>' does not exist.
    

    I tried running it twice, the first error seems like some url error, but then the second error which says ‘>’ does not exists, i dont understand, is there some mistake in the command?

    Thanks for your help with this.

  • Can anybody offer any suggestions, much appreciated.

  • There’s no " \ " before “>”. You also need to run it as root.

    sudo reflector -l 50 -f 20 --save /tmp/mirrorlist.new && rankmirrors -n 0 /tmp/mirrorlist.new > /tmp/mirrorlist && sudo cp /tmp/mirrorlist /etc/pacman.d

    👍 .

    I7 [email protected]/32GB Ram/3440 x 1440 + 1440p/EVGA 1080 FTW/512GB SSD/2TB HD/Antergos Base w/ Plasma

  • @Wyn Oh! silly me! grin, thanks for your help!

unable50 mirrors9 reflector1 rank1 Posts 4Views 1786
Log in to reply
Bloom Email Optin Plugin

Looks like your connection to Antergos Community Forum was lost, please wait while we try to reconnect.