Description of problem: I am unable to yum remove a broken kernel on my rawhide machine, because the %preun scriptlet fails due to multiple syntax errors in /sbin/new-kernel-pkg. First, the shebang at the top is broken. The first character in the file is 'u', instead of '#'. Second, on line 111, there is a missing "then" token after the semicolon. Third, there should be no parentheses after "run_grub2" on lines 149, 220, and 272. Version-Release number of selected component (if applicable): grubby-7.0.17-1.fc16.x86_64 grubby-7.0.17-1.fc16.i686 How reproducible: Always Steps to Reproduce: 1. yum remove kernel-3.0-0.rc1.git0.1.fc16.x86_64 2. 3. Actual results: The package is not removed due to errors in the PREUN scriptlet. Running the script by hand reveals the problem to be the syntax errors noted above. Expected results: Package removal. Additional info: