accidental inclusion of kubuntu packages

Eric Dunbar eric.dunbar at gmail.com
Mon Feb 21 01:57:27 UTC 2005


> sudo apt-get install ubuntu*
> 
> Hoping to just get the "ubuntu-base", "ubuntu-desktop", etc. Now, I
> don't mind adding a few KDE/QT apps to the desktop, but with my
> limited space on the machine I probably don't need all of
> "kubuntu-base" and "kubuntu-desktop" installed. Now that those two
> meta-packages have been installed and pulled in a bazillion packages,
> what's the best way to remove them? I think the "remove" and "remove
> completely" options in synaptic will just deselect them. Any thoughts?
> Do I manually need to go through the list of dependencies for those
> meta-packages to figure out what to get rid of?

How about:

sudo apt-get remove kubuntu-desktop kubuntu-base

followed by

sudo apt-get clean

to get rid of the packages in the apt-get cache. Or, 

sudo apt-get remove kubuntu* && sudo apt-get clean

&& between commands will execute them consecutively without you having
to intervene, and, for a remove or install you can insert -y (sudo
apt-get -y name...) to assume yes to everything.

Eric.




More information about the ubuntu-users mailing list