Message: previous - next
Month: December 2011

Re: [trinity-users] how to get rid of old KDE packages?

From: Nicolas Bercher <nbercher@...>
Date: Fri, 09 Dec 2011 11:15:13 +0100
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 

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

   # 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.