Package: wajig
Version: 2.0.38
Severity: wishlist
I often go through my packages and purge configuration files of removed
packages. It'd be nice to do at least one of two things:
1. Have wajig purge prompt. I often want to know whether a purge is
likely to cause problems, so I run wajig remove to see if any problems
will be caused, then wajig purge to remove the packages. This is to
avoid the situation where packages are purged but still installed
because of dependency problems, as wajig purge doesn't prompt, but just
goes ahead and tries to purge the packages you ask to be purged without
first checking dependencies.
2. Add wajig purge-removed to purge packages that have already been
removed but have configuration files still in the system. This is useful
in its own right e.g. after a system upgrade. I use the following script
for this at the moment:
dpkg-query -W --showformat='${Package}\t${Status}\n' | grep "deinstall ok
config-files" | cut -f 1 | xargs wajig purge
The only obvious problem is that it gives an ugly error message if no
such packages are in the system, but there may be other subtleties I'm
unaware of.
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (700, 'testing'), (601, 'unstable'), (600, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.24-1-686 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages wajig depends on:
ii apt 0.7.11 Advanced front-end for dpkg
ii dselect 1.14.16.6 user tool to manage Debian package
ii python 2.4.4-6 An interactive high-level object-o
ii python-apt 0.7.5 Python interface to libapt-pkg
ii python-central 0.6.5 register and build utility for Pyt
wajig recommends no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]