noc1 ~ # glsa-check -pe affected Traceback (most recent call last): File "/usr/bin/glsa-check", line 191, in <module> if myglsa.isVulnerable(): File "//usr/lib/python2.5/site-packages/gentoolkit/glsa/__init__.py", line 669, in isVulnerable or (None != getMinUpgrade([v,], path["unaff_atoms"])) File "//usr/lib/python2.5/site-packages/gentoolkit/glsa/__init__.py", line 424, in getMinUpgrade or (minimize ^ (portage.pkgcmp(c_pv[1:], portage.catpkgsplit(rValue)[1:]) > 0))) \ TypeError: 'NoneType' object is unsubscriptable noc1 ~ # qlist -Ive portage gentoolkit app-portage/gentoolkit-0.2.4.5 sys-apps/portage-2.1.6.13 noc1 ~ #
Downgrading to gentoolkit-0.2.4.5 fixed it for me.
This bug only affects trunk (0.3). A patch has been committed to svn that fixes this. commit 04eb609ed6b53eb1cd0123e20aa82d1dc5860b37 Author: rbu <rbu@e84c3a59-eaf8-0310-85df-8a9fcd7b4891> Date: Tue Aug 18 17:47:32 2009 +0000 getminupgrade: fix documentation and backtrace Bug 281101: Fix a backtrace introduced in r647. in getminupgrade the rValue variable was still leftover and was used in a check when glsa-check was run in --emergelike mode and more than one upgrade atoms existed. Also, update the API documentation to reflect changes back then. git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/gentoolkit/trunk/gentoolkit@671 e84c3a59-eaf8-0310-85df-8a9fcd7b4891
As a quick fix, change portage.catpkgsplit(rValue)[1:]) to portage.catpkgsplit(update)[1:]) in glsa/__init__.py
*** Bug 292565 has been marked as a duplicate of this bug. ***
No need to cc security. This bug is fixed, all that is left is to release a new rc.
(In reply to comment #5) > No need to cc security. This bug is fixed, all that is left is to release a new > rc. > Any ETA? ;)
(In reply to comment #6) > (In reply to comment #5) > > No need to cc security. This bug is fixed, all that is left is to release a new > > rc. > > > > Any ETA? ;) > I also want a release for this. Unfixed still, at least in ~amd64.
Released in gentoolkit-0.3.0_rc8