@@ -26,5 +26,12 @@ fi
# Give them a hint as to what to install.
echo "`basename $0` not found for kernel $version" >&2
-echo "You may need to install linux-tools-$version-$flavour" >&2
+if dpkg --compare-versions "$full_version" lt "3.11.0"; then
+ flavour=''
+else
+ flavour="-$flavour"
+fi
+echo "You may need to install linux-tools-$version$flavour for this kernel." >&2
+echo "You may also wish to install linux-tools$flavour or" >&2
+echo "linux-image$flavour-lts-<series> to keep up to date." >&2
exit 2
Signed-off-by: Andy Whitcroft <apw@canonical.com> --- debian/tools/generic | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-)