[Yum] yum groupupdate ... RuntimeError: maximum recursion depth exceeded

Nikola Ciprich extmaillist at linuxbox.cz
Fri Mar 28 16:36:41 UTC 2008


Hi, yes, I did. 3.2.12 was typo :-/
n.

On Fri, 28 Mar 2008, seth vidal wrote:

> On Fri, 2008-03-28 at 15:44 +0100, Nikola Ciprich wrote:
>> Hi, seems like I may have found bug in python:
>> if I run you groupupdate group, on some of my servers it dies with
>> following error:
>> .
>> .
>> .
>> Package 3:traceroute-2.0.1-2.el5.x86_64 already installed and latest
>> version
>> Package cyrus-sasl-plain-2.1.22-4.x86_64 already installed and latest
>> version
>> Package ncurses-5.5-24.20060715.x86_64 already installed and latest
>> version
>> Package memtest86+-1.65-4.1.x86_64 already installed and latest version
>> Package ntsysv-1.3.30.1-1.x86_64 already installed and latest version
>> Package authconfig-5.3.12-2.el5.x86_64 already installed and latest
>> version
>> Package hdparm-6.6-2.x86_64 already installed and latest version
>> Traceback (most recent call last):
>>    File "/usr/bin/yum", line 29, in ?
>>      yummain.user_main(sys.argv[1:], exit_code=True)
>>    File "/usr/share/yum-cli/yummain.py", line 236, in user_main
>>      errcode = main(args)
>>    File "/usr/share/yum-cli/yummain.py", line 111, in main
>>      result, resultmsgs = base.doCommands()
>>    File "/usr/share/yum-cli/cli.py", line 309, in doCommands
>>      return self.yum_cli_commands[self.basecmd].doCommand(self,
>> self.basecmd, self.extcmds)
>>    File "/usr/share/yum-cli/yumcommands.py", line 324, in doCommand
>>      return base.installGroups(extcmds)
>>    File "/usr/share/yum-cli/cli.py", line 845, in installGroups
>>      txmbrs = self.selectGroup(group.groupid)
>>    File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 1776, in
>> selectGroup
>>      txmbrs = self.install(name = pkg)
>>    File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 2193, in
>> install
>>      self.install(po=obsoleting_pkg)
>> .
>> .
>> repeated many times
>> .
>> .
>>    File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 2193, in
>> install
>>      self.install(po=obsoleting_pkg)
>>    File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 2192, in
>> install
>>      obsoleting_pkg = self.getPackageObject(obsoleting)
>>    File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 1850, 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 290, in
>> searchNevra
>>      return self._computeAggregateListResult("searchNevra", name, epoch,
>> ver, rel, arch)
>>    File "/usr/lib/python2.4/site-packages/yum/packageSack.py", line 431, in
>> _computeAggregateListResult
>>      sackResult = apply(method, args)
>>    File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 39, in
>> newFunc
>>      return func(*args, **kwargs)
>>    File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 1010, in
>> searchNevra
>>      cur = cache.cursor()
>>    File "/usr/lib64/python2.4/site-packages/sqlite/main.py", line 566, in
>> cursor
>>      return Cursor(self, self.rowclass)
>>    File "/usr/lib64/python2.4/site-packages/sqlite/main.py", line 172, in
>> __init__
>>      self.con.cursors[id(self)] = self
>>    File "/usr/lib64/python2.4/weakref.py", line 78, in __setitem__
>>      self.data[key] = KeyedRef(value, self._remove, key)
>> RuntimeError: maximum recursion depth exceeded
>>
>> I've tried with 3.2.12 too and problem persists. Strange thing is that
>> it's happening on some machines and on some others not. I'm using centos
>> 5, so python is 2.4.3.
>> I'd appreciate any help with hunting this bug..
>> thanks a lot in advance..
>
> Have you tried with 3.2.13?
>
> -sv
>
>
> _______________________________________________
> Yum mailing list
> Yum at lists.dulug.duke.edu
> https://lists.dulug.duke.edu/mailman/listinfo/yum
>
>

-- 




More information about the Yum mailing list