Description of problem: When you run reposync as unprivileg user and in /var/tmp/ is old cache of some previous run and contains repo with same repoid as I want to sync, it is used instead of those I specified Version-Release number of selected component (if applicable): yum-utils-1.1.31-20.fc20.noarch How reproducible: deterministic Steps to Reproduce: 1. download http://miroslav.suchy.cz/fedora/debug.tar.gz 2. unpack it. It will populate /var/tmp/yum-apache-gjiosq/ This contains metadata of ruby200 repository. 3. mkdir /tmp/foo /tmp/python33 4. create this repo.conf with content: [main] reposdir= #cachedir=/tmp/softwarecollections-yum-cache/rhscl/python33/epel-6-x86_64 cachedir=/tmp/foo [epel-6-x86_64] name=epel-6-x86_64 baseurl=http://copr-be.cloud.fedoraproject.org/results/rhscl/python33/epel-6-x86_64/ gpgcheck=0 5. run: reposync -c repo.conf -p /tmp/python33 --repoid=epel-6-x86_64 -t Actual results: ruby200-1.1-5.el6.x86_64.rpm FAILED ... ruby200-ruby-tcltk-2.0.0.353-23.el6.x86_64: [Errno 256] No more mirrors to try. ] 0.0 B/s | 0 B --:--:-- ETA ruby200-ruby-2.0.0.353-23.el6.x86_64: [Errno 256] No more mirrors to try. ruby200-rubygem-rake-0.9.6-23.el6.noarch: [Errno 256] No more mirrors to try. ruby200-ruby-libs-2.0.0.353-23.el6.x86_64: [Errno 256] No more mirrors to try. ... Expected results: Downloading only python33 packages.
Note usage of non privileg user is important. This problem does not happen when reposync is run as root.
Created attachment 878964 [details] Patch fixing this problem
Patch applied upstream
yum-utils-1.1.31-22.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/yum-utils-1.1.31-22.fc20
Package yum-utils-1.1.31-23.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing yum-utils-1.1.31-23.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-6637/yum-utils-1.1.31-23.fc20 then log in and leave karma (feedback).
yum-utils-1.1.31-23.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.