>[root@trainer01 ~]# rpm -i TRUPscout-9.2.1-1.i386.rpm >expr: syntax error >/var/tmp/rpm-tmp.99490: line 12: [: =: unary operator expected Do you have a line like if [ $blah -eq 5 ]; then ... fi; it's possible that blah is not set at all (resulting in if [ -eq 5 ]), so you would need if [ "$blah" -eq 5 ]; then >warning: user nkolev does not exist - using root Well, this is normal. Add %defattr(-,root,root) to the %files and this should go away. Jan Engelhardt -- | Gesellschaft fuer Wissenschaftliche Datenverarbeitung Goettingen, | Am Fassberg, 37077 Goettingen, www.gwdg.de