Description of problem: When trying to build, or even initialize a mock root for epel-[67]-x86_64, package installation fails either because /usr/libexec/urlgrabber-ext-down does not exist or because of a python error in urlgrabber-ext-down. Version-Release number of selected component (if applicable): python2-urlgrabber-4.0.0-1.fc30.noarch python3-urlgrabber-4.0.0-1.fc30.noarch mock-1.4.15-1.fc30.noarch yum-3.4.3-521.fc30.noarch dnf-4.2.2-2.fc30.noarch systemd-241-8.git9ef65cb.fc30.x86_64 How reproducible: It's pretty consistent. Steps to Reproduce: 1. mock -r epel-6-x86_64 init 2. If python3-urlgrabber is installed, a python error causes install to fail 3. If python4-urlgrabber is not installed, install fails because /usr/libexec/urlgrabber-ext-down does not exist Actual results: Traceback (most recent call last): File "/usr/libexec/urlgrabber-ext-down", line 75, in <module> main() File "/usr/libexec/urlgrabber-ext-down", line 52, in main for k in line.split(' '): TypeError: a bytes-like object is required, not 'str Expected results: Additional info:
This is essentially the same as bug #1688173 (which is rawhide.)
This traceback is clearly python3-urlgrabber bug (soft deps of mock). The reproducer is: dnf install mock python3-urlgrabber mock -r epel-6-x86_64 init
Proposing fix (work-around?) https://github.com/rpm-software-management/urlgrabber/pull/11
testable with $ sudo dnf copr enable praiskup/mock-fix-1688173
python-urlgrabber-4.0.0-2.fc30 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-ef2f2050b6
python-urlgrabber-4.0.0-2.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-ef2f2050b6
For those who can do it, it's probably much better to remove yum package from the system, and keep only `dnf-yum` package installed on F30; mock then uses `dnf-yum` which doesn't use urlgrabber at all, more info here: https://github.com/rpm-software-management/mock/issues/259
python-urlgrabber-4.0.0-2.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.
*** Bug 1706690 has been marked as a duplicate of this bug. ***