Bug 26062 - Packagekit can not create service pack. Shows "maximum recursion depth exceeded."
Summary: Packagekit can not create service pack. Shows "maximum recursion depth exceed...
Status: RESOLVED FIXED
Alias: None
Product: PackageKit
Classification: Unclassified
Component: backend-yum (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: medium major
Assignee: Richard Hughes
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-15 05:57 UTC by susmit
Modified: 2010-04-28 08:00 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description susmit 2010-01-15 05:57:59 UTC
This is self explanatory.
I shall update a few more packages which are giving same error.

[root@storage servicepack]# pkgenpack --package=kdeedu-kstars
Finding package name.
Creating service pack...
FIXME: need to call pk_progress_bar_start() earlier![=========================]         
setup               [=========================]         
info                [=========================]         
Failed to create '/root/servicepack/kdeedu-kstars-fedora-12-i686.servicepack': failed to download: Traceback (most recent call last):
  File "/usr/share/PackageKit/helpers/yum/yumBackend.py", line 1226, in _get_best_depends
    results = self.yumbase.findDeps(pkgs)
  File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 1936, in findDeps
    for po in self.whatProvides(r, f, v):
  File "/usr/lib/python2.6/site-packages/yum/depsolve.py", line 161, in whatProvides
    pkgs = self.pkgSack.searchProvides(name)
  File "/usr/lib/python2.6/site-packages/yum/packageSack.py", line 416, in searchProvides
    return self._computeAggregateListResult("searchProvides", name)
  File "/usr/lib/python2.6/site-packages/yum/packageSack.py", line 575, in _computeAggregateListResult
    sackResult = apply(method, args)
  File "/usr/lib/python2.6/site-packages/yum/sqlitesack.py", line 1360, in searchProvides
    return self.searchPrco(name, "provides")
  File "/usr/lib/python2.6/site-packages/yum/sqlitesack.py", line 45, in newFunc
    return func(*args, **kwargs)
  File "/usr/lib/python2.6/site-packages/yum/sqlitesack.py", line 1301, in searchPrco
    results.extend(self._search_primary_files(name))
  File "/usr/lib/python2.6/site-packages/yum/sqlitesack.py", line 45, in newFunc
    return func(*args, **kwargs)
  File "/usr/lib/python2.6/site-packages/yum/sqlitesack.py", line 846, in _search_primary_files
    self._sql_pkgKey2po(rep, cur, results)
  File "/usr/lib/python2.6/site-packages/yum/sqlitesack.py", line 793, in _sql_pkgKey2po
    pkg = self._packageByKey(repo, ob['pkgKey'])
  File "/usr/lib/python2.6/site-packages/yum/sqlitesack.py", line 688, in _packageByKey
    if exclude and self._pkgKeyExcluded(repo, pkgKey):
  File "/usr/lib/python2.6/site-packages/yum/sqlitesack.py", line 559, in _pkgKeyExcluded
    if repo in self._all_excludes:
RuntimeError: maximum recursion depth exceeded
Comment 1 Richard Hughes 2010-01-15 07:45:48 UTC
(In reply to comment #0)
> [root@storage servicepack]# pkgenpack --package=kdeedu-kstars
> Finding package name.
> Creating service pack...
> FIXME: need to call pk_progress_bar_start() earlier!

Well, I've already fixed this warning in git master.
      
I've also tried running "pkgenpack --package kdeedu-kstars" and it just seems to hang for me. How long did you let it run?
Comment 2 susmit 2010-01-15 09:40:24 UTC
6 minutes on a blade server. ;)

[root@storage servicepack]# time pkgenpack --package=kdeedu-kstars
Finding package name.
Creating service pack...
FIXME: need to call pk_progress_bar_start() earlier![=========================]         
setup               [=========================]         
info                [=========================]         
Failed to create '/root/servicepack/kdeedu-kstars-fedora-12-i686.servicepack': failed to download: Traceback (most recent call last):
  File "/usr/share/PackageKit/helpers/yum/yumBackend.py", line 1226, in _get_best_depends
    results = self.yumbase.findDeps(pkgs)
  File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 1936, in findDeps
    for po in self.whatProvides(r, f, v):
  File "/usr/lib/python2.6/site-packages/yum/depsolve.py", line 161, in whatProvides
    pkgs = self.pkgSack.searchProvides(name)
  File "/usr/lib/python2.6/site-packages/yum/packageSack.py", line 416, in searchProvides
    return self._computeAggregateListResult("searchProvides", name)
  File "/usr/lib/python2.6/site-packages/yum/packageSack.py", line 575, in _computeAggregateListResult
    sackResult = apply(method, args)
  File "/usr/lib/python2.6/site-packages/yum/sqlitesack.py", line 1360, in searchProvides
    return self.searchPrco(name, "provides")
  File "/usr/lib/python2.6/site-packages/yum/sqlitesack.py", line 45, in newFunc
    return func(*args, **kwargs)
  File "/usr/lib/python2.6/site-packages/yum/sqlitesack.py", line 1301, in searchPrco
    results.extend(self._search_primary_files(name))
  File "/usr/lib/python2.6/site-packages/yum/sqlitesack.py", line 45, in newFunc
    return func(*args, **kwargs)
  File "/usr/lib/python2.6/site-packages/yum/sqlitesack.py", line 846, in _search_primary_files
    self._sql_pkgKey2po(rep, cur, results)
  File "/usr/lib/python2.6/site-packages/yum/sqlitesack.py", line 793, in _sql_pkgKey2po
    pkg = self._packageByKey(repo, ob['pkgKey'])
  File "/usr/lib/python2.6/site-packages/yum/sqlitesack.py", line 688, in _packageByKey
    if exclude and self._pkgKeyExcluded(repo, pkgKey):
  File "/usr/lib/python2.6/site-packages/yum/sqlitesack.py", line 559, in _pkgKeyExcluded
    if repo in self._all_excludes:
RuntimeError: maximum recursion depth exceeded


real	6m33.425s
user	0m0.007s
sys	0m0.005s
Comment 3 Richard Hughes 2010-04-28 08:00:53 UTC
Could you please file this in Red Hat bugzilla, under the component of yum, and cc me (rhughes at redhat.com) please. Thanks.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.