[Pkg-fonts-devel] Bug#669953: Obsolete conffiles /etc/fonts/conf.avail/43-wqy-zenhei-sharp.conf and /etc/fonts/conf.avail/44-wqy-zenhei.conf not cleaned up on upgrade
Josh Triplett
josh at joshtriplett.org
Sun Apr 22 13:04:43 UTC 2012
On Sun, Apr 22, 2012 at 09:01:03PM +0900, Osamu Aoki wrote:
> Hi,
>
> On Sun, Apr 22, 2012 at 02:44:00AM -0700, Josh Triplett wrote:
> > Package: ttf-wqy-zenhei
> > Version: 0.9.45-4
> > Severity: normal
> >
> > dpkg does not automatically remove conffiles on upgrade when a package
> > stops shipping them. ttf-wqy-zenhei needs to clean up the obsolete
> > conffiles /etc/fonts/conf.avail/43-wqy-zenhei-sharp.conf and
> > /etc/fonts/conf.avail/44-wqy-zenhei.conf in its maintainer scripts,
> > using dpkg-maintscript-helper. Please see the manpage of
> > dpkg-maintscript-helper for details.
>
> Very true.
>
> Maybe this was working for -3.1 not to get bug report :-)
>
> Whoever had this package liked Chinese priority. Others who just
> installed on top of non-chinese system, liked this as well.....
>
> Anyway, postinst with md5sum check seems to be the solution.
No, don't hand-roll this; dpkg-maintscript-helper exists for a reason,
and it does exactly what you need.
- Josh Triplett
More information about the Pkg-fonts-devel
mailing list