Bug 709984 - beaker : yum install error on RHEL 5.7
beaker : yum install error on RHEL 5.7
Status: CLOSED DUPLICATE of bug 647134
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: yum (Show other bugs)
5.7
Unspecified Unspecified
unspecified Severity high
: ---
: ---
Assigned To: James Antill
Red Hat Satellite QA List
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2011-06-02 03:36 EDT by Weiping Pan
Modified: 2015-01-04 16:54 EST (History)
6 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2011-06-02 13:07:27 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Weiping Pan 2011-06-02 03:36:36 EDT
Description of problem:
yum install error
[root@hp-magnycours-01 ~]# yum -y install rh-tests-kernel-networking-bonding-bz672731-bonding_multicast.noarch
Loaded plugins: product-id, security, subscription-manager
Updating Red Hat repositories.
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package rh-tests-kernel-networking-bonding-bz672731-bonding_multicast.noarch 0:1.1-18 set to be updated
--> Processing Dependency: rh-tests-kernel-networking-bonding-bz672731-common_functions for package: rh-tests-kernel-networking-bonding-bz672731-bonding_multicast
--> Running transaction check
---> Package rh-tests-kernel-networking-bonding-bz672731-common_functions.noarch 0:1.1-106 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

==============================================================================================
 Package         Arch                 Version                Repository                  Size
==============================================================================================
Installing:
 rh-tests-kernel-networking-bonding-bz672731-bonding_multicast
                 noarch               1.1-18                 beaker-tasks               7.2 k
Installing for dependencies:
 rh-tests-kernel-networking-bonding-bz672731-common_functions
                 noarch               1.1-106                beaker-tasks                22 k

Transaction Summary
==============================================================================================
Install       2 Package(s)
Upgrade       0 Package(s)

Total download size: 29 k
Downloading Packages:
Traceback (most recent call last):
  File "/usr/bin/yum", line 29, in ?
    yummain.user_main(sys.argv[1:], exit_code=True)
  File "/usr/share/yum-cli/yummain.py", line 309, in user_main
    errcode = main(args)
  File "/usr/share/yum-cli/yummain.py", line 261, in main
    return_code = base.doTransaction()
  File "/usr/share/yum-cli/cli.py", line 398, in doTransaction
    problems = self.downloadPkgs(downloadpkgs, callback_total=self.download_callback_total_cb) 
  File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 1355, in downloadPkgs
    cache=po.repo.http_caching != 'none',
  File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 838, in getPackage
    cache=cache
  File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 784, in _getFile
    size=size,
NameError: global name 'size' is not defined


Version-Release number of selected component (if applicable):
[root@hp-magnycours-01 ~]# uname -a
Linux hp-magnycours-01.rhts.eng.bos.redhat.com 2.6.18-264.el5PAE #1 SMP Tue May 24 15:19:58 EDT 2011 i686 athlon i386 GNU/Linux

[root@hp-magnycours-01 ~]# rpm -qa|grep beaker
beakerlib-1.3-5.el5
beakerlib-redhat-1-6.el5
[root@hp-magnycours-01 ~]# cat /etc/yum.repos.d/beaker-tasks.repo 
[beaker-tasks]
name=beaker-tasks
baseurl=http://beaker-01.app.eng.bos.redhat.com/repos/188364
enabled=1
gpgcheck=0


How reproducible:
please clone this job.
https://beaker.engineering.redhat.com/jobs/91977

Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:
Comment 1 Marian Csontos 2011-06-02 07:49:14 EDT
I have seen it as well. IMO yum bug. Reassigning.
Comment 2 Marian Csontos 2011-06-02 08:44:29 EDT
FYI, looks like related to Bug 647134.
Comment 3 James Antill 2011-06-02 13:07:27 EDT
Should be fixed with today's compose.

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

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