While installing a Redhat 6.1 system from a hard drive, after loading
stage2.img (Sept 27), a Python exception raises in anaconda, and the
installation aborts. It complains about the fact that 'h' is not
subscriptable, in module site-packages/comps.py, line 50.
The 'h' element is actually set to 'None'. The problem actually comes from
site-packages/harddrive.py, line 38, where a rpm.headerFromPackages() is
tried. Any exception is catched, but if rpm.headerFromPackages() returns
'None', h is appended to 'hl' as a valid header.
Avoid this problem erasing any file that is not a valid RPM in the RPMS
directory of your mirror hard drive. Check that there is no hidden file
beginning with '.' (type: ls .*). This way, rpm.headerFromPackages() will
not return 'None'.
Patch the code to check that 'h' is different from 'None' before adding it
to the 'hl' list.
This issue is resolved in the latest installer code (available in beta)