Ubuntu Debian font cache error openoffice update

Problem: If you make a alternate Install of Ubuntu the Fontcache is not writeable cause the update miss some text files inside the font directories.

Log:

Updating fontconfig cache…
/usr/share/fonts: failed to write cache
/usr/share/

fonts/X11: failed to write cache
/usr/share/fonts/X11/100dpi: failed to write cache
/usr/share/fonts/X11/75dpi: failed to write cache
/usr/share/fonts/X11/Type1: failed to write cache
/usr/share/fonts/X11/encodings: failed to write cache
/usr/share/fonts/X11/encodings/large: failed to write cache
/usr/share/fonts/X11/misc: failed to write cache
/usr/share/fonts/X11/util: failed to write cache
/usr/share/fonts/truetype: failed to write cache
/usr/share/fonts/truetype/arphic: failed to write cache
/usr/share/fonts/truetype/baekmuk: failed to write cache
/usr/share/fonts/truetype/freefont: failed to write cache
/usr/share/fonts/truetype/kochi: failed to write cache
/usr/share/fonts/truetype/ttf-arabeyes: failed to write cache…

Solution:

  1. #sudo apt-get install fontconfig 2>&1 | grep failed | cut -d : -f 1 | xargs touch
  2. #sudo apt-get dist-upgrade

Design copyright www.linuxonlinehelp.com - Linux PC & Server Support