[Yum] yum traceback
James Antill
james-yum at and.org
Fri Apr 3 19:08:51 UTC 2009
"Steven H. Smith" <shs at earthlink.net> writes:
> did a yum update on CentOS 5.2 last night. Updated 530MB of packages,
> one which was rpm-4.4.2. Now I get the following error on yum update:
>
>
> Traceback (most recent call last):
[...]
> self._read_db_obj(db_obj)
> File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 94, in
> _read_db_obj
> setattr(self, item, _share_data(db_obj[item]))
> TypeError: unsubscriptable object
This is the yum-metadata-parser error that's hitting a lot of
CentOS-5.2 updates (no idea why atm.)
Fix for y-m-p is here:
http://james.fedorapeople.org/yum/patches/yum-metadata-parser-1.1.2-no-updates.patch
...CentOS owners know about it and are likely to do an update.
Just run "yum clean metadata" to fix it in the short term.
--
James Antill -- james at and.org
More information about the Yum
mailing list