Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

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:
Embargoed:

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 (Red Hat) 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.