Getting error "IndexError: tuple index out of range" while executing "yum update" or "subscription-manager" commands
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, tools, and much more.