YUM errors today's Rawhide update

Jeff Spaleta jspaleta at gmail.com
Sat Mar 26 14:46:43 UTC 2005


On Sat, 26 Mar 2005 09:38:30 -0500, Old Fart <clydekunkel7734 at cox.net> wrote:
> Good morning,
> 
> Yum showed the following errors with today's Rawhide update.  Are they
> meaningful and is there something I need to do to fix things?  So far
> system seems to work ok.  Haven't rebooted tho...
>    Updating  : system-config-rootpassword   ####################### [19/71]
> /var/tmp/rpm-tmp.92858: line 2: [-x: command not found


the "[-x"   message is the result of a packaging bug in the
postinstall script in the package.
There should be a space "[ -x"   Bug reports should be filed for each
of the packages that showed this error.  You can confirm that the
packaging error exists by looking at the scripts in the rpmdb for the
packages for example:
    
rpm -q --scripts system-config-rootpassword
postinstall scriptlet (using /bin/sh):
touch --no-create /usr/share/icons/hicolor
if [-x /usr/bin/gtk-update-icon-cache ]; then    <-------- ERROR
  gtk-update-icon-cache /usr/share/icons/hicolor
fi
preuninstall scriptlet (using /bin/sh):
if [ -d /usr/share/system-config-rootpassword ] ; then
  rm -rf /usr/share/system-config-rootpassword/*.pyc
fi
postuninstall scriptlet (using /bin/sh):
touch --no-create /usr/share/icons/hicolor
if [-x /usr/bin/gtk-update-icon-cache ]; then  <--------- ERROR
  gtk-update-icon-cache /usr/share/icons/hicolor
fi


-jef




More information about the fedora-test-list mailing list