Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 17203 - ebuild <any.thingebuild> unmerge doesn't work
Summary: ebuild <any.thingebuild> unmerge doesn't work
Status: RESOLVED INVALID
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-10 05:28 UTC by Attila Tajti
Modified: 2011-10-30 22:18 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 Attila Tajti 2003-03-10 05:28:26 UTC
I tried to unmerge kde-3.0.5a, but failed to do so because kde-base/kde-3.0.5a was protected. 
 
So I went forward to unmerge the ebuilds themselves, but the command 
  
ebuild --debug kdeaddons-3.0.5a/kdeaddons-3.0.5a.ebuild unmerge 
 
resulted in !!! Please specify a valid command. 
 
I looked at /usr/sbin/ebuild and /usr/lib/python2.2/site-packages/portage.py and noticed that 
in the portage module the unmerge command is missing from the list of valid commands in the first 
check performed by the doebuild function. Adding "unmerge" to the list of valid commands solved 
my problem. 
 
 

Reproducible: Always
Steps to Reproduce:
1. ebuild --debug kdeaddons-3.0.5a/kdeaddons-3.0.5a.ebuild unmerge 
 
Actual Results:  
Ebuild returned with !!! Please specify a valid command. 

Expected Results:  
Unmerge the ebuild. 

Note that this happened after emerge sync ; emerge portage ; emerge sync 
 
No outdated config files were present 
 
Portage 2.0.47-r8 (default-x86-1.4, gcc-3.2.2, glibc-2.3.2_pre1-r0) 
================================================================= 
System uname: 2.4.20-gentoo-r1 i686 AMD Athlon(tm) processor 
GENTOO_MIRRORS="http://gentoo.oregonstate.edu/ 
http://distro.ibiblio.org/pub/Linux/distributions/gentoo" 
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/X11R6/lib/X11/xkb 
/usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" 
PORTDIR="/usr/portage" 
DISTDIR="/usr/portage/distfiles" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR_OVERLAY="" 
USE="x86 oss 3dnow apm crypt cups encode gif libg++ libwww mikmod mpeg ncurses pdflib 
quicktime spell gdbm berkdb slang svga java guile gpm tcpd pam ssl esd motif X gtk gnome kde qt 
alsa -postgres -arts cdr python perl opengl sdl jpeg png truetype xml xml2 dvd readline ruby avi 
fbcon mmx nls oggvorbis pda gphoto2 imlib mozilla xv xmms zlib" 
COMPILER="gcc3" 
CHOST="i686-pc-linux-gnu" 
CFLAGS="-march=athlon -O3 -pipe" 
CXXFLAGS="-march=athlon -O3 -pipe" 
ACCEPT_KEYWORDS="x86 ~x86" 
MAKEOPTS="-j2" 
AUTOCLEAN="yes" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
FEATURES="sandbox ccache"
Comment 1 SpanKY gentoo-dev 2003-03-10 05:49:00 UTC
`emerge <ebuild> unmerge`