You are not logged in.

#1 2009-11-18 23:59:06

mikemrh9
Member
Registered: 2009-02-17
Posts: 16

Removing unneeded packages afer change to KDE split build [Solved]

Hi.

I finally got round to sorting out the bloat from my KDE installation with `pacman -R kde-meta`. I then set about removing some of the bits that I didn't want, and everything was brilliant. In my wisdom, I decided to use `pacman -R` instead of `pacman -Rsn` to remove the unwanted bits.

I then decided to try to tidy things up by removing unneeded dependencies. I used to do this every once in a while with `pacman -Rs $(pacman -Qqdt)`, but now that KDE is no longer a meta package, this command seems to view pretty much my entire KDE installation as not explicitly installed, and therefore unneeded.  I disagree!

I see that my aforementioned trusty old command has been removed from the pacman wiki page (possibly for this very reason?), and am now wondering if there is an alternative method to finding and removing unneeded dependencies? I haven't worked anything out from the pacman man page, but am hoping that there is a quicker way to tidy things up than removing all of KDE and reinstalling the bits that I want explicitly.

Is this possible, or would I be better to wait for the next major KDE update and start from scratch?

Last edited by mikemrh9 (2009-11-21 00:38:56)

Offline

#2 2009-11-19 00:12:47

grey
Member
From: Europe
Registered: 2007-08-23
Posts: 679

Re: Removing unneeded packages afer change to KDE split build [Solved]

Have you looked at the --as-explicit flag? I.e. pacman -S --as-explicit <package> will make it explicitly installed. If the package is still in the cache it should be fast.


Good ideas do not need lots of lies told about them in order to gain public acceptance.

Offline

#3 2009-11-19 18:06:57

mikemrh9
Member
Registered: 2009-02-17
Posts: 16

Re: Removing unneeded packages afer change to KDE split build [Solved]

Brilliant. It's all stripped down and I still have my original configuration - that saved me a lot of pain.  Thank you.

Offline

Board footer

Powered by FluxBB