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

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

Quoting Christian Meyer (c2h5oh@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.

Attachment: signature.asc
Description: Digital signature

Reply to: