Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 38150 - Portage 2.0.50_pre16 can not unmerge gentoo-sources
Summary: Portage 2.0.50_pre16 can not unmerge gentoo-sources
Status: RESOLVED DUPLICATE of bug 29856
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: High normal
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-14 02:16 UTC by Claes Mogren
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 Claes Mogren 2004-01-14 02:16:41 UTC
When trying to unmerge old kerneltrees portage fails. (Removing regular programs, like gaim or so works just fine)

Reproducible: Always
Steps to Reproduce:
1. Have at least one unused kernel emerged
2. try to unmerge it

Actual Results:  
> emerge unmerge sys-kernel/gentoo-sources-2.4.22-r1 
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/gentoo-sources-2.4.22-r1)'

Expected Results:  
The old gentoo-sources should have been unmerged.
(These are the kernels I have.)
ls /usr/src
linux                   linux-2.4.22-gentoo-r1  linux-2.4.22-gentoo-r3
linux-2.4.20-gentoo-r8  linux-2.4.22-gentoo-r2  linux-2.4.22-gentoo-r4

Portage 2.0.50_pre16 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20031222-r0,
2.4.22-gentoo-r2)
=================================================================
System uname: 2.4.22-gentoo-r2 i686 AMD Athlon(tm) Processor
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=athlon-tbird -O3 -pipe -fforce-addr -fomit-frame-pointer
-maccumulate-outgoing-args -fprefetch-loop-arrays -ffast-math
-fmerge-all-constants -mmmx -m3dnow"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon-tbird -O3 -pipe -fforce-addr -fomit-frame-pointer
-maccumulate-outgoing-args -fprefetch-loop-arrays -ffast-math
-fmerge-all-constants -mmmx -m3dnow"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo
http://gentoo.oregonstate.edu/
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
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 alsa apm avi bonobo cdr crypt cups dga encode esd foomaticdb gdbm gif
gnome gpm gtk gtk2 gtkhtml guile imlib java jpeg libg++ libwww mad mikmod motif
mozilla mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python
quicktime readline samba sdl slang spell ssl svga tcltk tcpd tetex truetype x86
xml2 xmms xv zlib"
Comment 1 SpanKY gentoo-dev 2004-01-14 05:39:01 UTC

*** This bug has been marked as a duplicate of 29856 ***