Re: yum traceback

James Antill <[email protected]>
Newsgroups gmane.linux.rpm.yum
Message-ID <[email protected]>
"Steven H. Smith" <[email protected]> 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 -- [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.