[Pkg-fonts-devel] Bug#768232: Bug#768232: fonts-sil-andika: conffiles not removed

Christian PERRIER bubulle at debian.org
Sat May 2 06:47:30 UTC 2015

Quoting Christian Meyer (c2h5oh at web.de):
> Package: fonts-sil-andika
> Version: 1.004-2
> Followup-For: Bug #768232
> Hello there,
> I was bitten by this, too.
> I upgraded from wheezy and wondered about the error-messages, read your
> changelog,
> wondered again and removed /etc/fonts/conf.d/65-andika.conf manually. Bug was
> gone.
> Then I reinstalled the package again and the bug reappears, too. Obviously the
> file got reinstalled.

Well, that's clearly bad handling of this conffile....

I just rebuilt fonts-sil-andika with the following added:

rm_conffile /etc/fonts/conf.avail/65-andika.conf 1.004-2~ fonts-sil-andika

Now, the conffile really goes away when the package is upgraded. My
remaining problem is the /etc/fonts/conf.d/65-andika symling that is
created when  the wheezy package is installed.

Even if I use this in debian/maintscript:
rm_conffile /etc/fonts/conf.avail/65-andika.conf 1.004-2~ fonts-sil-andika
rm_conffile /etc/fonts/conf.d/65-andika.conf 1.004-2~ fonts-sil-andika

The symlink still remains after the package is upgraded. It is a
dangling symlink but still there.

Anyone with a clue about how to properly deal with this?

PS: I plan to clean out the various good and bad conffile handling
which we're doing in many font packages, in the jessie->stretch
release cycle.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-fonts-devel/attachments/20150502/ab3a6ec2/attachment.sig>

More information about the Pkg-fonts-devel mailing list