Re: getting all modified conffiles
On Mon, Feb 16, 2004 at 05:02:40PM -0800, Matt Zimmerman wrote:
> On Mon, Feb 16, 2004 at 06:26:36PM +0100, Oliver Kurth wrote:
> > I would like to write a script that gives me a list of all modified
> > conffiles. Not too hard, by parsing /var/lib/dpkg/status and comparing
> > the md5sums. But it would be easier if I could get the contents of a
> > particular field of installed packages, 'Conffiles' in my case, by
> > calling some program. dpkg-deb -f can only be used on .deb files, but
> > not on installed packages.
> > Any ideas?
> grep-status -Fstatus -nsconffiles installed
That catches "Status: purge ok not-installed" too. I tend to grep for
'install ok installed'.
Colin Watson [email@example.com]