( profikam | 2012. 05. 30., sze – 10:39 )

Üdv, majdnem jo, de nekem ezt mondja futattaskor:


$ ./packet_peak.py 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
List of orphan packages:
Traceback (most recent call last):
  File "./packet_peak.py", line 102, in <module>
    list_orphans(orphans)
  File "./packet_peak.py", line 85, in list_orphans
    count_pkg_revrecommends(otherpkg, 1) == 0:
  File "./packet_peak.py", line 66, in count_pkg_revrecommends
    dependencies(pkg, deps)
  File "./packet_peak.py", line 51, in dependencies
    count_pkg_revdepends(otherdep.target_pkg, 2) == 1:
  File "./packet_peak.py", line 24, in count_pkg_revdepends
    rev_depends += count_pkg_revdepends(cache[provided[0]], maxcount)
  File "./packet_peak.py", line 24, in count_pkg_revdepends
    rev_depends += count_pkg_revdepends(cache[provided[0]], maxcount)
----------------------ugyanez ^ sokszor, majd:--------------------------
 File "./packet_peak.py", line 14, in count_pkg_revdepends
    if otherdep.parent_pkg.current_ver != None and \
RuntimeError: maximum recursion depth exceeded in cmp
$

Rendszer:
$ cat /etc/issue
Ubuntu 12.04 LTS \n \l

$ dpkg -l | wc -l
1814

$ python --version
Python 2.7.3

Packet Peak verzio: commit 565760f8f71b0cf98405fb71ca4eb098336547c1 (mostani master)