Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 38543 - errors in emerge -C (portage 2.0.50-pre16)
Summary: errors in emerge -C (portage 2.0.50-pre16)
Status: RESOLVED DUPLICATE of bug 29856
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High major
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-17 14:07 UTC by Andrea Cerrito
Modified: 2005-07-17 13:06 UTC (History)
0 users

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 Andrea Cerrito 2004-01-17 14:07:33 UTC
I've tried to unemerge two old develpment kernels, but I received an error.

Reproducible: Always
Steps to Reproduce:
1. use portage 2.0.50-pre16
2. emerge -C sys-kernel/mm-sources-2.6.1-r1 sys-kernel/mm-sources-2.6.1-r2
3. emerge -C /usr/portage/sys-kernel/mm-sources/mm-sources-2.6.1-r1.ebuild /usr/portage/sys-kernel/mm-sources/mm-sources-2.6.1-r2.ebuild

Actual Results:  
cerrito on GSM root # emerge -C sys-kernel/mm-sources-2.6.1-r1
sys-kernel/mm-sources-2.6.1-r2
Traceback (most recent call last):
  File "/usr/bin/emerge", line 2194, in ?
    if 1==unmerge(myaction, myfiles):
  File "/usr/bin/emerge", line 1651, in unmerge
    mymatch=localtree.dep_match(x)
  File "/usr/lib/portage/pym/portage.py", line 3946, in dep_match
    mymatch=self.dbapi.match(mydep)
  File "/usr/lib/portage/pym/portage.py", line 3865, in match
    mymatch=match_from_list(mydep,self.cp_list(mykey))
  File "/usr/lib/portage/pym/portage.py", line 3258, in match_from_list
    raise KeyError, "Specific key requires an operator (%s)" % (mydep)
KeyError: 'Specific key requires an operator (sys-kernel/mm-sources-2.6.1-r1)'
cerrito on GSM root # emerge -C
/usr/portage/sys-kernel/mm-sources/mm-sources-2.6.1-r1.ebuild
/usr/portage/sys-kernel/mm-sources/mm-sources-2.6.1-r2.ebuild
['', 'usr', 'portage', 'sys-kernel', 'mm-sources', 'mm-sources-2.6.1-r1.ebuild']
/usr/portage/sys-kernel/mm-sources/mm-sources-2.6.1-r1.ebuild

!!! /usr/portage/sys-kernel/mm-sources/mm-sources-2.6.1-r1.ebuild is not inside
/var/db/pkg; aborting.

Expected Results:  
Unmerge the unwanted software.

cerrito on GSM root # etcat -v mm-sources
[ Results for search key           : mm-sources ]
[ Candidate applications found : 4 ]

 Only printing found installed programs.

*  sys-kernel/mm-sources-2.6.1-r1 :
        [  I] 2.6.1-r1 (2.6.1-mm1)

*  sys-kernel/mm-sources-2.6.1-r2 :
        [ ~I] 2.6.1-r2 (2.6.1-mm2)

*  sys-kernel/mm-sources-2.6.1-r3 :
        [ ~I] 2.6.1-r3 (2.6.1-mm3)

*  sys-kernel/mm-sources-2.6.1-r4 :
        [  I] 2.6.1-r4 (2.6.1-mm4)

cerrito on GSM root # emerge info
Portage 2.0.50_pre16 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20031222-r0,
2.6.1-mm3)
=================================================================
System uname: 2.6.1-mm3 i686 Intel(R) Pentium(R) III Mobile CPU      1200MHz
Gentoo Base System version 1.4.3.12
Autoconf: sys-devel/autoconf-2.59
Automake: sys-devel/automake-1.7.8
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -mfpmath=sse -O2 -pipe -fomit-frame-pointer -mmmx -msse
-falign-functions=32 -fforce-addr"
CHOST="i686-pc-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/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://mi.mirror.garr.it/mirrors/gentoo
http://212.219.56.162/sites/www.ibiblio.org/gentoo/
http://194.83.57.2/sites/www.ibiblio.org/gentoo/
http://194.83.57.3/sites/www.ibiblio.org/gentoo/
http://ftp.snt.utwente.nl/pub/os/linux/gentoo
ftp://ftp.flashnet.it/mirror/12/sunsite.unc.edu/Gentoo
http://ibiblio.org/pub/Linux/ftp.edisontel.com/pub/Sunsite_Mirror
http://sunsite.cnlab-switch.ch/ftp/mirror/gentoo
ftp://sunsite.cnlab-switch.ch/mirror/gentoo
http://www.ibiblio.org/pub/Linux/distributions/gentoo
http://gentoo.oregonstate.edu "
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/home/portoverlay"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X aalib acl acpi alsa apm arts avi berkdb bluetooth bonobo cdr crypt cups
dga directfb dvd encode esd fbcon foomaticdb gdbm gif gnome gpm gtk gtk2 gtkhtml
guile imlib irda java jpeg kde kerberos krb4 ldap libg++ libwww mad mikmod
miknod mmx mng motif mozilla mpeg nas ncurses nls oggvorbis opengl oss pam
pcmcia pdflib perl png pnp python qt quicktime radeon readline ruby samba
scanner sdl slang socks5 spell sse ssl svga tcltk tcpd tetex truetype usb x86
xml2 xmms xv zlib video_cards_radeon"

cerrito on GSM root #
Comment 1 Marius Mauch (RETIRED) gentoo-dev 2004-01-17 14:20:50 UTC

*** This bug has been marked as a duplicate of 29856 ***
Comment 2 Andrea Cerrito 2004-01-17 18:09:30 UTC
Are you sure this bug is a duplicate?
emerge must (eventually) give nice output about wrong name of the package, but cannot give a traceback.