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 702017

Summary: ValueError exception during yum startup
Product: Red Hat Enterprise Linux 6 Reporter: Petr Holasek <pholasek>
Component: yumAssignee: James Antill <james.antill>
Status: CLOSED DUPLICATE QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.1CC: dhoward
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-05-04 15:05:03 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 Petr Holasek 2011-05-04 14:40:52 UTC
Description of problem:
yum throws fatal exception in startup, even for --help argument

Version-Release number of selected component (if applicable):
yum-3.2.29-16.el6.noarch

How reproducible:
# yum 

OR

launch Software Update tool

Steps to Reproduce:
1.start # yum
2.OR launch Software Update tool
3.
  
Actual results:
for CLI:
[root@pholasek-pc pholasek]# yum
Loaded plugins: auto-update-debuginfo, product-id, refresh-packagekit, rhnplugin, subscription-manager
Updating Red Hat repositories.
Repository beaker is listed more than once in the configuration
Repository beaker-stage is listed more than once in the configuration
Options Error: need more than 1 value to unpack
[root@pholasek-pc pholasek]# echo $?
1

for GUI:
An Internal System Error has occured and following text within:
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 1715, in doLock
    if self.conf.uid != 0:
  File : /usr/lib/python2.6/site-packages/yum/__init__.py, line 886, 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:

Expected results:


Additional info:

Comment 2 James Antill 2011-05-04 15:05:03 UTC

*** This bug has been marked as a duplicate of bug 690066 ***