Proposition
This is just a proposition. Please tell me if anyone is interessed, but
also tell me if you think I can throw it away...
I recently developped a small .sh script (for personal purpose) that
looks for packages that could be removed from the system.
It is not like "deborphan", as far as I understans what deborphan does.
It is much more simpler but it has some restrictions.
Here is how it works :
you give it the name of packages that you just removed (say "foo")
it gives you the name of packages that where used by foo and that are no
more required.
ex:
I install foo (apt-get install foo) that requires libfoobar, not used by
anybody else on my debian system.
I remove foo
Then I ask for new removables : "dpkg-to-remove foo" -> "libfoobar"
You can give it many packages at once if you want.
This script however only works when you give it the name of the packages
you removed. This is the reason why it should be integrated to "dpkg
--remove" (or whatever does this) in order to be efficient.
What I propose is to send "root" a list of "packages that you couls
remove because you removed this one" after each removal.
My script is available for anybody who wants it. It has a lot of
comments, and it is very small.
Please tell me if you are interested or if you think I could throw it
away...
Hope I'll help,
--
Nicolas SABOURET
LIMSI-CNRS, BP133, 91403 Orsay, France
http://www.limsi.fr/Individu/nico
Reply to: