Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 63

Summary: add simple "unmerge" functionality to emerge
Product: Portage Development Reporter: Daniel Robbins (RETIRED) <drobbins>
Component: UnclassifiedAssignee: Geert Bevin <gbevin>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Daniel Robbins (RETIRED) gentoo-dev 2002-01-06 22:34:20 UTC
 
Comment 1 Grant Goodyear (RETIRED) gentoo-dev 2002-01-07 12:08:30 UTC
More complicated version: option to remove packages that depend on the named 
package.
Comment 2 Daniel Robbins (RETIRED) gentoo-dev 2002-01-18 23:14:24 UTC
emerge --zap? "depstring"
emerge --unmerge? "depstring"

Geert -- wanna give this one a shot?
If not, I can do it.  But I thought I'd offer :)
Comment 3 Geert Bevin 2002-01-19 03:05:55 UTC
Ok, I'm in for it. :-)
Comment 4 Geert Bevin 2002-01-30 05:55:26 UTC
Just to not forget : the initial version should either be like this :

emerge --unmerge <=cat/pkg-1.0

this uses the dep mechanism to determine which packages should be removed, or
similar to the ebuild version :

emerge --unmerge /var/db/pkg/cat/pkg-1.1-r2

which does the same as 

ebuild /var/db/pkg/cat/pkg-1.1-r2pkg-1.1-r2/.ebuild unmerge
Comment 5 Geert Bevin 2002-01-31 18:50:08 UTC
This has been implemented, would be nice if drobbins could check the changes
since I'm still a bit unsure about the whole portage architecture and structure.