Re: msttcorefonts install breaks FC6 printing, help!



On Thu, 2007-01-25 at 03:01 -0500, Gene Heskett wrote:
Greetings;

I installed the msttcorefonts-2.0.1-noarch.rpm 2 nights ago, and now see
that amanda is unable to print her backup reports. From the looks of the
error, nothing will print, and I now have 2 amanda printouts sitting in
the print queue, all failing with an Invalid fonts in findfonts error.

When the rpm ran its postinstall thing, it only does two things, wrapped
in bash conditionals:

/usr/sbin/chkfontpath --add /usr/share/fonts/msttcorefonts

which apparently runs ok, no errors are reported.
But then it runs
/usr/bin/fc-cache which spits out this:

/usr/share/fonts: failed to write cache
/usr/share/fonts/bitmap-fonts: failed to write cache
/usr/share/fonts/bitstream-vera: failed to write cache
/usr/share/fonts/default: failed to write cache
/usr/share/fonts/default/Type1: failed to write cache
/usr/share/fonts/default/ghostscript: failed to write cache
/usr/share/fonts/dejavu-lgc: failed to write cache
/usr/share/fonts/japanese: failed to write cache
/usr/share/fonts/japanese/TrueType: failed to write cache
/usr/share/fonts/japanese/misc: failed to write cache
/usr/share/fonts/msttcorefonts: failed to write cache
/usr/share/fonts/perl: failed to write cache
/root/.fonts: failed to write cache
/root/.fonts/kde-override: failed to write cache
/usr/local/share/fonts: failed to write cache

straceing fc-cache shows that the files its looking for do not exist on
this system, here is the stanza for /root/.fonts/kde-override:
open("/root/.fonts/kde-override/._fonts.dir", O_RDONLY) = -1 ENOENT (No
such file or directory)
open("/root/.fonts/kde-override/%fonts.dir", O_RDONLY) = -1 ENOENT (No
such file or directory)
open("/root/.fonts/kde-override/.AppleDouble/fonts.dir", O_RDONLY) = -1
ENOENT (No such file or directory)
open("/root/.fonts/kde-override/fonts.dir/rsrc", O_RDONLY) = -1 ENOTDIR
(Not a directory)
open("/root/.fonts/kde-override/resource.frk/fonts.dir", O_RDONLY) = -1
ENOENT (No such file or directory)
open("/root/.fonts/kde-override/.resource/fonts.dir", O_RDONLY) = -1
ENOENT (No such file or directory)

And I assume its the same for the others listed above since those
files/dirs do not exist:

[root@coyote ~]# ls -la /root/.fonts/kde-override
total 36
drwxr-xr-x 2 root root 4096 Sep 29 2004 .
drwxr-xr-x 3 root root 4096 Dec 24 2004 ..
-rw-r--r-- 1 root root 3784 Jun 30 2002 cursor.pcf.gz
-rw-r--r-- 1 root root 0 Jan 5 2005 fonts.cache-1
-rw-r--r-- 1 root root 23 Jan 21 17:15 fonts.dir

You'll recall I ran the selinux utility 'fixfiles' several days ago also.
But this apparently started with the failed installation postinstall of
msttcorefonts.

So whats the rescue procedure here folks?, I have jobs piling up in the
print queue from the findfont error.

ISTR we used to have a fixfonts utility, but that puppy seems to be on the
missing list here. Was it deprecated?

Thanks for any clues/cluebats.
----
the errors you list include paths that would have only come from a
Macintosh (rsrc / resource.frk / .AppleDouble) and that Macintosh cruft
doesn't seem to be very agreeable to findfont. Did you copy some fonts
from a Macintosh before you installed the msttcorefonts?

Craig

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list



Relevant Pages

  • msttcorefonts install breaks FC6 printing, help!
    ... that amanda is unable to print her backup reports. ... ENOENT ... But this apparently started with the failed installation postinstall of ...
    (Fedora)
  • [SLE] Qt Designer segfaulting
    ... it was part of the latest KDE3 upgrade so I just installed the upgrade on a ... new SuSE 9.0 installation. ... I tried to discover the source of the problem with strace but I'm not very ... ENOENT ...
    (SuSE)
  • Re: evolution does not start
    ... O_RDONLY) = -1 ENOENT ... I followed the upgrade guide pretty well, ... installation of XFCE4. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)