Bugzilla – Bug 155404
FC: cache for /usr/lib/ooo-2.0/share/fonts/truetype is outdated after update of OpenOffice_org package
Last modified: 2006-03-08 10:12:18 UTC
Sometimes after an update of the package OpenOffice_org, the following messages are printed by the OOo application: --- cut --- $> ooffice FC: cache for /usr/lib/ooo-2.0/share/fonts is outdated, consider running "fc-cache" as root! FC: cache for /usr/lib/ooo-2.0/share/fonts is outdated, consider running "fc-cache" as root! FC: cache for /usr/lib/ooo-2.0/share/fonts is outdated, consider running "fc-cache" as root! FC: cache for /usr/lib/ooo-2.0/share/fonts is outdated, consider running "fc-cache" as root! FC: cache for /usr/lib/ooo-2.0/share/fonts/truetype is outdated, consider running "fc-cache" as root! FC: cache for /usr/lib/ooo-2.0/share/fonts/truetype is outdated, consider running "fc-cache" as root! FC: cache for /usr/lib/ooo-2.0/share/fonts/truetype is outdated, consider running "fc-cache" as root! FC: cache for /usr/lib/ooo-2.0/share/fonts/truetype is outdated, consider running "fc-cache" as root! --- cut --- They disappear after I run fc-cache as root. Should we update the cache in the %post, %postun script of the package OpenOffice_org? What is the best way to do it? Mike, could you help here?
%post %run_suseconfig_fonts %postun %run_suseconfig_fonts In the package/sub-package which owns the stuff in the usr/lib/ooo-2.0/share/fonts/truetype directory. All font-packages have "%run_suseconfig_fonts" in "%post" and "%postun". If OpenOffice or a sub-package of OpenOffice changes something in a font-directory, it should do the same. If CJK-fonts are in that directory (not the case currently for OpenOffice), the option -c should be added: %run_suseconfig_fonts -c
Mike, thanks for help. I have fixed it. The fixed package should beavailable on SL 10.1-beta8/NLD10-beta8.