Bug 99396
Summary: | up2date fails with TypeError: unsubscriptable object | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Kirk <kirkjt> |
Component: | up2date | Assignee: | Adrian Likins <alikins> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fanny Augustin <fmoquete> |
Severity: | medium | Docs Contact: | |
Priority: | high | ||
Version: | 9 | CC: | gafton, mihai.ibanescu, simionea |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | athlon | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2004-08-20 21:10:35 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
Kirk
2003-07-18 16:59:50 UTC
I get almost the same error, but with slightly different (yet still incomprehensible) messages. Here is the output of up2date: ------< BEGIN >------ [root@myserver root]# up2date-nox --update Fetching package list for channel: redhat-linux-i386-9... ######################################## Fetching Obsoletes list for channel: redhat-linux-i386-9... ######################################## Fetching rpm headers... Traceback (most recent call last): File "/usr/sbin/up2date-nox", line 993, in ? main() File "/usr/sbin/up2date-nox", line 720, in main fullUpdate, dryRun=options.dry_run)) File "/usr/sbin/up2date-nox", line 893, in batchRun batch.run() File "up2dateBatch.py", line 57, in run File "up2dateBatch.py", line 91, in __findPackagesToUpdate File "packageList.py", line 308, in getPackagesToInstall File "packageList.py", line 336, in __skipPackages File "packageList.py", line 357, in __skipFiles File "packageList.py", line 416, in buildHeaderList File "headers.py", line 121, in __getitem__ File "headers.py", line 126, in __retrievePackage File "rpcServer.py", line 114, in doCall File "rpmSource.py", line 239, in getHeader File "rpmSource.py", line 677, in getHeader File "rpmSource.py", line 130, in saveHeader TypeError: unsubscriptable object ------< END >------ I have a i686 system and RedHat Linux 9. And unfortunately I have a very slow Internet connection. I think that this error might be caused by a time-out, but still no error message indicates this. I forgot to mention that I use up2date-3.1.23-1 The following command seemed to cure it for me: rm -f $(find /var/spool/up2date -type f | grep -v rpm$) Before this, I ran the following (but this didn't seem to cure it because I still had to run the above) killall up2date killall rpm rm -fr /var/lib/rpm/__* up2date -p Still happens in up2date-3.1.23.2-1 under RedHat 9: ----- Traceback (most recent call last): File "/usr/share/rhn/up2date_client/gui.py", line 1063, in showAdvisory advisories = rhnErrata.getAdvisoryInfo(rowData[1]) TypeError: unsubscriptable object ----- Above appeared in Terminal console when running up2date in background ["up2date &"] and choosing "View advisory" when sane-backends-1.0.9-5.1 was the only item in the out-of-date list, and was selected. Removing security severity. This is not a security issue. |