Getting error "IndexError: tuple index out of range" while executing "yum update" or "subscription-manager" commands

Solution Verified - Updated -

Issue

  • While updating a system using yum, it fails with traceback, "IndexError: tuple index out of range"
  • yum fails with "IndexError: list index out of range"
  • subscription-manager command did not finish properly with the following error
# subscription-manager register
Username: redhat
Password:
tuple index out of range

Environment

  • Red Hat Enterprise Linux (RHEL) 5
  • Red Hat Enterprise Linux (RHEL) 6
  • Red Hat Network (RHN)
  • yum
  • subscription-manager

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.