#763597 fonts-droid: conffiles not removed

#763597#5
Date:
2014-10-01 07:56:25 UTC
From:
To:
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=fonts-droid ; adequate $pkg ; dpkg-query -W -f='${Conffiles}\n' $pkg | grep obsolete
fonts-droid: obsolete-conffile /etc/fonts/conf.avail/65-droid-sans-fonts.conf
 /etc/fonts/conf.avail/65-droid-sans-fonts.conf fd72bca3218e0bd96e83fb21e4d73385 obsolete

#763597#8
Date:
2015-12-20 04:35:34 UTC
From:
To:
Hi Pabs,

I'm reassigning this to fonts-droid-fallback, but I also suspect that
this issue still exists I think it was never closed from changelog
before.

So can you please help in confirming if the issue persists?.

Best Regards

#763597#17
Date:
2015-12-20 04:44:07 UTC
From:
To:
It does:

$ pkg=fonts-droid ; adequate $pkg ; dpkg-query -W -f='${Conffiles}\n' $pkg | grep obsolete
fonts-droid: obsolete-conffile /etc/fonts/conf.avail/65-droid-sans-fonts.conf
 /etc/fonts/conf.avail/65-droid-sans-fonts.conf fd72bca3218e0bd96e83fb21e4d73385 obsolete
$ dpkg -l fonts-droid | tail -n1
ii  fonts-droid    1:4.4.4r2-7  all          handheld device font with extensive style and language support

#763597#22
Date:
2015-12-20 05:09:24 UTC
From:
To:
Paul Wise <pabs@debian.org> writes:

Umm. That is weird, we have maintscript in place to remove the
files. But now we can't do anything with fonts-droid as its already
replaced by fonts-droid-fallback.

How do I test this?. Install fonts-droid-fallback and run adequate like above?.

#763597#27
Date:
2015-12-20 05:20:51 UTC
From:
To:
I don't have fonts-droid-fallback installed, so any maintscript from
that wouldn't have done anything.

Install the old version of fonts-droid and then upgrade it to the latest version.

Also, both packages appear to have the fallback stuff installed in them:

https://packages.debian.org/sid/all/fonts-droid/filelist
https://packages.debian.org/sid/all/fonts-droid-fallback/filelist

#763597#32
Date:
2015-12-20 06:36:32 UTC
From:
To:
Paul Wise <pabs@debian.org> writes:

Ok I will do that.

As of now yes, new fonts-droid-fallback Replaces and Breaks fonts-droid
there was a bug which I think I fixed in Git but needs upload.

Also new fonts-droid-fallback doesn't install the fontconfig file there
is a check to install it only in ubuntu as mention by Ubuntu maintainer.

#763597#37
Date:
2015-12-20 06:38:59 UTC
From:
To:
Make sure to handle that removal properly, since it is a new conffile.