sudo pacman-mirrors -g

Command used to sync arch ro manjaro mirrors

Sample Output
:: Querying servers, this may take some time...
 -> 2.550$repo/$arch
 -> 5.520$repo/$arch
 -> 2.200$repo/$arch
 -> 5.364$repo/$arch
 -> 3.251$repo/$arch
 -> 1.943$repo/$arch
 -> 3.678$repo/$arch
 -> 1.130$repo/$arch
 -> 1.191$repo/$arch
 -> 1.265$repo/$arch
 -> 0.939$repo/$arch
 -> 0.442$repo/$arch
 -> 2.475$repo/$arch
 -> 3.067$repo/$arch
 -> 2.721$repo/$arch
 -> 0.772$repo/$arch
 -> 1.456$repo/$arch
 -> 1.153$repo/$arch
 -> 1.163$repo/$arch
 -> 3.357$repo/$arch
 -> 3.770$repo/$arch
 -> 9.738$repo/$arch
 -> 1.473$repo/$arch
 -> 2.139$repo/$arch
:: Generated and saved '/etc/pacman.d/mirrorlist' mirrorlist.

2013-05-16 13:55:39

These Might Interest You

  • Here you have to choose the correct kernel number, for example linux38.

    sudo pacman -S virtualbox-guest-utils
    unixmonkey57489 · 2013-05-16 14:39:38 0
  • Requires 'reflector' package from official repository. '5' in the example is the number of mirrors you want in the mirrorlist, could be other numbers of course.

    sudo reflector -l 5 -r -o /etc/pacman.d/mirrorlist
    ibnarrashid · 2011-03-20 20:33:35 0
  • If not success clean cache and try again Code: [Select] Show Sample Output

    sudo pacman -Scc
    unixmonkey57489 · 2013-05-16 14:19:14 0
  • Fix's centos 6.2 yum's error: could not get metalink error was 14: PYCURL ERROR 77 - "Problem with the SSL CA cert (path? access rights?)" Error: Cannot retrieve metalink for repository: epel-source. Please verify its path and try again

    curl -o /etc/pki/tls/certs/ca-bundle.crt
    mokico · 2013-02-10 18:06:20 0
  • Need to find a Mageia Linux mirror server providing Mageia 4 via rsync? Modify the "url=" string for the version you want. This shows i586 which is the 32bit version. If you want the 64bit version it is: url=; wget -q ${url} -O - | grep rsync: Show Sample Output

    url=; wget -q ${url} -O - | grep rsync:
    mpb · 2013-05-20 16:19:05 0
  • I wanted to keep a backup of my company database server on my local homeserver. After I found maatkit to sync databases, everything except security seemed fine. SSH takes care of that part.

    ssh -f -L3307: -N -t -x user@host sleep 600 ; mk-table-sync --execute --verbose u=root,p=xxx,h=,P=3307 u=root,p=xxx,h=localhost
    erlebnishengst · 2009-09-04 16:54:25 3

What do you think?

Any thoughts on this command? Does it work on your machine? Can you do the same thing with only 14 characters?

You must be signed in to comment.

What's this? is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.

Share Your Commands

Stay in the loop…

Follow the Tweets.

Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.


Subscribe to the feeds.

Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):

Subscribe to the feed for: