Comment 13 for bug 1681566

Revision history for this message
Nish Aravamudan (nacc) wrote : Re: [Bug 1681566] Re: nvidia-375 DKMS module not recompiled on upgrade to 17.04

On Wed, Apr 12, 2017 at 12:49 PM, Brian Murray <email address hidden> wrote:
> Part of the problem may be that linux-headers is installed after linux-
> image so there are no headers when the dkms kernel postinst script is
> run. From /var/log/dist-upgrade/apt-term.log:

But shouldn't the last line:

> 3644 Setting up linux-image-4.10.0-19-generic (4.10.0-19.21) ...^M
...
> 3686 Setting up linux-headers-4.10.0-19-generic (4.10.0-19.21) ...^M
> 3687 Examining /etc/kernel/header_postinst.d.^M
> 3688 run-parts: executing /etc/kernel/header_postinst.d/dkms 4.10.0-19-generic /boot/vmlinuz-4.10.0-19-generic^M

have triggered the rebuild? It seems like either dkms or this postinst
is not doing the right thing?

Are you able to run it manually?