Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 614554 Details for
Bug 858844
yumBase().update() breaks when specifying pkgname, version, and release
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
Various tests using yum 3.2.39 releases 17, 22, 30
yumbase-update-tests.txt (text/plain), 4.23 KB, created by
Matthew Gyurgyik
on 2012-09-19 19:16:00 UTC
(
hide
)
Description:
Various tests using yum 3.2.39 releases 17, 22, 30
Filename:
MIME Type:
Creator:
Matthew Gyurgyik
Created:
2012-09-19 19:16:00 UTC
Size:
4.23 KB
patch
obsolete
>[root@gyurgyik-desktop ~]# yum info yum >Loaded plugins: refresh-packagekit, security, verify >Installed Packages >Name : yum >Arch : noarch >Version : 3.2.29 >Release : 17.el6 > > >>>> import yum >>>> yum.YumBase().update(name="fakepackage") >Loaded plugins: refresh-packagekit >[] >>>> yum.YumBase().update(name="fakepackage", version="1") >Loaded plugins: refresh-packagekit >[] >>>> yum.YumBase().update(name="fakepackage", version="1", release="1") >Loaded plugins: refresh-packagekit >[] >>>> pkg={'release': '12.el6', 'version': '4.6.2', 'arch': 'x86_64', 'name': 'rsyslog'} >>>> yum.YumBase().update(**pkg) >Loaded plugins: refresh-packagekit >[] > >--------- >[root@gyurgyik-desktop ~]# yum info yum >Loaded plugins: refresh-packagekit, security, verify >Installed Packages >Name : yum >Arch : noarch >Version : 3.2.29 >Release : 30.el6 > > >>>> import yum >>>> yum.YumBase().update(name="fakepackage") >Loaded plugins: refresh-packagekit >No package matched to upgrade: fakepackage >[] >>>> yum.YumBase().update(name="fakepackage", version="1") >Loaded plugins: refresh-packagekit >No package matched to upgrade: fakepackage-1 >[] >>>> 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 3788, 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 4400, in _ui_nevra_dict > evr = '%s-%s' % (e, v, r) >TypeError: not all arguments converted during string formatting >>>> pkg={'release': '12.el6', 'version': '4.6.2', 'arch': 'x86_64', 'name': 'rsyslog'} >>>> yum.YumBase().update(**pkg) >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 3788, 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 4400, in _ui_nevra_dict > evr = '%s-%s' % (e, v, r) >TypeError: not all arguments converted during string formatting >>>> > >------------- > >[root@gyurgyik-desktop ~]# yum info yum >Loaded plugins: refresh-packagekit, security, verify >Installed Packages >Name : yum >Arch : noarch >Version : 3.2.29 >Release : 22.el6 >Size : 4.5 M >Repo : installed >From repo : /yum-3.2.29-22.el6.noarch >Summary : RPM package installer/updater/manager >URL : http://yum.baseurl.org/ >License : GPLv2+ >Description : Yum is a utility that can check for and automatically download and > : install updated RPM packages. Dependencies are obtained and downloaded > : automatically, prompting the user for permission as necessary. > >>>> import yum >>>> yum.YumBase().update(name="fakepackage") >Loaded plugins: refresh-packagekit >No package matched to upgrade: fakepackage >[] >>>> yum.YumBase().update(name="fakepackage", version="1") >Loaded plugins: refresh-packagekit >No package matched to upgrade: fakepackage-1 >[] >>>> 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) >TypeError: not all arguments converted during string formatting >>>> pkg={'release': '12.el6', 'version': '4.6.2', 'arch': 'x86_64', 'name': 'rsyslog'} >>>> yum.YumBase().update(**pkg) >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) >TypeError: not all arguments converted during string formatting >>>> >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 858844
: 614554