Package: fontconfig Version: 2.11.0-6.5 Severity: important User: Simon Kirby <s...@netnation.com>
Similar to #828037, I just experienced an issue with fonts after an "apt-get upgrade". However, this was caused by system-wide cache learning about half-installed fonts with the .dpkg-new extension. Pidgin begun drawing some characters as boxes. The cause seems to be that the fontconfig cache was regenerated with some ".dpkg-new" files, which were gone once apt-get finished: stderr output and excerpt of "strace -e access" of pidgin starting: (Pidgin:24512): Pango-WARNING **: failed to create cairo scaled font, expect ugly output. the offending font is 'DejaVu Sans Bold 13.1982421875' (Pidgin:24512): Pango-WARNING **: font_face status is: file not found access("/usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf.dpkg-new", R_OK) = -1 ENOENT (No such file or directory) [sroot@oof:/var/cache/fontconfig]# grep -r DejaVuSans-Bold.ttf.dpkg-new . Binary file ./d589a48862398ed80a3d6066f4f56f4c-le64.cache-4 matches [sim@oof:/home/sim]% fc-list | grep dpkg /usr/share/fonts/truetype/liberation/LiberationMono-Bold.ttf.dpkg-new: LiberationMono\-Bold.ttf /usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf.dpkg-new: DejaVu Sans:style=Bold My root shell runs with PAGER set to "less -Q -j16" which breaks debconf frontends lately (another bug I need to submit), so an apt-get run often aborts without finishing unless I remember to run it again with PAGER cleared. I am not sure if this is the cause or not here, I see that /var/log/dpkg.log has some interesting trigger information, which I've posted at http://0x.ca/sim/ref/fontconfig/dpkg.log . Here is an excerpt by "grep font | uniq": 2016-08-19 23:40:25 upgrade fonts-liberation:all 1.07.4-1 2.00.1-2 2016-08-19 23:40:25 status half-configured fonts-liberation:all 1.07.4-1 2016-08-19 23:40:25 status unpacked fonts-liberation:all 1.07.4-1 2016-08-19 23:40:25 status half-installed fonts-liberation:all 1.07.4-1 2016-08-19 23:40:25 status triggers-pending fontconfig:amd64 2.11.0-6.5 2016-08-19 23:40:25 status half-installed fonts-liberation:all 1.07.4-1 2016-08-19 23:40:25 status unpacked fonts-liberation:all 2.00.1-2 2016-08-19 23:40:42 upgrade fonts-opensymbol:all 2:102.7+LibO5.2.0-1 2:102.7+LibO5.2.0-2 2016-08-19 23:40:42 status half-configured fonts-opensymbol:all 2:102.7+LibO5.2.0-1 2016-08-19 23:40:42 status unpacked fonts-opensymbol:all 2:102.7+LibO5.2.0-1 2016-08-19 23:40:42 status half-installed fonts-opensymbol:all 2:102.7+LibO5.2.0-1 2016-08-19 23:40:42 status unpacked fonts-opensymbol:all 2:102.7+LibO5.2.0-2 2016-08-19 23:40:52 upgrade fonts-dejavu-core:all 2.36-1 2.37-1 2016-08-19 23:40:52 status half-configured fonts-dejavu-core:all 2.36-1 2016-08-19 23:40:52 status unpacked fonts-dejavu-core:all 2.36-1 2016-08-19 23:40:52 status half-installed fonts-dejavu-core:all 2.36-1 2016-08-19 23:40:52 status unpacked fonts-dejavu-core:all 2.37-1 2016-08-19 23:40:52 upgrade fonts-dejavu-extra:all 2.36-1 2.37-1 2016-08-19 23:40:52 status half-configured fonts-dejavu-extra:all 2.36-1 2016-08-19 23:40:52 status unpacked fonts-dejavu-extra:all 2.36-1 2016-08-19 23:40:52 status half-installed fonts-dejavu-extra:all 2.36-1 2016-08-19 23:40:52 status unpacked fonts-dejavu-extra:all 2.37-1 2016-08-19 23:40:53 upgrade fonts-dejavu:all 2.36-1 2.37-1 2016-08-19 23:40:53 status half-configured fonts-dejavu:all 2.36-1 2016-08-19 23:40:53 status unpacked fonts-dejavu:all 2.36-1 2016-08-19 23:40:53 status half-installed fonts-dejavu:all 2.36-1 2016-08-19 23:40:53 status unpacked fonts-dejavu:all 2.37-1 2016-08-19 23:41:14 configure fonts-dejavu-core:all 2.37-1 <none> 2016-08-19 23:41:14 status unpacked fonts-dejavu-core:all 2.37-1 2016-08-19 23:41:14 status half-configured fonts-dejavu-core:all 2.37-1 2016-08-19 23:41:14 status installed fonts-dejavu-core:all 2.37-1 2016-08-19 23:41:16 configure fonts-liberation:all 2.00.1-2 <none> 2016-08-19 23:41:16 status unpacked fonts-liberation:all 2.00.1-2 2016-08-19 23:41:16 status half-configured fonts-liberation:all 2.00.1-2 2016-08-19 23:41:16 status installed fonts-liberation:all 2.00.1-2 2016-08-19 23:41:22 configure fonts-opensymbol:all 2:102.7+LibO5.2.0-2 <none> 2016-08-19 23:41:22 status unpacked fonts-opensymbol:all 2:102.7+LibO5.2.0-2 2016-08-19 23:41:22 status half-configured fonts-opensymbol:all 2:102.7+LibO5.2.0-2 2016-08-19 23:41:22 status installed fonts-opensymbol:all 2:102.7+LibO5.2.0-2 2016-08-19 23:41:22 configure fonts-dejavu-extra:all 2.37-1 <none> 2016-08-19 23:41:22 status unpacked fonts-dejavu-extra:all 2.37-1 2016-08-19 23:41:22 status half-configured fonts-dejavu-extra:all 2.37-1 2016-08-19 23:41:22 status installed fonts-dejavu-extra:all 2.37-1 2016-08-19 23:41:23 trigproc fontconfig:amd64 2.11.0-6.5 <none> 2016-08-19 23:41:23 status half-configured fontconfig:amd64 2.11.0-6.5 2016-08-19 23:41:25 status installed fontconfig:amd64 2.11.0-6.5 2016-08-19 23:41:25 configure fonts-dejavu:all 2.37-1 <none> 2016-08-19 23:41:25 status unpacked fonts-dejavu:all 2.37-1 2016-08-19 23:41:25 status half-configured fonts-dejavu:all 2.37-1 2016-08-19 23:41:25 status installed fonts-dejavu:all 2.37-1 Is the issue here just that trigproc happened while fonts-dejavu was half-installed? Cheers, Simon- -- System Information: Debian Release: stretch/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.7.0-oof (SMP w/8 CPU cores) Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages fontconfig depends on: ii dpkg 1.18.10 ii fontconfig-config 2.11.0-6.5 ii libc6 2.23-4 ii libfontconfig1 2.11.0-6.5 ii libfreetype6 2.6.3-3+b1 fontconfig recommends no packages. fontconfig suggests no packages. -- debconf information: * fontconfig/hinting_type: Native * fontconfig/rendering_type: Bytecode interpreter (CRT screens) fontconfig/overwrite_existing_local_conf: false * fontconfig/enable_autohinter: false * fontconfig/enable_bitmaps: false * fontconfig/subpixel_rendering: Automatic