On Thu, 2008-05-29 at 14:58 +0200, werner maes wrote:
> hello
>
> Does anybody know what happens here?
>
> File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 1958,
> in install
> obsoleting_pkg = self.getPackageObject(obsoleting)
> File "/usr/lib/python2.4/site-packages/yum/__init__.py", line
> 1667, in getPackageObject
> pkgs = self.pkgSack.searchPkgTuple(pkgtup)
> File "/usr/lib/python2.4/site-packages/yum/packageSack.py", line
> 70, in searchPkgTuple
> return self.searchNevra(name=n, arch=a, epoch=e, ver=v, rel=r)
> File "/usr/lib/python2.4/site-packages/yum/packageSack.py", line
> 251, in searchNevra
> return self._computeAggregateListResult("searchNevra", name,
> epoch, ver, rel, arch)
> File "/usr/lib/python2.4/site-packages/yum/packageSack.py", line
> 399, in _computeAggregateListResult
> sackResult = apply(method, args)
> File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line
> 40, in newFunc
> return func(*args, **kwargs)
> File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line
> 840, in searchNevra
> cur = cache.cursor()
> File "/usr/lib/python2.4/site-packages/sqlite/main.py", line 566, in cursor
> return Cursor(self, self.rowclass)
> File "/usr/lib/python2.4/site-packages/sqlite/main.py", line 172,
> in __init__
> self.con.cursors[id(self)] = self
> File "/usr/lib/python2.4/weakref.py", line 78, in __setitem__
> self.data[key] = KeyedRef(value, self._remove, key)
> RuntimeError: maximum recursion depth exceeded
I didn't get that exact error, but I got similar-looking python errors
mentioning sqlitesack.py.
It appears to have been caused by rhn_check flaking out halfway through
updating yum and its dependencies. This happened on about 10% of my
systems, mostly those with less RAM (I've noticed rhn_check seems to
chew up RAM then exits once it's consumed it all).
My solution was to
yum remove yum
then check what versions of yum-metadata-parser were still installed
using
rpm -qa | grep yum-metadata
I found I had 2 versions of this package and uninstalled them both using
"rpm -e".
then I manually downloaded and installed yum and its dependencies using
rpm -ivh
* yum-metadata-parser-1.0-8.fc6.x86_64.rpm
* yum-3.0.1-5.el5.noarch.rpm
* yum-rhn-plugin-0.5.2-5.el5_1.2.noarch.rpm
The last thing I had to do to get a general yum update to work was to
update yum itself.
yum update yum
I opened support ticket 1829802 where I posted this as well.
Regards,
Nik
_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list