Bug 1113391

Summary: yumdownloader should print depsolving errors instead of ignoring them
Product: Red Hat Enterprise Linux 7 Reporter: Karel Srot <ksrot>
Component: yum-utilsAssignee: James Antill <james.antill>
Status: CLOSED ERRATA QA Contact: Karel Srot <ksrot>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.0CC: mcermak, vmukhame
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: yum-utils-1.1.31-26.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 998892 Environment:
Last Closed: 2015-03-05 09:03:20 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 Karel Srot 2014-06-26 05:50:47 UTC
Should be also fixed in RHEL-7.1

+++ This bug was initially created as a clone of Bug #998892 +++

I want to download kernel-debuginfo-2.6.32-358.el6.i686.rpm which depends on kernel-debuginfo-common-i686-2.6.32-358.el6.i686.rpm using yumdownloader from yum-utils-1.1.30-14.el6.noarch.

On a machine that doesn't have any kernel-debuginfo and kernel-debuginfo-common-i686 installed it works fine:

# yumdownloader kernel-debuginfo-2.6.32-358.el6.i686 --resolve
Loaded plugins: product-id, rhnplugin
This system is receiving updates from RHN Classic or RHN Satellite.
--> Running transaction check
---> Package kernel-debuginfo.i686 0:2.6.32-358.el6 will be installed
--> Processing Dependency: kernel-debuginfo-common-i686 = 2.6.32-358.el6 for package: kernel-debuginfo-2.6.32-358.el6.i686
--> Running transaction check
---> Package kernel-debuginfo-common-i686.i686 0:2.6.32-358.el6 will be installed
--> Finished Dependency Resolution
kernel-debuginfo-2.6.32-358.el6.i686.rpm                                                            | 232 MB     00:40     
kernel-debuginfo-common-i686-2.6.32-358.el6.i686.rpm                                                |  36 MB     00:46     
 6.4 S i686 # ls
kernel-debuginfo-2.6.32-358.el6.i686.rpm  kernel-debuginfo-common-i686-2.6.32-358.el6.i686.rpm
# 

But on a system that has kernel-debuginfo-2.6.32-358.14.1.el6.i686.rpm and kernel-debuginfo-common-i686-2.6.32-358.14.1.el6.i686.rpm already installed (please note the NVRs!) yumdownloader only downloads kernel-debuginfo-2.6.32-358.el6.i686.rpm and doesn't download kernel-debuginfo-common-i686-2.6.32-358.el6.i686.rpm, which is wrong:

# yumdownloader kernel-debuginfo-2.6.32-358.el6.i686 --resolve
Loaded plugins: product-id, rhnplugin
This system is receiving updates from RHN Classic or RHN Satellite.
--> Running transaction check
---> Package kernel-debuginfo.i686 0:2.6.32-358.el6 will be installed
--> Processing Dependency: kernel-debuginfo-common-i686 = 2.6.32-358.el6 for package: kernel-debuginfo-2.6.32-358.el6.i686
--> Finished Dependency Resolution
kernel-debuginfo-2.6.32-358.el6.i686.rpm                                                    | 232 MB     21:24     
[root@hp-dl360g3-01 xxx]# ls
kernel-debuginfo-2.6.32-358.el6.i686.rpm
#

--- Additional comment from Valentina Mukhamedzhanova on 2014-04-09 09:33:13 EDT ---

Upstream fix - http://yum.baseurl.org/gitweb?p=yum-utils.git;a=commitdiff;h=36280feaee2b0cfb83d8af134f6aff3bcc976af1

Comment 5 errata-xmlrpc 2015-03-05 09:03:20 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-0401.html