Uninstall everything but ubuntu-desktop and dependencies

Robert Entner ubuntu at mail1.entner.net
Mon Mar 27 11:09:51 UTC 2006


On Friday 24 March 2006 23:27, Tristan Wibberley wrote:
> Robert Entner wrote:
> > Hello!
> >
> > I want to uninstall all packages which do not depend on the
> > meta-package ubuntu-desktop.  Is there another way than to, for
> > example in synaptic, mark everything for removal and then mark
> > ubuntu-desktop for installation?  This way I get lots of "this
> > package is very important" messages.
>
> You can do this in aptitude (sudo aptitude). move your highlight to
> "Installed Packages", then press shift-m, then type /^ubuntu-desktop$
> and press return, then press +. This will mark ubuntu-desktop and every
> thing it depends on (and probably all recommends too, I think you can
> change that via the options menu (the menu is operated from the
> keyboard via F10, but at least gnome-terminal seems to steal that
> keystroke - fortunately it normally works with the mouse for those who
> aren't wristually challenged).

Thank you, it worked perfectly fine.  I also had to do a "forget new 
packages" first, as I normally use Synaptic and Aptitude did think nearly 
everything was new.

Burt

-- 
www.kochecke.at




More information about the ubuntu-users mailing list