Bug 1161956 - yum-plugin-copr breaks yumdb
Summary: yum-plugin-copr breaks yumdb
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: yum-utils
Version: 20
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Valentina Mukhamedzhanova
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1160781 1172206 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-11-09 18:12 UTC by Ting-Wei Lan
Modified: 2014-12-12 04:36 UTC (History)
5 users (show)

Fixed In Version: yum-utils-1.1.31-27.fc20
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-12-12 04:36:31 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Ting-Wei Lan 2014-11-09 18:12:25 UTC
Description of problem:
After installing yum-plugin-copr, I cannot use yumdb because it tries to register a new command when loading plugins.

Version-Release number of selected component (if applicable):
yum-utils-1.1.31-25.fc20.noarch
yum-plugin-copr-1.1.31-25.fc20.noarch

How reproducible:
Always

Steps to Reproduce:
1. Install yum-plugin-copr
2. Make sure that it is enabled in /etc/yum/pluginconf.d/copr.conf
3. Type `yumdb'

Actual results:
Traceback (most recent call last):
  File "/usr/sbin/yumdb", line 250, in <module>
    main()
  File "/usr/sbin/yumdb", line 240, in main
    yb.conf
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1086, in <lambda>
    conf = property(fget=lambda self: self._getConfig(),
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 382, in _getConfig
    startupconf.pluginconfpath,disabled_plugins,enabled_plugins)
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 638, in doPluginSetup
    plugin_types, confpath, disabled_plugins, enabled_plugins)
  File "/usr/lib/python2.7/site-packages/yum/plugins.py", line 166, in __init__
    self.run('config')
  File "/usr/lib/python2.7/site-packages/yum/plugins.py", line 188, in run
    func(conduitcls(self, self.base, conf, **kwargs))
  File "/usr/lib/yum-plugins/copr.py", line 45, in config_hook
    conduit.registerCommand(CoprCommand())
  File "/usr/lib/python2.7/site-packages/yum/plugins.py", line 555, in registerCommand
    raise Errors.ConfigError(_('registration of commands not supported'))
yum.Errors.ConfigError: registration of commands not supported

Expected results:
yumdb should show the command usage.

Additional info:

Comment 1 Valentina Mukhamedzhanova 2014-11-12 13:17:38 UTC
*** Bug 1160781 has been marked as a duplicate of this bug. ***

Comment 2 Fedora Update System 2014-11-18 13:19:35 UTC
yum-utils-1.1.31-27.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/yum-utils-1.1.31-27.fc20

Comment 3 Fedora Update System 2014-11-19 15:57:18 UTC
Package yum-utils-1.1.31-27.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing yum-utils-1.1.31-27.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-15376/yum-utils-1.1.31-27.fc20
then log in and leave karma (feedback).

Comment 4 Ting-Wei Lan 2014-12-08 04:12:44 UTC
I hope this update can be pushed to Fedora 20 stable repo. It has stayed in testing for several weeks.

Comment 5 Valentina Mukhamedzhanova 2014-12-10 10:21:25 UTC
*** Bug 1172206 has been marked as a duplicate of this bug. ***

Comment 6 Fedora Update System 2014-12-12 04:36:31 UTC
yum-utils-1.1.31-27.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.


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