[Fedora-livecd-list] Re: Order of package installation

Rex Dieter rdieter at math.unl.edu
Fri May 4 12:11:41 UTC 2007


John (J5) Palmieri wrote:

> On Thu, 2007-05-03 at 22:09 +0200, Sebastian Vahl wrote:

>> Installing: fonts-hebrew-fancy           #####################
>> [216/684]/var/tmp/rpm-tmp.1969: line 1: fc-cache: command not found
>> error: %post(fonts-hebrew-fancy-0.20051122-1.fc6.noarch) scriptlet
>> failed, exit status 127

>> Is there a way around this?
 
> Yes, fix the package (or file a bug) to require fontconfig.

Usually that is a good suggestion.  In the case of fonts, however, common
existing practice is to *not* Requires: fontconfig, but instead make %%post
scriptlets not fail when/if fontconfig isn't available at install-time:
http://fedoraproject.org/wiki/Packaging/ScriptletSnippets#fonts

-- Rex




More information about the Fedora-livecd-list mailing list