Re: Finding unused Packages
On Monday 6 December 1999, at 1 h 6, the keyboard of DarkeMane Industries
<darke@lilith.it.net.au> wrote:
> ./Unused.pl /var/lib/dkpg/status > unused.log
This is "dpkg". And it shows a bug: you don't test the return code of open(): bad, very bad.
Other bugs:
- flags packages which were removed by 'dpkg --remove', thus leaving configuration files:
dpkg - warning: ignoring request to remove midentd, only the config
files of which are on the system. Use --purge to remove them too.
- cannot handle some complicated dependencies, for instance introducing versions:
Removing libobgtk1 ...
dpkg: dependency problems prevent removal of gconv-modules:
libgtk1.2 depends on gconv-modules | libc6 (<< 2.1); however:
Package gconv-modules is to be removed.
Version of libc6 on system is 2.1.2-10.
Reply to: