I’m trying to set up a mirror of fedora (for work) but I get an error that is not clear to me when I run quick-fedora-mirror:
grove@mirror3> time sudo -u fedora /home/fedora/bin/quick-fedora-mirror -c /home/fedora/etc/quick-fedora-mirror.conf
Could not sync from rsync://ftp-stud.hs-esslingen.de
rsync: [sender] link_stat "/fedora-epel/fullfiletimelist-fedora-epel" (in fedora-buffet) failed: No such file or directory (2)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1682) [generator=3.1.3]
rsync: [sender] link_stat "/fedora-epel/fullfiletimelist-fedora-epel" (in fedora-buffet) failed: No such file or directory (2)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1682) [generator=3.1.3]
rsync: [sender] link_stat "/fedora-epel/fullfiletimelist-fedora-epel" (in fedora-buffet) failed: No such file or directory (2)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1682) [generator=3.1.3]
rsync: [sender] link_stat "/fedora-epel/fullfiletimelist-fedora-epel" (in fedora-buffet) failed: No such file or directory (2)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1682) [generator=3.1.3]
rsync: [sender] link_stat "/fedora-epel/fullfiletimelist-fedora-epel" (in fedora-buffet) failed: No such file or directory (2)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1682) [generator=3.1.3]
rsync: [sender] link_stat "/fedora-epel/fullfiletimelist-fedora-epel" (in fedora-buffet) failed: No such file or directory (2)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1682) [generator=3.1.3]
rsync: [sender] link_stat "/fedora-epel/fullfiletimelist-fedora-epel" (in fedora-buffet) failed: No such file or directory (2)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1682) [generator=3.1.3]
rsync: [sender] link_stat "/fedora-epel/fullfiletimelist-fedora-epel" (in fedora-buffet) failed: No such file or directory (2)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1682) [generator=3.1.3]
rsync: [sender] link_stat "/fedora-epel/fullfiletimelist-fedora-epel" (in fedora-buffet) failed: No such file or directory (2)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1682) [generator=3.1.3]
rsync: [sender] link_stat "/fedora-epel/fullfiletimelist-fedora-epel" (in fedora-buffet) failed: No such file or directory (2)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1682) [generator=3.1.3]
rsync finished with nonzero exit status.
Could not retrieve file lists.
Have I done something wrong? Forgotten to do something to do something? Or what?
mkdir: missing operand
Try 'mkdir --help' for more information.
There’s only one invocation of mkdir in quick-fedora-mirror, and that is in line 760 (Tree - quick-fedora-mirror - Pagure.io), where it makes a directory for the module. The script continues on and eventually produces:
Could not sync from rsync://ftp-stud.hs-esslingen.de
rsync: [sender] link_stat "/fullfiletimelist-" (in fedora-buffet) failed: No such file or directory (2)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1682) [generator=3.1.3]
rsync: [sender] link_stat "/fullfiletimelist-" (in fedora-buffet) failed: No such file or directory (2)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1682) [generator=3.1.3]
rsync: [sender] link_stat "/fullfiletimelist-" (in fedora-buffet) failed: No such file or directory (2)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1682) [generator=3.1.3]
rsync: [sender] link_stat "/fullfiletimelist-" (in fedora-buffet) failed: No such file or directory (2)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1682) [generator=3.1.3]
rsync: [sender] link_stat "/fullfiletimelist-" (in fedora-buffet) failed: No such file or directory (2)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1682) [generator=3.1.3]
rsync: [sender] link_stat "/fullfiletimelist-" (in fedora-buffet) failed: No such file or directory (2)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1682) [generator=3.1.3]
rsync: [sender] link_stat "/fullfiletimelist-" (in fedora-buffet) failed: No such file or directory (2)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1682) [generator=3.1.3]
rsync: [sender] link_stat "/fullfiletimelist-" (in fedora-buffet) failed: No such file or directory (2)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1682) [generator=3.1.3]
rsync: [sender] link_stat "/fullfiletimelist-" (in fedora-buffet) failed: No such file or directory (2)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1682) [generator=3.1.3]
rsync: [sender] link_stat "/fullfiletimelist-" (in fedora-buffet) failed: No such file or directory (2)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1682) [generator=3.1.3]
rsync finished with nonzero exit status.
Could not retrieve file lists.
so it seems like it has somehow decided to use an empty string as a module name? I can’t really figure out why it does that: