[Pkg-fonts-devel] obsolete conffiles in /etc/defoma/hints
jcdubacq1 at free.fr
Sat Feb 27 22:05:51 UTC 2010
On 27/02/2010 15:42, Jean-Christophe Dubacq wrote:
> I am currenly investigating obsolete conffiles, and I found several
> conffiles left around by font packages, eg:
> (and many others)
> 1) Can these be deleted with no consequences (I think so, installing
> the package does not event create /etc/defoma). It looks like the code
> in the preinst should remove this configuration file, but it was not
> removed on my disk (maybe there was a timeframe where the helper
> rm_conffile was not correct?).
I have tried the stable -> unstable transition for a few fonts packages
(I chose completely at random ttf-inconsolata and ttf-tamil-fonts, but I
am quite sure it happens elsewhere):
* ttf-inconsolata has a VERSION too low: the version in stable is
001.009-1 (and still has defoma hints), and the preinst removes the
hints only for upgrade from versions VERSION=001.001-2 or lower.
> /etc/fonts/conf.d/ttf-tamil-fonts.conf is a real file, obsolete,
> identical to /etc/fonts/conf.avail/90-ttf-tamil-fonts.conf, and there is
> a symlink to /etc/fonts/conf.avail/90-ttf-tamil-fonts.conf in
> Shouldn't there be some code to remove this file? It is out of order (no
> nn- prefix), and may have unintended side-effects...
> There are other real files in /etc/fonts/conf.d (I never touched
> anything . Should they not be all links to /etc/fonts/conf.avail?
> /etc/fonts/conf.d/99pdftoopvp.conf *
> /etc/fonts/conf.d/65-khmer.conf *
> /etc/fonts/conf.d/README *
> /etc/fonts/conf.d/65-ttf-sil-andika.conf *
> The stars are the files not declared as obsolete by dpkg.
* ttf-tamil-fonts has the correct removal (it seems), but it leaves
behind a file in /etc/fonts/conf.d.
Is the team interested in a (semi-automatic) testing of stable->unstable
upgrade that would check that all conffiles are correctly managed? I can
More information about the Pkg-fonts-devel