Steps to Reproduce: 1. mkdir /var/www/html/foo 2. cp bar.rpm into foo 3. createrepo /var/www/html/foo 4. Run reposync In my case, the actual command I used was: /usr/bin/reposync -l -m -d --config=/var/www/cobbler/repo_mirror/test/.origin/test.repo --repoid=test --download_path=/var/www/cobbler/repo_mirror /var/www/cobbler/repo_mirror/test/.origin [mdehaan@mdehaan html]$ cat /var/www/cobbler/repo_mirror/test/.origin/test.repo [test] name=test baseurl=http://127.0.0.1/foo enabled=1 priority=99 gpgcheck=0 The repo looks like: # [mdehaan@mdehaan html]$ tree /var/www/html/foo /var/www/html/foo |-- python-cheetah-2.2.0-1.fc10.i386.rpm `-- repodata |-- filelists.xml.gz |-- other.xml.gz |-- primary.xml.gz `-- repomd.xml The mirrored content from reposync is: [mdehaan@mdehaan html]$ tree /var/www/cobbler/repo_mirror/test /var/www/cobbler/repo_mirror/test |-- config.repo (this came from cobbler, so disregard this one file) `-- python-cheetah-2.2.0-1.fc10.i386.rpm The output from the reposync command is: [mdehaan@mdehaan html]$ sudo /usr/bin/reposync -l -m -d --config=/var/www/cobbler/repo_mirror/test/.origin/test.repo --repoid=test --download_path=/var/www/cobbler/repo_mirror Unable to fetch metadata: requested datatype group not available [test: 1 of 1 ] Skipping existing python-cheetah-2.2.0-1.fc10.i386.rpm Actual results: reposync only mirrored the rpm file itself, and did not create repodata on the remote end Expected results: reposync mirrors the xml files Additional info: We seem to think this is because the original source repo never had any group content. Reposync should be mirroring the repo whether or not it has group content (because users often don't know anything about groups) Removal of the -m from the command does not fix the problem.
okay - so the case where a missing comps.xml is now fixed - it won't skip the rest. But keep in mind that --download-metadata won't get the primary/filelists/other metadata b/c that information is path-specific and may not match up with how the files were just downloaded. Reposync intentionally skips those metadata files. http://yum.baseurl.org/gitweb?p=yum-utils.git;a=commitdiff;h=6c5730dfa8e04d3af097d776d60261d818d3e442
yum-utils-1.1.23-1.fc10 has been submitted as an update for Fedora 10. http://admin.fedoraproject.org/updates/yum-utils-1.1.23-1.fc10
yum-utils-1.1.23-1.fc11 has been submitted as an update for Fedora 11. http://admin.fedoraproject.org/updates/yum-utils-1.1.23-1.fc11
yum-utils-1.1.23-1.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report.