[Pkg-fonts-devel] obsolete conffiles in /etc/defoma/hints
Jean-Christophe Dubacq
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:
> /etc/defoma/hints/ttf-inconsolata.hints
> (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.
> 2)
> /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
> /etc/fonts/conf.d.
>
> Shouldn't there be some code to remove this file? It is out of order (no
> nn- prefix), and may have unintended side-effects...
>
> 3)
> 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/ttf-malayalam-fonts.conf
> /etc/fonts/conf.d/ttf-punjabi-fonts.conf
> /etc/fonts/conf.d/99pdftoopvp.conf *
> /etc/fonts/conf.d/65-khmer.conf *
> /etc/fonts/conf.d/ttf-bengali-fonts.conf
> /etc/fonts/conf.d/ttf-kannada-fonts.conf
> /etc/fonts/conf.d/ttf-gujarati-fonts.conf
> /etc/fonts/conf.d/ttf-telugu-fonts.conf
> /etc/fonts/conf.d/README *
> /etc/fonts/conf.d/ttf-devanagari-fonts.conf
> /etc/fonts/conf.d/ttf-tamil-fonts.conf
> /etc/fonts/conf.d/65-ttf-sil-andika.conf *
> /etc/fonts/conf.d/ttf-oriya-fonts.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
provide patches.
--
Jean-Christophe Dubacq
More information about the Pkg-fonts-devel
mailing list