Red Hat Bugzilla – Bug 455333
Error on installation of kernel-devel 2.6.26-136.fc10
Last modified: 2008-07-15 13:49:09 EDT
Description of problem:
I get the following error on installation of kernel-devel 2.6.26-
/var/tmp/rpm-tmp.59649: line 12: : command not found
error: %post(kernel-devel-2.6.26-136.fc10.i686) scriptlet failed, exit status
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.yum install kernel-devel
Error message given above
No error message
Up to and including kernel-2.6.26-0.131.fc9.git9.fc10 I didn't get the error
Version of rpm installed: rpm-126.96.36.199-2.fc9.i386. (I haven't yet updated rpm to
4.5.90-0.git8426.6 due to dependency failures. I will file a separate bug for that.
I attach a new /var/tmp/rpm-tmp.59649. It is not easy to catch since it only
exists for a few milli-seconds.
There appears to be a stray \x19 (^Y) character at end of the file (line 12)
See bug 455307 for original details.
Created attachment 311774 [details]
/var/tmp/rpm-tmp.59649 file created by yum install kernel-devel
Problem still occurs with rpm version rpm-4.5.90-0.git8426.6.i386
This issue happens in rpm-188.8.131.52-2.fc9.i386, too.
Ok, there IS a stray character at the last line of the script in that package,
shell is going to barf on that no matter what rpm version you try with. It's a
build/macro expansion issue with the new rpm, off-by-one somewhere or similar.
Doesn't seem to be reliably reproducable (haven't been able to reproduce it yet)
so it might be hard to find, but I'll look into it.
*** Bug 455433 has been marked as a duplicate of this bug. ***
This should be fixed in rpm-4.5.90-0.git8426.8 which just finished building.
Again, note it's a build-, not run-time issue so you wont see any change until a
new kernel package is built with the fixed rpm.