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

Re: Bug#94752: dh_installxfonts deletes fonts.alias and therefore breaks X



Robert Bihlmeyer wrote:
> Package: debhelper
> Version: 3.0.17
> Severity: grave
> 
> When removing or upgrading a font package, the postrm fragment due to
> dh_installxfonts will unconditionally remove the fonts.alias file. But
> if the package in question does not include a /etc/X11/fonts/*/*.alias
> file, this file is NOT regenerated via update-fonts-alias in the
> postrm (or, on upgrades, in the postinst). The affected directories
> will end up without a fonts.alias. If one of these directories was the
> "misc" one, X will no longer start up in the default configuration
> (due to "fixed" not being found).

Well, that's bad. Ok, what in the hell are these
/etc/X11/fonts/*/*.alias files, and why have I never heard of them
before, and how is their presense/absense affecting debhelper's
behavior anyway?

> The same applies AFAICS to fonts.scale, although the effects are less
> drastic.
> 
> IMHO these files should only be deleted under the same conditions that
> warrant a call to the corresponding update-fonts-* command.

-- 
see shy jo



Reply to: