Anyone else periodically pacman -Q and "clean house"?

Every so often when I've gone through a period of installing/uninstalling 50 or 60 things, I notice my root partition is filling up, so I start going through and removing things.
For the uninitiated, that means uninstalling things and then running pacman -Rs $(pacman -Qqtd) to clear out unneeded dependencies.
Managed to get rid of about a gig and a half of crap. Felt good.

takedown wrote:
SomeGuyDude wrote:For the uninitiated, that means uninstalling things and then running pacman -Rs $(pacman -Qqtd) to clear out unneeded dependencies.
For me, pacman -Rs $(pacman -Qqtd) don't work.
This method give me wrong packages, for example:
bash$ pacman -Qqtd
automake
automoc4
bigreqsproto
cdrdao
cmake
cyrus-sasl
flex
git
glproto
gtk-qt-engine
kdemultimedia-kmix
kdemultimedia-mplayerthumbs
libcaptury
libidn
libmsn
libmtp
libnjb
libotr
libstdc++5
mercurial
netkit-bsd-finger
normalize
openslp
ortp
pkgconfig
postgresql
pyqt
qca-ossl
resourceproto
rpcbind
sox
speex
subversion
xcmiscproto
xf86driproto
xtrans
Much of this packages I really don't know if need it or no, but for example, I really need: cdrao (k3b), git, suversion and mercurial (some packages from aur need it), pyqt (I install it explicit, for programming), gtk-qt-engine (gtk under kde4 look n feel), kdemultimedia-kmix (I really need it).
It's a bug? It's a bad usage of pacman?
PD: sorry my poor english
I used to think the same thing. 
-Qqtd returns packages that were installed as a *runtime* dependency for another package which is no longer installed.  i've never seen it report packages not satisfying these two conditions.
mercurial, subversion, automake... these are common *buildtime* dependencies.  they're often required by AUR packages which you build yourself... once built, you no longer need these packages and they are picked up by -Qqtd.  the more i use AUR, the less i can use that handy find-the-orphans one-liner effectively.
the other ones that you still think are mistakes, please use -Qi to check dependencies (i.e. k3b does not depend on cdrao) and to make sure things are listed as "explicitly installed" (i.e. pyqt).
if -Qi really contradicts -Qqdt, feel free to report a bug.

Similar Messages

Maybe you are looking for

  • Imac freezing on startup, fine in safe mode

    Hi there - apologies in advance if I just need to be directed to another thread I've had a look around and can't find what to do now that I'm in safe mode. My Imac keeps freezing either at the password screen or as soon as I've logged in. Am I right

  • Using Database views in source qualifier

    Hi, I have a view in my database which when ran from SQL developer returns me around 1202527 records. But using the same view, when I write source qualifier in the Informatica Mapping (straight forward mapping without any filter etc), the number of r

  • ITunes 10.5 W7 x64 Problem (Policy 8.0 MS Error) Help?

    I have been trying for 2 days to install 10.5, I have 10.4 installed without an issue. However, I get this error when I install 10.5: An error occurred during the installation or assembly "policy.8.0.Microsoft.VC80.CRT,type="win32-policy",version="8.

  • Calculation of TDS based on amount.

    Hello Everyone, We have a few vendors for whom tax calculated is nil.In certain cases the vendor has exemption certificates,say uptil 1lakh rupees he would be exepmted and anything beyond that needs to be deducted. In such a case the situation which

  • Word processing within a text component

    Although this is a potentially great application, I am at present prevented from using it to create a website due to the lack, as far as I can determine, of any form of processing individual text within the text components e.g. making individual word