Public bug reported:

In dkms=2.0.20.4-0ubuntu2, /etc/init.d/dkms_autoinstaller, line 141, it
says

                        echo "  Kernel source for $kernel not installed.
Cannot install this module." >>$output_loc

This is run if /lib/modules/$kernel/build/include doesn't exist (and
another condition is true), but /lib/modules/$kernel/build/include is
created by linux-**headers**-$kernel, not linux-**sources**-$kernel.

The error message should make this clear.  It's good usability to
suggest remedies for error situation, so I suggest

                        echo "  Package linux-headers-$kernel not
installed.  Cannot install this module." >>$output_loc

--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-$kernel)."

--Or--

something to that effect.

** Affects: dkms (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Horribly misleading error message: kernel [source vs. headers] not installed
https://bugs.launchpad.net/bugs/324383
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to