Andrew Gaffney wrote:
EvgGad wrote:try this line it has been posted before on forums and here i think
Sven Vermeulen wrote:
On Thu, Feb 12, 2004 at 06:38:51PM +0200, EvgGad wrote:I know about depclean ;) , but sometimes it gives really strange results... :(
I've such a question, how can I unmerge some group of packages for example kde. Some time ago I merged kde and gnome, but I don't use them anymore. How can I unmerge all of the packages they merged? Is there any possibilities to do it like "emerge unmerge --some_keys gnome"?
Unmerge the kde/gnome packages themselves, then run "emerge -p depclean" to
see if this would remove only packages you don't need anymore. If you agree,
run "emerge depclean".
You will see that "emerge -p depclean" and "emerge depclean" provide you with
a big, nice warning IN CAPITALS, so please don't just ignore what it sais :)
Wkr, Sven Vermeulen
That was the whole reason I wrote my script in the first place. Instead of looking at all packages, it just considers packages that are listed when you do 'emerge -ep [gnome|kde]' and ignores all packages that are listed when you do 'emerge -ep system'. That way, it only considers packages that were installed as a result of the original 'emerge [gnome|kde]'.
qpkg -I -nc |grep gnome |xargs emerge unmerge -p
of course replace gnome with kde and so on, worked quite well for me when i wanted to get rid of gnome :P
Yeah, but it will leave packages that 'emerge gnome' installed that don't have 'gnome' in the name. My program checks dependencies using 'qpkg -I -nc -q' to see what is safe to unmerge.
-- Andrew Gaffney Network Administrator Skyline Aeronautics, LLC. 636-357-1548
-- [EMAIL PROTECTED] mailing list
