Created attachment 614554 [details] Various tests using yum 3.2.39 releases 17, 22, 30 Description of problem: yumBase().update() breaks when a pkgname, version, and release are passed. Version-Release number of selected component (if applicable): yum 3.2.29-22.el6 and 3.2.29-30.el6 How reproducible: Always Steps to Reproduce: 1. import yum 2. yum.YumBase().update(name="fakepackage", version="1", release="1") Actual results: >>> yum.YumBase().update(name="fakepackage", version="1", release="1") Loaded plugins: refresh-packagekit Traceback (most recent call last): File "<input>", line 1, in <module> File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 3740, in update self.logger.warning(_("No package matched to upgrade: %s"), self._ui_nevra_dict(nevra_dict)) File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 4352, in _ui_nevra_dict evr = '%s-%s' % (e, v, r) Expected results: >>> yum.YumBase().update(name="fakepackage", version="1", release="1") Loaded plugins: refresh-packagekit [] Additional info: Attached you will find the output of various test case scenarios using yum 3.2.29 release 17, 22, and 30
Upstream commit: 7498c0878a3f804c55236a1c2af8463dee4ead4a
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. http://rhn.redhat.com/errata/RHBA-2013-0406.html