Bug 717660

Summary: Add Software Crashes when loading
Product: Red Hat Enterprise Linux 6 Reporter: Nick Capito <ncapito>
Component: yum-rhn-pluginAssignee: Miroslav Suchý <msuchy>
Status: CLOSED WONTFIX QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.1CC: cperry, jpazdziora
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-06 15:45:18 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Nick Capito 2011-06-29 14:12:14 UTC
Launch add/remove software

Error Type: <type 'exceptions.ValueError'>
Error Value: need more than 1 value to unpack
  File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 3270, in <module>
    main()
  File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 3266, in main
    backend = PackageKitYumBackend('', lock=True)
  File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 238, in __init__
    self.doLock()
  File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 321, in doLock
    self.yumbase.doLock(YUM_PID_FILE)
  File : /usr/lib/python2.6/site-packages/yum/__init__.py, line 1693, in doLock
    if self.conf.uid != 0:
  File : /usr/lib/python2.6/site-packages/yum/__init__.py, line 868, in <lambda>
    conf = property(fget=lambda self: self._getConfig(),
  File : /usr/lib/python2.6/site-packages/yum/__init__.py, line 358, in _getConfig
    self.plugins.run('init')
  File : /usr/lib/python2.6/site-packages/yum/plugins.py, line 184, in run
    func(conduitcls(self, self.base, conf, **kwargs))
  File : /usr/share/yum-plugins/rhnplugin.py, line 66, in init_hook
    for (repoid, reponame) in repolist:


Should be noted I just updated yum via the update manager.

Comment 1 Nick Capito 2011-06-29 14:13:16 UTC
Anything I do with yum I get the error :

Loaded plugins: refresh-packagekit, rhnplugin
Options Error: need more than 1 value to unpack

Comment 2 Nick Capito 2011-06-29 14:17:51 UTC
Once I moved the /var/cache/yum/x86_64/6Server/ cache directory things started working again.

Comment 4 Clifford Perry 2011-07-11 14:45:09 UTC
Moving to rhel 6.3 flags. If replicated, please provide replicator so we can debug and look to troubleshoot and resolve. Sounds like bad cache issue and likely isolated.

Comment 5 Jan Pazdziora 2011-11-24 10:24:26 UTC
Nick,

could you please provide versions of yum, yum-rhn-plugin, rhnlib, and the "add/remove software" software that cause the problem?

Thank you,

Jan

Comment 7 RHEL Program Management 2011-12-06 15:45:18 UTC
Development Management has reviewed and declined this request.  You may appeal
this decision by reopening this request.