I have encountered this bug using:

delappy:~# dpkg -l fontconfig
...
ii  fontconfig     2.4.2-1.2      generic font configuration library -
support

delappy:~# dpkg -l ttf-opensymbol

pH  ttf-opensymbol 2.2.1-7        The OpenSymbol TrueType font


delappy:~# dpkg -i
/var/cache/apt/archives/ttf-opensymbol_2.2.1-7_all.deb
(Reading database ... 84133 files and directories currently
installed.)
Preparing to replace ttf-opensymbol 2.0.4.dfsg.2-7etch1 (using
.../ttf-opensymbol_2.2.1-7_all.deb) ...
Unpacking replacement ttf-opensymbol ...
Setting up ttf-opensymbol (2.2.1-7) ...
Updating fontconfig cache...
/usr/share/fonts: failed to write cache
/usr/share/fonts/X11: failed to write cache
/usr/share/fonts/type1: failed to write cache
/usr/local/share/fonts: failed to write cache
dpkg: error processing ttf-opensymbol (--install):
 subprocess post-installation script returned error exit status 4
Errors were encountered while processing:
 ttf-opensymbol


this is on a newly installed system. This error appeared during the
lenny system install (business card installer). I left it unresolved
and migrated up to sid (where I usually live) and it is still
unresolved. I have tried manually purging both packages and
reinstalling. If I install ttf-opensymbol first, it will install, but
fontconfig will fail. If I install it the other way around, fontconfig
fails too. I have attached here the fontconfig.log in case that
helps. 

This is an up-to-date sid system.

A
/usr/share/fonts: /usr/share/fonts: failed to write cache
caching, 0 fonts, 3 dirs
/usr/share/fonts/X11: /usr/share/fonts/X11: failed to write cache
caching, 0 fonts, 6 dirs
/usr/share/fonts/X11/100dpi: caching, 358 fonts, 0 dirs
/usr/share/fonts/X11/75dpi: caching, 358 fonts, 0 dirs
/usr/share/fonts/X11/Type1: caching, 8 fonts, 0 dirs
/usr/share/fonts/X11/encodings: caching, 0 fonts, 1 dirs
/usr/share/fonts/X11/encodings/large: caching, 0 fonts, 0 dirs
/usr/share/fonts/X11/misc: caching, 55 fonts, 0 dirs
/usr/share/fonts/X11/util: caching, 0 fonts, 0 dirs
/usr/share/fonts/truetype: caching, 0 fonts, 1 dirs
/usr/share/fonts/truetype/ttf-dejavu: caching, 21 fonts, 0 dirs
/usr/share/fonts/type1: /usr/share/fonts/type1: failed to write cache
caching, 0 fonts, 1 dirs
/usr/share/fonts/type1/gsfonts: caching, 35 fonts, 0 dirs
/usr/X11R6/lib/X11/fonts: skipping, no such directory
/usr/local/share/fonts: /usr/local/share/fonts: failed to write cache
caching, 0 fonts, 0 dirs
/var/lib/defoma/fontconfig.d: caching, 0 fonts, 5 dirs
/var/lib/defoma/fontconfig.d/C: caching, 4 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/D: caching, 18 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/N: caching, 16 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/S: caching, 1 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/U: caching, 13 fonts, 0 dirs
/var/cache/fontconfig: cleaning cache directory
fc-cache: failed

Attachment: signature.asc
Description: Digital signature

Reply via email to