Syptoms: Installing kernel-source-2.2.16-17.i386.rpm generates the following error message: D: running postinstall scripts (if any) + cd /usr/src + rm -f linux + ln -snf linux-2.2.16 linux var/tmp/rpm-tmp.36107: line 15: syntax error: unexpected end of file execution of kernel-source-2.2.16-17 script failed, exit status 2 Solution: The postinstall script in the RPM contains the lines: if [ 1 -eq 0 ] ; then cd /usr/include rm -f linux asm ln -snf ../src/linux/include/linux linux ln -snf ../src/linux/include/asm asm endif 'endif' is incorrect, replace with 'fi'
One for the next build.
FWIW, that was caused by a change from rpm %foo syntax to shell syntax, and is fixed in all our current internal incremental builds. You will see this error again when the 2.2.16-17 packages are uninstalled because they exist in the uninstall as well as install scripts.
The -19 package seems just fine