public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Problems with glsa-check
@ 2004-12-05 21:24 Martin Larsson
  2004-12-06  4:30 ` Aaron Walker
  0 siblings, 1 reply; 3+ messages in thread
From: Martin Larsson @ 2004-12-05 21:24 UTC (permalink / raw
  To: gentoo-user

I run 'glsa-check -l' and get a nice list of security advisories. So I
try 'glsa-check -f new' and get:
fixing 200411-13
auxdb exception:
[/usr/portage/::app-portage/gentoolkit-0.2.0_pre8-r1]: u'No key
provided. key: gentoolkit-0.2.0_pre8-r1'
Traceback (most recent call last):
  File "/usr/bin/glsa-check", line 162, in ?
    mergelist = myglsa.getMergeList()
  File "/usr/lib/gentoolkit/pym/glsa.py", line 565, in getMergeList
    self.packages[pkg]["unaff_atoms"])
  File "/usr/lib/gentoolkit/pym/glsa.py", line 324, in getMinUpgrade
    mylist = portage.db["/"]["porttree"].dbapi.match(u)
  File "/usr/lib/portage/pym/portage.py", line 5359, in match
    return self.xmatch("match-visible",mydep)
  File "/usr/lib/portage/pym/portage.py", line 5346, in xmatch
    myval=match_from_list(mydep,self.xmatch("list-visible",None,mydep=mydep,mykey=mykey))
  File "/usr/lib/portage/pym/portage.py", line 5332, in xmatch
    myval=self.gvisible(self.visible(self.cp_list(mykey)))
  File "/usr/lib/portage/pym/portage.py", line 5430, in gvisible
    myaux=db["/"]["porttree"].dbapi.aux_get(mycpv, ["KEYWORDS"])
  File "/usr/lib/portage/pym/portage.py", line 5090, in aux_get
    self.auxdb[mylocation][cat].del_key(pkg)
  File "/usr/lib/portage/pym/portage_db_flat.py", line 98, in del_key
    mylock = portage_locks.lockfile(self.fullpath+key, wantnewlockfile=1)
  File "/usr/lib/portage/pym/portage_locks.py", line 83, in lockfile
    raise ValueError, "Unknown type passed in '%s': '%s'" %
(type(mypath),mypath)
ValueError: Unknown type passed in '<type 'unicode'>':
'/var/cache/edb/dep//usr/portage//app-portage/gentoolkit-0.2.0_pre8-r1'
r

Trying to fix 200411-13 gives the same message.
Trying to fix any of the other SA's in the list gives no problems. But
-13 is the only one marked with [N]. It's:
Portage, Gentoolkit: Temporary file vulnerabilities (
app-portage/gentoolkit sys-apps/portage )

So I tried re-emerging those packages, but that made no difference...
I also tried re-emerging python, but to no avail.
Anyone knows what's going on?

M.

--
gentoo-user@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] Problems with glsa-check
  2004-12-05 21:24 [gentoo-user] Problems with glsa-check Martin Larsson
@ 2004-12-06  4:30 ` Aaron Walker
  2004-12-06 21:21   ` Martin Larsson
  0 siblings, 1 reply; 3+ messages in thread
From: Aaron Walker @ 2004-12-06  4:30 UTC (permalink / raw
  To: gentoo-user

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Martin Larsson wrote:
| I run 'glsa-check -l' and get a nice list of security advisories. So I
| try 'glsa-check -f new' and get:
| fixing 200411-13
| auxdb exception:
| [/usr/portage/::app-portage/gentoolkit-0.2.0_pre8-r1]: u'No key
| provided. key: gentoolkit-0.2.0_pre8-r1'
| Traceback (most recent call last):
|   File "/usr/bin/glsa-check", line 162, in ?
|     mergelist = myglsa.getMergeList()
|   File "/usr/lib/gentoolkit/pym/glsa.py", line 565, in getMergeList
|     self.packages[pkg]["unaff_atoms"])
|   File "/usr/lib/gentoolkit/pym/glsa.py", line 324, in getMinUpgrade
|     mylist = portage.db["/"]["porttree"].dbapi.match(u)
|   File "/usr/lib/portage/pym/portage.py", line 5359, in match
|     return self.xmatch("match-visible",mydep)
|   File "/usr/lib/portage/pym/portage.py", line 5346, in xmatch
|
myval=match_from_list(mydep,self.xmatch("list-visible",None,mydep=mydep,mykey=mykey))
|   File "/usr/lib/portage/pym/portage.py", line 5332, in xmatch
|     myval=self.gvisible(self.visible(self.cp_list(mykey)))
|   File "/usr/lib/portage/pym/portage.py", line 5430, in gvisible
|     myaux=db["/"]["porttree"].dbapi.aux_get(mycpv, ["KEYWORDS"])
|   File "/usr/lib/portage/pym/portage.py", line 5090, in aux_get
|     self.auxdb[mylocation][cat].del_key(pkg)
|   File "/usr/lib/portage/pym/portage_db_flat.py", line 98, in del_key
|     mylock = portage_locks.lockfile(self.fullpath+key, wantnewlockfile=1)
|   File "/usr/lib/portage/pym/portage_locks.py", line 83, in lockfile
|     raise ValueError, "Unknown type passed in '%s': '%s'" %
| (type(mypath),mypath)
| ValueError: Unknown type passed in '<type 'unicode'>':
| '/var/cache/edb/dep//usr/portage//app-portage/gentoolkit-0.2.0_pre8-r1'
| r

Stuff like this belongs on http://bugs.gentoo.org/.

Please search Bugzilla, and if you cannot find an already open bug that looks
like your problem, please open one.

Cheers
- --
An idea is not responsible for the people who believe in it.

Aaron Walker < ka0ttic@gentoo.org >	http://dev.gentoo.org/~ka0ttic/
Gentoo/BSD | cron | shell-tools		http://butsugenjitemple.org/~ka0ttic/

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFBs+BIC3poscuANHARAmmnAJ4jhgwQogv9uceBvuZ/Fzlm9PzkiACfQLvW
+JLmir5GNDI/n6QMW9tIrRU=
=QmrH
-----END PGP SIGNATURE-----


--
gentoo-user@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] Problems with glsa-check
  2004-12-06  4:30 ` Aaron Walker
@ 2004-12-06 21:21   ` Martin Larsson
  0 siblings, 0 replies; 3+ messages in thread
From: Martin Larsson @ 2004-12-06 21:21 UTC (permalink / raw
  To: gentoo-user

On Sun, 05 Dec 2004 23:30:00 -0500, Aaron Walker <ka0ttic@gentoo.org> wrote:
> Stuff like this belongs on http://bugs.gentoo.org/.
> 
> Please search Bugzilla, and if you cannot find an already open bug that 
> looks like your problem, please open one.

Thanks, found it:

"The problem is that the python XML code returns Unicode which 
 portage doesn't like"
http://bugs.gentoo.org/show_bug.cgi?id=64353

Fixed in gentoolkit-0.2.0_pre10 if anyone wants to run unstable.

M.

--
gentoo-user@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-12-06 21:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-05 21:24 [gentoo-user] Problems with glsa-check Martin Larsson
2004-12-06  4:30 ` Aaron Walker
2004-12-06 21:21   ` Martin Larsson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox