Comment 11 for bug 487535

Revision history for this message
Russ Allbery (rra-debian) wrote : Re: [Bug 487535] Re: package openafs-modules-dkms 1.4.11+dfsg-1+ubuntu0.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Anders Kaseorg <email address hidden> writes:

> The dkms package does support this, at least on Ubuntu, via the
> /etc/kernel/header_postinst.d/dkms hook.

Is there some way that I can tell, when I run dkms, that the kernel
headers that it wants to use aren't installed so that I can distinguish
between that and other possible failures?

I can just provide a general error for any failure, but it would be nice
to catch that case in particular.

--
Russ Allbery (<email address hidden>) <http://www.eyrie.org/~eagle/>