[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: getting all modified conffiles

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

man grep-dctrl for more.

 - mdz

Reply to: