[arch-general] update error(?)

Eli Schwartz eschwartz93 at gmail.com
Sun Apr 19 18:58:52 UTC 2015


On Fri, Apr 17, 2015 at 8:45 PM, Francis Gerund <ranrund at gmail.com> wrote:

> I did re-generate the mirrorlist using rankmirrors, as shown on the arch
> wiki "mirrors" page:
>
> Back up the existing /etc/pacman.d/mirrorlist:
>
> # cp /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.backup
>
> Edit /etc/pacman.d/mirrorlist.backup and uncomment mirrors for testing with
> rankmirrors.
>
> Optionally run the following sed line to uncomment every mirror:
>
> # sed -i 's/^#Server/Server/' /etc/pacman.d/mirrorlist.backup
>
> Finally, rank the mirrors. Operand -n 6 means only output the 6 fastest
> mirrors:
>
> # rankmirrors -n 6 /etc/pacman.d/mirrorlist.backup >
> /etc/pacman.d/mirrorlist
>
>
>
> The error mysteriously went away.
>
> But I  do not seen to have rtmpdump installed.  After reading about it, I
> am still not sure what it is, or why it would be needed for rankmirrors.
> Do the update mirrors use something called RTMP streams?
>

I shouldn't've thought ranking the mirrors by speed would inherently fix
the problem -- although changing mirrors means there is a chance you will
end up with newer ones.
Or possibly the mirrors you ended up with had already caught up to the
packages you were getting errors about.

I would've used reflector, to generate a list of the most up-to-date
mirrors, and then ranked those by download speed just to make things faster.

[eschwartz at arch ~]$ cat ~/bin/mirrorgen
reflector -c "United States" --age 2 --sort age --protocol http --save
/tmp/mirrorgen && rankmirrors -v -n 5 /tmp/mirrorgen | sudo tee
/etc/pacman.d/mirrorlist


-- Eli Schwartz


More information about the arch-general mailing list