Horribly misleading error message: kernel [source vs. headers] not installed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dkms (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
In dkms=2.
echo " Kernel source for $kernel not installed. Cannot install this module." >>$output_loc
This is run if /lib/modules/
The error message should make this clear. It's good usability to suggest remedies for error situation, so I suggest
echo " Package linux-headers-
--Or--
echo " Kernel source/headers for $kernel not installed. Cannot install this module." >>$output_loc
echo " Try installing the headers (apt-get install linux-headers-
--Or--
something to that effect.
Fixed in commit 5f90a6fab9ff090 bf9f1bc491fcb38 4ca81730c3