On Friday 09 December 2011 01:15:13 Nicolas Bercher wrote: > Frank Lienhard a écrit : > > On 12/08/2011 04:05 PM, Lisi wrote: > >> On Thursday 08 December 2011 14:29:07 Frank Lienhard wrote: > >>> my main problem seems to be finding all the unnecessary kde stuff.. > > Not a wonderful solution but try this: > > $ aptitude search -F "%p" ~i | grep "\-trinity[ \t]*$" | sed > "s;\-trinity;;" > > It should give the list of every installed trinity package on whose the > suffix '-trinity' in their names are removed. > > Then, you should be able to remove every kde4 packages that matches > trinity installed ones (e.g., konqueror removed if konqueror-trinity is > installed): > > # aptitude remove $(aptitude search -F "%p" ~i | grep "\-trinity[ > \t]*$" | sed "s;\-trinity;;") > > this is not perfect since it won't remove every kde4 packages, but it > will remove conflicting apps. > > After this is done (you may have struggled a little with dependencies), > you could try: > > # aptitude remove ~g > > to remove every packaged that are not required by any manually installed > package. Now, you shouldn't have a lot of remaining kde4 packages. > > Nicolas A couple of cli tools, 'apt-get autoremove' and 'deborphan', once you start removing packages any left behind dependencies can be removed by these commands. -- Peace, Greg