It's been my experience that you really
shouldn't upgrade your kernel headers every time you upgrade your kernel. Whatever kernel headers the glibc was compiled against is what you should stick with. For instance with Slackware I'm using a 2.6.18 kernel to boot but the kernel headers I'm using are still the 2.4.33.3 kernel headers as that is what the rest of the distro, especially glibc, was compiled against.
Here is the warning that Pat has put out about kernel headers. So I
never upgrade the headers once I install the distro.
FWIW,
MMYoung
BTW is rpm --test
nameofrpm.rpm what you're thinking of?
Open a terminal and type in rpm --help or man rpm for more info.