Bug 707241 - yum-rhn-plugin: yum does not print downloaded packages
Summary: yum-rhn-plugin: yum does not print downloaded packages
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: yum-rhn-plugin
Version: 5.7
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Miroslav Suchý
QA Contact: Martin Minar
URL:
Whiteboard:
Depends On: 707161
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-05-24 13:29 UTC by Šimon Lukašík
Modified: 2016-07-04 00:56 UTC (History)
6 users (show)

Fixed In Version: yum-rhn-plugin-0.5.4-22.el5
Doc Type: Bug Fix
Doc Text:
The version of yum-rhn-plugin released with Red Hat Enterprise Linux 5.7 Beta did not print the progress bar during the download of packages. This has been fixed by correctly setting callbacks.
Clone Of: 707161
Environment:
Last Closed: 2011-07-21 07:15:12 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2011:0998 0 normal SHIPPED_LIVE yum-rhn-plugin bug fix update 2011-07-20 15:44:51 UTC

Description Šimon Lukašík 2011-05-24 13:29:35 UTC
This bug is also present on rhel5.7 with yum-rhn-plugin-0.5.4-20.el5



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

Description of problem:
Typically, Yum prints out the progress of a download on a console.
In the format similar to the following:

    Downloading Packages:
    (1/2): screen-4.0.3-16.el6.x86_64.rpm     | 495 kB  00:00

On the released rhel6.1 the packages downloaded by yum-rhn-plugin
are not reported in that form. The information about their download
is  missing in the Yum's output.

Version-Release number of selected component (if applicable):
rhel6.1
yum-3.2.29-17.el6.noarch
yum-rhn-plugin-0.9.1-26.el6_1.1.noarch
rhn-client-tools-1.0.0-61.el6.noarch

How reproducible:
always

Steps to Reproduce:
1. register machine to the hosted
2. enable some arbitrary 3rd party repository
3. yum install packages from both sources
  
Actual results:
The packages from third party repository are printed out correctly
during a download. Packages from hosted are missing.

Expected results:
Both packages are reported correctly.

Additional info:

--- Additional comment from slukasik on 2011-05-24 11:17:30 CEST ---

Created attachment 500561 [details]
Exemplary output of yum install command

Notice the lines starting with: 'Downloading Packages:'.

--- Additional comment from slukasik on 2011-05-24 12:52:35 CEST ---

This is a regression against rhel6.0

--- Additional comment from pm-rhel on 2011-05-24 13:01:27 CEST ---

This bugzilla has Keywords: Regression or TestBlocker.

Since no regressions or test blockers are allowed between releases,
it is also being [proposed|marked] as a blocker for this release.

Please resolve ASAP.

Comment 3 Šimon Lukašík 2011-05-24 13:42:02 UTC
It's regression against: yum-rhn-plugin-0.5.4-17.el5_6.1

Comment 4 Jan Pazdziora 2011-06-03 11:47:36 UTC
The regression happened between -18 and -19.

Comment 6 Miroslav Suchý 2011-06-13 06:59:13 UTC
Already fixed in spacewalk in commits:
9193b78abe2333e353488e9f38d6ed3eacc7ed7c
db2e9e9a901b4cd975a19b18ff99ca702360d7d3

commited to svn as rev. 203987.

Comment 8 Eliska Slobodova 2011-06-15 12:37:03 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
The version of yum-rhn-plugin released with Red Hat Enterprise Linux 5.7 Beta did not print the progress bar during the download of packages. This has been fixed by correctly setting callbacks.

Comment 11 Miroslav Suchý 2011-06-27 15:16:07 UTC
Just note for testing: this failqa bug happen only if you run two "yum groupinstall" in row. If there is some "yum install" in between this bug will not appear.

Comment 12 Miroslav Suchý 2011-06-28 11:28:12 UTC
Fixed in spacewalk.git in commit 9845810362cc698d10307bd4c648bcc187241c91
cherypicked to svn as rev. 204385.

Comment 13 Miroslav Suchý 2011-06-28 11:30:54 UTC
err spacewalk.git commit is 83fc936f50812b72e40c3cd64b866bd462a5d53f

Comment 14 Martin Minar 2011-06-28 12:11:21 UTC
Ok, verified with yum-rhn-plugin-0.5.4-22.el5


Reproducer was:

yum groupinstall Xen
yum groupinstall "GNOME Desktop Environment"

Comment 16 errata-xmlrpc 2011-07-21 07:15:12 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-0998.html


Note You need to log in before you can comment on or make changes to this bug.