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

Re: debian-user-digest Digest V2006 #2204



Hi Florian and others,

Thanks for you suggestions!
On Thu, Oct 12, 2006 at 07:55:48 +0100, Alle Meije Wink wrote:
These three, and maybe Xorg, seem to not like each other...

I am running etch at the moment, with Xorg as my X server. During an apt-get update last week or so, openoffice-org and ttf-opensymbol were upgraded. Things started going wrong when it came to installing openoffice-org, which was unconfigured and that was a problem. Not that I had had a chance to run it... Could not really figure out what the problem was. After that, during the configuration of ttf-opensymbol, these error messages showed up:

Setting up ttf-opensymbol (2.0.4~rc3-1) ...
Updating fontconfig cache...
/usr/share/fonts: failed to write cache
/usr/share/fonts/X11: failed to write cache

[ snip: the same message for the other font directories ]
I could reproduce these messages by running fc-cache. No idea where the cache is that needs to be written but can't. I tried to change permissions in /var and /etch but that didn't help. The final message of apt-get was:

Errors were encountered while processing:
ttf-opensymbol
openoffice.org-core
python-uno
openoffice.org-writer
openoffice.org-help-en-gb

and every time I run apt-get update, it tries again to configure ttf-opensymbols/fontconfig (and fails)

Try to run

fc-cache -v

as root. That way it should list which directories it is trying to
access. That might give us a clue what is wrong.
This is what `sudo fc-cache -v >& fccache.txt` gives me:

