Bug 1709434

Summary: yumdownloader no longer works in rawhide
Product: [Fedora] Fedora Reporter: David Hill <dhill>
Component: yum-utilsAssignee: Michal Domonkos <mdomonko>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 31CC: dmach, mdomonko, packaging-team-maint
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-09-05 16:05:57 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description David Hill 2019-05-13 15:20:08 UTC
Description of problem:
yumdownloader no longer works in rawhide

[root@wolfe boot]# yumdownloader --source dmidecode
Traceback (most recent call last):
  File "/usr/bin/yumdownloader", line 21, in <module>
    import yum

Version-Release number of selected component (if applicable):
[root@wolfe boot]# rpm -qa | egrep "dnf|yum"
python3-dnf-4.2.5-1.fc31.noarch
yum-utils-1.1.31-519.fc30.noarch
dnf-data-4.2.5-1.fc31.noarch
yum-4.2.5-1.fc31.noarch
python3-libdnf-0.31.0-3.fc31.x86_64
dnf-plugins-core-4.0.6-1.fc31.noarch
python3-dnf-plugins-core-4.0.6-1.fc31.noarch
libdnf-0.31.0-3.fc31.x86_64
dnf-4.2.5-1.fc31.noarch


How reproducible:
Always

Steps to Reproduce:
1.  Install yum-utils and try to use yumdownloader --source
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Michal Domonkos 2019-05-15 09:08:16 UTC
The yum-utils package has been dropped from Rawhide and should be uninstalled or replaced by dnf-utils (which also provides the /usr/bin/yumdownloader shim).  However, we should add a versioned "Requires: yum < 4" to yum-utils so that it gets removed with the yum-3 -> yum-4 obsoletion.

As a workaround for now, please remove yum-utils and just use "dnf download".  If you still wish to have the /usr/bin/yumdownloader command, install dnf-utils instead.

Comment 2 Ben Cotton 2019-08-13 18:56:33 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle.
Changing version to 31.

Comment 3 Michal Domonkos 2019-09-05 16:05:57 UTC

*** This bug has been marked as a duplicate of bug 1684162 ***