Be careful choosing version numbers for this. The normal mechanism for an Ubuntu security version number will result in kernel modules with a lower version than the current modules. Something like 1.4.7.dfsg1-6+ubuntu0.1 should work for Intrepid:
priscus:~ evan$ dpkg --compare-versions '1.4.7.dfsg1-6+2.6.27-11.27' lt '1.4.7.dfsg1-6ubuntu0.1+2.6.27-11.27' && echo "Yes" || echo "No" No priscus:~ evan$ dpkg --compare-versions '1.4.7.dfsg1-6+2.6.27-11.27' lt '1.4.7.dfsg1-6+ubuntu0.1+2.6.27-11.27' && echo "Yes" || echo "No" Yes
Be careful choosing version numbers for this. The normal mechanism for an Ubuntu security version number will result in kernel modules with a lower version than the current modules. Something like 1.4.7.dfsg1- 6+ubuntu0. 1 should work for Intrepid:
priscus:~ evan$ dpkg --compare-versions '1.4.7. dfsg1-6+ 2.6.27- 11.27' lt '1.4.7. dfsg1-6ubuntu0. 1+2.6.27- 11.27' && echo "Yes" || echo "No" dfsg1-6+ 2.6.27- 11.27' lt '1.4.7. dfsg1-6+ ubuntu0. 1+2.6.27- 11.27' && echo "Yes" || echo "No"
No
priscus:~ evan$ dpkg --compare-versions '1.4.7.
Yes