/usr/share/fonts: /usr/share/fonts: failed to write cache
caching, 0 fonts, 4 dirs
/usr/share/fonts/X11: /usr/share/fonts/X11: failed to write cache
caching, 0 fonts, 6 dirs
/usr/share/fonts/X11/100dpi: /usr/share/fonts/X11/100dpi: failed to write cache
caching, 0 fonts, 0 dirs
/usr/share/fonts/X11/75dpi: /usr/share/fonts/X11/75dpi: failed to write cache
caching, 0 fonts, 0 dirs
/usr/share/fonts/X11/Type1: /usr/share/fonts/X11/Type1: failed to write cache
caching, 43 fonts, 0 dirs
/usr/share/fonts/X11/encodings: /usr/share/fonts/X11/encodings: failed to write cache
caching, 0 fonts, 1 dirs
/usr/share/fonts/X11/encodings/large: /usr/share/fonts/X11/encodings/large: failed to write cache
caching, 0 fonts, 0 dirs
/usr/share/fonts/X11/misc: /usr/share/fonts/X11/misc: failed to write cache
caching, 0 fonts, 0 dirs
/usr/share/fonts/X11/util: /usr/share/fonts/X11/util: failed to write cache
caching, 0 fonts, 0 dirs
/usr/share/fonts/afms: /usr/share/fonts/afms: failed to write cache
caching, 0 fonts, 1 dirs
/usr/share/fonts/afms/adobe: /usr/share/fonts/afms/adobe: failed to write cache
caching, 0 fonts, 0 dirs
/usr/share/fonts/truetype: /usr/share/fonts/truetype: failed to write cache
caching, 45 fonts, 4 dirs
/usr/share/fonts/truetype/freefont: /usr/share/fonts/truetype/freefont: failed to write cache
caching, 12 fonts, 0 dirs
/usr/share/fonts/truetype/latex-xft-fonts: /usr/share/fonts/truetype/latex-xft-fonts: failed to write cache
caching, 7 fonts, 0 dirs
/usr/share/fonts/truetype/msttcorefonts: /usr/share/fonts/truetype/msttcorefonts: failed to write cache
caching, 60 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-bitstream-vera: /usr/share/fonts/truetype/ttf-bitstream-vera: failed to write cache
caching, 10 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: /usr/share/fonts/type1/gsfonts: failed to write cache
caching, 35 fonts, 0 dirs
/usr/X11R6/lib/X11/fonts: /usr/X11R6/lib/X11/fonts: failed to write cache
caching, 0 fonts, 6 dirs
/usr/X11R6/lib/X11/fonts/100dpi: /usr/X11R6/lib/X11/fonts/100dpi: failed to write cache
caching, 0 fonts, 0 dirs
/usr/X11R6/lib/X11/fonts/75dpi: /usr/X11R6/lib/X11/fonts/75dpi: failed to write cache
caching, 0 fonts, 0 dirs
/usr/X11R6/lib/X11/fonts/Speedo: /usr/X11R6/lib/X11/fonts/Speedo: failed to write cache
caching, 0 fonts, 0 dirs
/usr/X11R6/lib/X11/fonts/Type1: /usr/X11R6/lib/X11/fonts/Type1: failed to write cache
caching, 0 fonts, 0 dirs
/usr/X11R6/lib/X11/fonts/encodings: /usr/X11R6/lib/X11/fonts/encodings: failed to write cache
caching, 0 fonts, 1 dirs
/usr/X11R6/lib/X11/fonts/encodings/large: /usr/X11R6/lib/X11/fonts/encodings/large: failed to write cache
caching, 0 fonts, 0 dirs
/usr/X11R6/lib/X11/fonts/misc: /usr/X11R6/lib/X11/fonts/misc: failed to write cache
caching, 0 fonts, 0 dirs
/usr/local/share/fonts: /usr/local/share/fonts: failed to write cache
caching, 0 fonts, 0 dirs
/home/wink/.fonts: /home/wink/.fonts: failed to write cache
caching, 0 fonts, 0 dirs
/var/lib/defoma/fontconfig.d: /var/lib/defoma/fontconfig.d: failed to write cache
caching, 0 fonts, 16 dirs
/var/lib/defoma/fontconfig.d/A: /var/lib/defoma/fontconfig.d/A: failed to write cache
caching, 6 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/B: /var/lib/defoma/fontconfig.d/B: failed to write cache
caching, 10 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/C: /var/lib/defoma/fontconfig.d/C: failed to write cache
caching, 10 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/D: /var/lib/defoma/fontconfig.d/D: failed to write cache
caching, 1 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/F: /var/lib/defoma/fontconfig.d/F: failed to write cache
caching, 12 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/G: /var/lib/defoma/fontconfig.d/G: failed to write cache
caching, 4 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/I: /var/lib/defoma/fontconfig.d/I: failed to write cache
caching, 1 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/N: /var/lib/defoma/fontconfig.d/N: failed to write cache
caching, 16 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/S: /var/lib/defoma/fontconfig.d/S: failed to write cache
caching, 1 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/T: /var/lib/defoma/fontconfig.d/T: failed to write cache
caching, 8 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/U: /var/lib/defoma/fontconfig.d/U: failed to write cache
caching, 13 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/V: /var/lib/defoma/fontconfig.d/V: failed to write cache
caching, 4 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/W: /var/lib/defoma/fontconfig.d/W: failed to write cache
caching, 1 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/c: /var/lib/defoma/fontconfig.d/c: failed to write cache
caching, 4 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/m: /var/lib/defoma/fontconfig.d/m: failed to write cache
caching, 2 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/w: /var/lib/defoma/fontconfig.d/w: failed to write cache
caching, 1 fonts, 0 dirs
/usr/lib/X11/fonts/misc: /usr/lib/X11/fonts/misc: failed to write cache
caching, 0 fonts, 0 dirs
/usr/lib/X11/fonts/100dpi: /usr/lib/X11/fonts/100dpi: failed to write cache
caching, 0 fonts, 0 dirs
/usr/lib/X11/fonts/75dpi: /usr/lib/X11/fonts/75dpi: failed to write cache
caching, 0 fonts, 0 dirs
/usr/lib/X11/fonts/Type1: /usr/lib/X11/fonts/Type1: failed to write cache
caching, 0 fonts, 0 dirs
/usr/lib/X11/fonts/Speedo: /usr/lib/X11/fonts/Speedo: failed to write cache
caching, 0 fonts, 0 dirs
fc-cache: failed


In other words: either 0 fonts, n dirs; or m fonts, 0 dirs for all fonts that fc-cache tries.
Another thing which might be important is the status of your fontconfig
packages. What is the output of "dpkg -l fontconfig\*"?

(The problem is clearly ttf-opensymbol. The other packages cannot be
 configured because they depend, directly or indirectly, on
 ttf-opensymbol being installed and configured.)
Well I have found out that the problem is either actually fontconfig itself, or the original problem was with ttf-opensymbol and now fontconfig is stuck with the problem. I managed first to get rid of both packages again, and then reinstalling things very carefully. I had to openoffice.org out, because that would requite ttf-opensymbol.

However, fontconfig is required for loads of packages, and it was soon reinstalled. And sure enough, the first time fc-cache was run again, the same lines appeared...

Is it possible that fontconfig keeps a list of directories that it searches for fonts, and that I need to manually delete this list (or a specific file in each directory in the list)?

Thanks for any help!

Alle Meije



Reply to: