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

Re: debian-user-digest Digest V2006 #2204



On Mon, Oct 16, 2006 at 22:36:42 +0100, Alle Meije Wink wrote:
> 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. 

[...]

> 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/Type1: /usr/share/fonts/X11/Type1: failed to write 
> cache
> caching, 43 fonts, 0 dirs

[...]

> In other words: either 0 fonts, n dirs; or m fonts, 0 dirs for all fonts 
> that fc-cache tries.

I get the same type of message for all my font directories when I run
"fc-cache -v", but don't get the "failed to write cache" error.

What are the permissions of /var/cache/fontconfig?

$ ls -ld /var/cache/fontconfig/
drwxr-xr-x 2 root root 4096 2006-10-16 09:43 /var/cache/fontconfig/
$ lsattr -d /var/cache/fontconfig/
------------------ /var/cache/fontconfig/

Does this directory contain any files with names like
<long hex string>-x86.cache-2? If yes, do these files have reasonable
timestamps (i.e. not in the future)?

Can you do things like "touch /var/cache/fontconfig/testfile" as root?

-- 
Regards,
          Florian



Reply to: