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

Re: Cleaning up obsolete conffiles



On Thu, May 9, 2013 at 4:07 PM, Bob Proulx wrote:

> Is there a bug example or two you could point me to so that I can
> follow the standard template of reporting these problems?  It appears
> I have some bug reports to file against packages in Wheezy.

Here is a recent example of one I filed:

http://bugs.debian.org/706911

And my template for that:

Subject: 	conffiles not removed
Usertags: conffile
User: debian-qa@lists.debian.org
Usertags: obsolete-conffile adequate

The recent upgrade did not deal with obsolete conffiles properly.
Please use the dpkg-maintscript-helper support provided by dh_installdeb
to remove these obsolete conffiles on upgrade.

http://www.debian.org/doc/debian-policy/ch-files.html#s-config-files
http://manpages.debian.net/man/1/dh_installdeb

This bug report brought to you by adequate:

http://bonedaddy.net/pabs3/log/2013/02/23/inadequate-software/

pkg=
adequate $pkg
dpkg-query -W -f='${Conffiles}\n' $pkg | grep obsolete
dpkg -L $pkg | sort -u | grep /etc > 1
dpkg-deb --contents /var/cache/apt/archives/$pkg_*.deb | sed
's/^.*\.\//\//;s_/$__' | sort -u | grep /etc > 2
diff -u 1 2

-- 
bye,
pabs

http://wiki.debian.org/PaulWise


Reply to: