I found this:
http://distrocenter.linux.com/comments. ... ;cid=90212
Zitat:
If you try a lot of software, installing and uninstalling packages, then after a while you'll have a lot of useless leftover dependencies installed too. Run deborphan to see a list of these. You can apt-get --purge remove `deborphan`. Now do it again, to see more packages that now turn out also to be useless. Do this until there aren't any more, and you've removed a lot of cruft from your system.
It makes sense to me, and if I install an app via apt, it'll also often install other dependencies, but when I remove the app via apt, it only removes the app and not the dependencies.
The command seems to work great. I had to run it 3 or 4 times to clear out everything.
I don't like the thought of my pc being bogged down with dependencies that it doesn't need. I guess you'd have to be carefull though, as it removes things that it thinks isn't used anymore, but this may not be correct, like if you've installed stuff that's not from the debian repo's. Running "deborphan" by itself will list the stuff it thinks can be removed.
For those of you who use h2's du-fixes-h2.sh, that script also gives you the option of removing unused dependencies for you, and it does it in the same way. |