Hide Forgot
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:
I have seen it as well. IMO yum bug. Reassigning.
FYI, looks like related to Bug 647134.
Should be fixed with today's compose. *** This bug has been marked as a duplicate of bug 647134 ***