On Monday 03 February 2003 4:42 pm, you wrote: > On Mon, 2003-02-03 at 17:26, Martyn Welch wrote: > > On Monday 03 February 2003 3:11 pm, gabor wrote: > > > hi, > > > > > > i'm searching for a feature of the mandrake-urpmi system: > > > when i do a "urpme gtk" on mandrake, > > > it not only uninstalls gtk, but also removes all the packages that > > > depend on gtk... so i don't have any broken dependencies on my > > > computer. > > > > > > as far as i know a simple "emerge unmerge gtk" removes only gtk, and > > > leaves all the gtk apps on the computer. > > > > > > is there a way to achieve what i need? > > > > > > thanks, > > > gabor > > > > I think you want "emerge clean", from man page: > > > > clean (-c) > > Cleans the system by removing packages that will not effect > > the functionality of the system. The arguments can be ebuilds, > > classes, or dependencies. For example, emerge clean binutils cleans > > out old versions of binutils; emerge clean > > net-www/mozilla-0.9.9-r2 cleans out that specific version of Mozilla. > > This is generally safe to use. Note that clean does not remove > > unslotted packages. > > > > Hope this helps, > > thanks, but that's not exactly what i need... > > :( > > for example let's say i install gnome... > then i want to uninstall gnome... > but first time i didn't do an "emerge gnome" because i didn't want all > those gnome-gadgets, gnome-games, gnome-toys, so i did an "emerge > nautilus gnome-desktop gnome-session" and that got me all i needed. > but now when i do an "emerge unmerge gnome-session gnome-desktop > nautilus" it removes only those 3 packages, and not their dependencies ( > like esound, orbit, gconf, gnome-vfs ) > > usually i solved these problems on mandrake the following way: > i did an "urpme gtk" this command removed gtk and all gtk using packages > ( that mean the complete gentoo also ) .. i wrote on a paper what > packages i want to reisntall from the list of uninstalled packages. > > gabor > > gabor
Ok, "emerge unmerge gnome-session gnome-desktop nautilus && emerge clean" Since you didn't explicitly install the dependences (you didn't did you?) I believe this should remove them as they are note required for the functionality of the system as determined by your world list/file. Martyn -- [EMAIL PROTECTED] mailing list
