sudo pacman-mirrors -g

Command used to sync arch ro manjaro mirrors

Sample Output
:: Querying servers, this may take some time...
 -> 2.550 http://manjaro.mirror.ac.za/stable/$repo/$arch
 -> 5.520 ftp://manjaro.mirror.ac.za/stable/$repo/$arch
 -> 2.200 http://mirrors.ispros.com.bd/manjaro/stable/$repo/$arch
 -> 5.364 ftp://mirrors.ispros.com.bd/manjaro/stable/$repo/$arch
 -> 3.251 http://manjaro.fis.unb.br/stable/$repo/$arch
 -> 1.943 http://www.las.ic.unicamp.br/pub/manjarolinux/stable/$repo/$arch
 -> 3.678 http://mirrors.ustc.edu.cn/manjaro/stable/$repo/$arch
 -> 1.130 http://manjarolinux.polymorf.fr/stable/$repo/$arch
 -> 1.191 http://ftp.halifax.rwth-aachen.de/manjaro/stable/$repo/$arch
 -> 1.265 http://ftp.tu-chemnitz.de/pub/linux/manjaro/stable/$repo/$arch
 -> 0.939 http://ftp.rz.tu-bs.de/pub/mirror/manjaro.org/repos/stable/$repo/$arch
 -> 0.442 http://ftp.cc.uoc.gr/mirrors/linux/manjaro/stable/$repo/$arch
 -> 2.475 http://ftp.heanet.ie/mirrors/manjaro/stable/$repo/$arch
 -> 3.067 ftp://ftp.heanet.ie/mirrors/manjaro/stable/$repo/$arch
 -> 2.721 ftp://ftp.nluug.nl/pub/os/Linux/distr/manjaro/stable/$repo/$arch
 -> 0.772 http://ftp.nluug.nl/pub/os/Linux/distr/manjaro/stable/$repo/$arch
 -> 1.456 http://mirrors.xservers.ro/manjaro/stable/$repo/$arch
 -> 1.153 http://mirrors.serverhost.ro/manjaro/packages/stable/$repo/$arch
 -> 1.163 http://ftp.lug.ro/manjaro/stable/$repo/$arch
 -> 3.357 http://free.twaren.net/manjaro/stable/$repo/$arch
 -> 3.770 http://free.nchc.org.tw/manjaro/stable/$repo/$arch
 -> 9.738 http://repo.manjaro.org.uk/stable/$repo/$arch
 -> 1.473 http://mirror.dacentec.com/manjaro/stable/$repo/$arch
 -> 2.139 http://spiralinear.org/manjaro/repo/stable/$repo/$arch
:: Generated and saved '/etc/pacman.d/mirrorlist' mirrorlist.

0
2013-05-16 13:55:39

These Might Interest You

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


    0
    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.


    0
    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


    1
    sudo pacman -Scc
    unixmonkey57489 · 2013-05-16 14:19:14 0
  • Fix's centos 6.2 yum's error: could not get metalink https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=x86_64 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


    1
    curl http://curl.haxx.se/ca/cacert.pem -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=http://mirrors.mageia.org/api/mageia.4.x86_64.list; wget -q ${url} -O - | grep rsync: Show Sample Output


    1
    url=http://mirrors.mageia.org/api/mageia.4.i586.list; 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.


    6
    ssh -f -L3307:127.0.0.1:3306 -N -t -x user@host sleep 600 ; mk-table-sync --execute --verbose u=root,p=xxx,h=127.0.0.1,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?

commandlinefu.com 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.

» http://twitter.com/commandlinefu
» http://twitter.com/commandlinefu3
» http://twitter.com/commandlinefu10

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: