Bug 7433
Summary: | Pre-install dies with "unsubscriptable object" error, in comps.py? | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | pixel23 |
Component: | installer | Assignee: | Jay Turner <jturner> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | |
Severity: | high | Docs Contact: | |
Priority: | medium | ||
Version: | 6.1 | CC: | rhw, srevivo |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 1999-11-30 13:04:05 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
pixel23
1999-11-30 04:04:31 UTC
The problem, more than likely, is that you have a file in the /RedHat/RPMS directory which is not an *.rpm file. Do the following, run 'ls | grep -v rpm' in the /RedHat/RPMS directory on your machine and then just delete the files which come back in the output. You will probably find that you have gotten a file called TRANS.TBL in the directory and more than likely it came from directly copying the contents of the cd to a directory and installing from that directory. We have put together a fix for this so that the installer just ignores anything that it does not understand, but just deleteing the offending file is probably a heck of a lot easier to do than deal with an updates disk and all. Reopen this bug if this solution does not work for you. An alternative explanation is that there's a file in there that is not a valid RPM although it claims to be one. The simplest way to find suchlike files is to run the following bash script in the said directory: Q> #!/bin/bash Q> $TMPFILE=/tmp/$0-$RANDOM Q> for FILE in * ; do Q> if [ `basename $FILE .rpm` = $FILE ]; then Q> echo 'WRONG EXTENSION:' $FILE Q> else Q> rpm -qp $FILE > /dev/null 2> $TMPFILE Q> if [ -n "`cat $TMPFILE`" ]; then Q> echo 'INVALID: ' $FILE Q> cat $TMPFILE | sed 's/^/ /' Q> fi Q> fi Q> done Q> rm -f $TMPFILE The files listed are the ones therein that might cause problems. Sorry for the typo - line 2 of the script should not have the $ char in it !!! To clarify - line 2 should read... Q> TMPFILE=$0-$RANDOM |