Red Hat Bugzilla – Bug 40457
rhn_register fails to get version number under 6.2
Last modified: 2015-01-07 18:45:34 EST
From Bugzilla Helper:
User-Agent: Mozilla/4.72 [en] (X11; U; Linux 2.2.14-5.0tsa i686)
Description of problem:
rhn_register fails at Step 3. The GUI window shows 'ERROR' for the
The following errors are reported to the terminal:
Traceback (innermost last):
File "/usr/lib/python1.5/site-packages/libglade.py", line 28, in __call__
ret = apply(self.func, a)
File "/usr/share/rhn/register/gui.py", line 446, in onProfilePagePrepare
File "/usr/share/rhn/register/rhnreg.py", line 121, in getVersion
index = db.findbyprovides("redhat-release")
IndexError: list index out of range
I have installed all packages listed in
Steps to Reproduce:
1. Start rhn_register as root under X windows
2. Proceed through Step 2 with email name and password, etc
3. Fails immediately at Step 3
Actual Results: GUI shows the wristwatch mouse pointer. Terminal output
as described above.
Registration fails if the 'next' button is clicked.
Ditto. Configuration is 6.2 out of the box installed as a KDE workstation, with
the following rpms installed or updated:
Suspect something is missing that other 6.2 installations would have gotten in a
previous incremental upgrade. Obvious solution is to upgrade to 7.1, but I need
the downgraded glibc and tcl to keep Oracle happy.
Solved my own problem. Do "rpm --rebuilddb" to rebuild your rpm database to the
new format before running rhn_register. The newer rpm python objects were
choking on the old database format.
solved by rpm --rebuilddb