You are not logged in.

#1 2014-01-02 09:10:19

henk
Member
From: Weert, Netherlands
Registered: 2013-01-01
Posts: 334

[SOLVED] Reflector throws error message.

Today I tried to do my weekly mirror update with reflector (updated 22-12-2013) and got the following output:

 % sudo reflector --verbose -l 50 --sort rate --save /etc/pacman.d/mirrorlist
rating http://ftp.nluug.nl/pub/os/Linux/distr/archlinux/
rating http://mirror.archlinux.no/
rating http://archlinux.polymorf.fr/
rating http://mirror.de.leaseweb.net/archlinux/
rating http://mirror.us.leaseweb.net/archlinux/
rating rsync://mirror.de.leaseweb.net/archlinux/
rating rsync://mirror.us.leaseweb.net/archlinux/
rating http://archlinux.c3sl.ufpr.br/
rating rsync://archlinux.c3sl.ufpr.br/archlinux/
rating http://mirror.selfnet.de/archlinux/
rating rsync://mirror.selfnet.de/archlinux/
rating http://lug.mtu.edu/archlinux/
rating rsync://lug.mtu.edu/archlinux/
rating http://archlinux.limun.org/
rating https://archlinux.limun.org/
rating http://archlinux.mirror.kangaroot.net/
rating http://ftp.tuxdroid.org/archlinux/
rating rsync://ftp.tuxdroid.org/archlinux/
rating http://archlinux.surlyjake.com/archlinux/
rating http://ftp.hosteurope.de/mirror/ftp.archlinux.org/
rating http://ftp5.gwdg.de/pub/linux/archlinux/
rating rsync://ftp5.gwdg.de/pub/linux/archlinux/
rating http://www.gtlib.gatech.edu/pub/archlinux/
rating rsync://rsync.gtlib.gatech.edu/archlinux/
rating http://mirror.yandex.ru/archlinux/
rating http://archlinux.mirror.dkm.cz/pub/archlinux/
rating rsync://archlinux.mirror.dkm.cz/archlinux/
rating http://mirror.bytemark.co.uk/archlinux/
rating rsync://mirror.bytemark.co.uk/archlinux/
rating http://mirror.michael-eckert.net/archlinux/
rating rsync://mirror.michael-eckert.net/archlinux/
rating http://mirror.fluxent.de/archlinux/
rating rsync://mirror.fluxent.de/archlinux/
rating http://ftp.neutrinopower.de/archlinux/
rating rsync://ftp.neutrinopower.de/archlinux/
rating http://ftp.snt.utwente.nl/pub/os/linux/archlinux/
rating rsync://ftp.snt.utwente.nl/archlinux/
rating http://mirror.hactar.bz/
rating http://arch.tamcore.eu/
rating http://ftp.byfly.by/pub/archlinux/
rating rsync://ftp.byfly.by/archlinux/
rating http://mirrors.ustc.edu.cn/archlinux/
rating rsync://mirrors.ustc.edu.cn/archlinux/
rating http://ftp.lysator.liu.se/pub/archlinux/
rating https://ftp.lysator.liu.se/pub/archlinux/
rating rsync://ftp.lysator.liu.se/pub/archlinux/
rating http://mirror.chmuri.net/archmirror/
rating http://ftp.vectranet.pl/archlinux/
rating rsync://ftp.vectranet.pl/archlinux/
rating http://archlinux.mirrors.uk2.net/
Exception in thread Thread-5:
Traceback (most recent call last):
  File "/usr/lib/python3.3/threading.py", line 901, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.3/threading.py", line 858, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/lib/python3.3/site-packages/Reflector.py", line 353, in worker
    stderr=subprocess.DEVNULL
  File "/usr/lib/python3.3/subprocess.py", line 542, in check_call
    retcode = call(*popenargs, **kwargs)
  File "/usr/lib/python3.3/subprocess.py", line 523, in call
    with Popen(*popenargs, **kwargs) as p:
  File "/usr/lib/python3.3/subprocess.py", line 824, in __init__
    restore_signals, start_new_session)
  File "/usr/lib/python3.3/subprocess.py", line 1448, in _execute_child
    raise child_exception_type(errno_num, err_msg)
FileNotFoundError: [Errno 2] No such file or directory: 'rsync
<snip>

The exceptions go on untill Thread-1, afther that the proces hangs.
I am experiencing this on both my machines(KDE + XFCE); haven't tried the laptop yet.

I managed to get reflector working by downgrading it to the previous version. Then added it to /etc/pacman.conf to be ignored.

Anyone else experiencing the same problem?

Last edited by henk (2014-01-02 09:58:12)

Offline

#2 2014-01-02 09:41:17

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,730

Re: [SOLVED] Reflector throws error message.

Nope, works fine here. Do you have rsync installed? The error implies that you might not.

Offline

#3 2014-01-02 09:57:29

henk
Member
From: Weert, Netherlands
Registered: 2013-01-01
Posts: 334

Re: [SOLVED] Reflector throws error message.

I did not have rsync installed. Installed it(both machines), updated reflector, now it works. Question is now if rsync should have been pulled in with the
latest reflector update.
Thanks for the quick call!

Offline

#4 2014-01-02 10:04:02

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,730

Re: [SOLVED] Reflector throws error message.

Yes, if it's needed to make the program work, it should be listed as a dependency so that pacman makes sure to install it. I suggest filing a bug report.

Offline

#5 2014-01-02 10:27:17

henk
Member
From: Weert, Netherlands
Registered: 2013-01-01
Posts: 334

Re: [SOLVED] Reflector throws error message.

Done.
https://bugs.archlinux.org/task/38353
It is my first so I bet there will be mistakes in it.

Offline

#6 2014-01-02 22:59:21

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Reflector throws error message.

I use a slightly different reflector incantation which uses '-p http'. I don't need rsync:

$ sudo reflector --verbose -p http -l 5 --sort rate --save /etc/pacman.d/mirrorlist
rating http://ftp.nluug.nl/pub/os/Linux/distr/archlinux/
rating http://archlinux.c3sl.ufpr.br/
rating http://lug.mtu.edu/archlinux/
rating http://archlinux.mirror.kangaroot.net/
rating http://archlinux.polymorf.fr/
Server                                                       Rate       Time
http://archlinux.mirror.kangaroot.net/               230.46 KiB/s     0.46 s
http://archlinux.polymorf.fr/                        206.01 KiB/s     0.51 s
http://ftp.nluug.nl/pub/os/Linux/distr/archlinux/    100.11 KiB/s     1.06 s
http://lug.mtu.edu/archlinux/                         73.53 KiB/s     1.44 s
http://archlinux.c3sl.ufpr.br/                        70.79 KiB/s     1.50 s
$ pacman -Q reflector rsync
reflector 2013.12.15.1-1
error: package 'rsync' was not found

Offline

Board footer

Powered by FluxBB