Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 41400 - KeyError while emerge regen
Summary: KeyError while emerge regen
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-12 10:58 UTC by Guy Martin (RETIRED)
Modified: 2004-08-11 04:20 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Guy Martin (RETIRED) gentoo-dev 2004-02-12 10:58:51 UTC
Portage fail to emerge regen for me.


[snip]
processing app-doc/ebook-gdk
processing app-doc/ebook-gdk-pixbuf
processing app-doc/ebook-ggad
processing app-doc/ebook-glibc
processing app-doc/ebook-gtk
Traceback (most recent call last):
  File "/usr/bin/emerge", line 2263, in ?
    mymatches=portage.portdb.xmatch("match-all",x)
  File "/usr/lib/portage/pym/portage.py", line 4688, in xmatch
    myval=match_from_list(mydep,self.cp_list(mykey))
  File "/usr/lib/portage/pym/portage.py", line 3531, in match_from_list
    raise KeyError, "Specific key requires an operator (%s) (try adding an '=')" % (mydep)
KeyError: "Specific key requires an operator (app-doc/ebook-gtk-2.0) (try adding an '=')"



I tried to grep for ebook-gtk-2.0 in /usr/portage /var/cache and /var/db but I saw nothing really intersing about that.
Comment 1 Guy Martin (RETIRED) gentoo-dev 2004-02-12 11:01:44 UTC
This can be usefull too :)

DonMarco root # emerge info
Portage 2.0.50 (default-hppa-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.24-pa0)
=================================================================
System uname: 2.4.24-pa0 parisc64 PA8500 (PCX-W)
Gentoo Base System version 1.4.3.13
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.58
Automake: sys-devel/automake-1.7.8
ACCEPT_KEYWORDS="hppa"
AUTOCLEAN="yes"
CFLAGS="-O2 -pipe -mschedule=8000"
CHOST="hppa2.0-unknown-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O1 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache"
GENTOO_MIRRORS="ftp://gentoo.mirrors.pair.com/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X arts berkdb cdr crypt cups encode foomaticdb gdbm gif gpm hppa imlib jpeg libg++ libwww mikmod motif mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell ssl tcpd tetex truetype xfs xml2 xmms xv zlib"
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2004-02-12 19:19:35 UTC
Appears to be reproducable for me when doing a "cvs up" (which temporarily creates directories that have been moved to the attic). Once the update is complete I
can regen just fine.
Comment 3 Guy Martin (RETIRED) gentoo-dev 2004-02-16 03:25:36 UTC
I emerged sync and I was hopefully able to update to portage 2.0.50-r1.

emerge regen worked and after some fix-db, reemerge regen and emerge metadata (I was not sure what I had to do so I did everything :) it reworked.

Now I'm trying to cvs co gentoo-x86 but that should work.
Comment 4 Guy Martin (RETIRED) gentoo-dev 2004-08-11 04:20:41 UTC
This never happened again with new portages. I close it.