Description of problem: Similar problem with compiz-fusion-gnome (https://bugzilla.redhat.com/show_bug.cgi?id=452674) /var/tmp/rpm-tmp.78366: line 5: syntax error near unexpected token `do' /var/tmp/rpm-tmp.78366: line 5: ` do echo /etc/gconf/schemas/compiz-${p}.schemas ; done \' error: %pre(compiz-fusion-extras-gnome-0.7.6-4.fc10.i386) scriptlet failed, exit status 2 error: install: %pre scriptlet failed (2), skipping compiz-fusion-extras-gnome-0.7.6-4.fc10 Version-Release number of selected component (if applicable): compiz-fusion-extras-gnome-0.7.6-4.fc10.i386 How reproducible: Every time Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Double 'do' in both %pre and %post at: at end of 'for' and beginning of next line. [root@localhost packages]# rpm -q --package --scripts compiz-fusion-extras-gnome-0.7.6-4.fc10.i386.rpm preinstall scriptlet (using /bin/sh): if [ "$1" -gt 1 ]; then export GCONF_CONFIG_SOURCE=`/usr/bin/gconftool-2 --get-default-source` for p in in 3d addhelper bench bicubic crashhandler cubeaddon extrawm fadedesktop firepaint gears group loginout maximumize mblur notification reflex scalefilter shelf showdesktop showmouse splash trailfocus wallpaper widget; do do echo /etc/gconf/schemas/compiz-${p}.schemas ; done \ | xargs /usr/bin/gconftool-2 --makefile-uninstall-rule >& /dev/null || : fi postinstall scriptlet (using /bin/sh): export GCONF_CONFIG_SOURCE=`/usr/bin/gconftool-2 --get-default-source` for p in in 3d addhelper bench bicubic crashhandler cubeaddon extrawm fadedesktop firepaint gears group loginout maximumize mblur notification reflex scalefilter shelf showdesktop showmouse splash trailfocus wallpaper widget; do do echo /etc/gconf/schemas/compiz-${p}.schemas ; done \ | xargs /usr/bin/gconftool-2 --makefile-install-rule >& /dev/null || : preuninstall scriptlet (using /bin/sh): if [ "$1" -eq 0 ]; then export GCONF_CONFIG_SOURCE=`/usr/bin/gconftool-2 --get-default-source` for p in in 3d addhelper bench bicubic crashhandler cubeaddon extrawm fadedesktop firepaint gears group loginout maximumize mblur notification reflex scalefilter shelf showdesktop showmouse splash trailfocus wallpaper widget; do do echo /etc/gconf/schemas/compiz-${p}.schemas ; done \ | xargs /usr/bin/gconftool-2 --makefile-uninstall-rule >& /dev/null || : fi [root@localhost packages]#
*** This bug has been marked as a duplicate of 452677 ***