Nicolas Bercher a écrit : > 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 An afterthought: this may fail if kde4 packages are named with an extra "4" somewhere in their name. But as far as I can remember, this will work for some packages that are named just like kde3 packages (amarok vs amarok-trinity, etc.). N.