Script errors while livecd-creator is running yum

Michael Schwendt mschwendt at gmail.com
Wed Dec 3 19:06:04 UTC 2008


On Wed, 3 Dec 2008 15:53:22 +0000, dexter wrote:

> 2008/12/3 Bruno Wolff III:
> > While trying to make a custom games livedvd I saw some script errors
> > and was wondering if those were packaging errors or if livecd-creator
> > is doing something wrong. For example:
> >  Installing: nethack                      ################### [ 404/1017]
> > /var/tmp/rpm-tmp.ESYJZU: line 3: ln: command not found
> > warning: %post(nethack-3.4.3-18.fc10.i386) scriptlet failed, exit status 127
> >  Installing: freedroidrpg                 ################### [ 405/1017]
> > /var/tmp/rpm-tmp.4OX7tL: line 1: touch: command not found
> >  Installing: vdrift                       ################### [ 406/1017]
> > /var/tmp/rpm-tmp.cBUzNR: line 1: touch: command not found
> >  Installing: foobillard                   ################### [ 407/1017]
> >  Installing: powermanga                   ################### [ 408/1017]
> > /var/tmp/rpm-tmp.a6MlU7: line 1: touch: command not found
> > /var/tmp/rpm-tmp.a6MlU7: line 2: /usr/bin/gtk-update-icon-cache: No such file or directory
> 
> You need to include:
> rpm -qf `which touch`
> coreutils-6.10-33.fc9.i386 and the same for ln
> I dont know about /usr/bin/gtk-update-icon-cache I would have thought
> it impossible to build a fedora gui system without gtk2?

Typically, gtk-update-icon-cache is treated as optional in package
scriptlets:

touch --no-create /usr/share/icons/hicolor
if [ -x /usr/bin/gtk-update-icon-cache ]; then
  /usr/bin/gtk-update-icon-cache --quiet /usr/share/icons/hicolor || :
fi

Perhaps powermanga does it differently.




More information about the fedora-list mailing list