Package: fontconfig-config
Version: 2.12.3-0.2
Severity: important

Dear Maintainer,

I previously had a /etc/fonts/conf.d/10-hinting-slight.conf to use the
hintslight style. When I tried to upgrade from stretch to the current
2.12.3-0.2, dpkg --configure failed:

Setting up fontconfig-config (2.12.3-0.2) ...
Installing new version of config file /etc/fonts/fonts.conf ...
ln: failed to create symbolic link
'/etc/fonts/conf.d/10-hinting-slight.conf': File exists
dpkg: error processing package fontconfig-config (--configure):
 subprocess installed post-installation script returned error exit status 1

Even if there is no previous 10-hinting-slight.conf, the problem
occurs on a downgrade-upgrade round-trip.

IMHO a reasonable behavior might be to check whether
/etc/fonts/conf.d/10-hinting-*.conf exists and skip the linking in the
affirmative case.

Best regards,
Timo

Reply via email to