-nvidia upgrade issues
steve.langasek at ubuntu.com
Thu Nov 5 12:04:51 GMT 2009
On Wed, Nov 04, 2009 at 05:08:17PM -0600, Mario Limonciello wrote:
> > 438398 - If DKMS fails to build the kernel module, the package upgrade
> > does not kick out. It shows package upgrade as successful. So this
> > leads directly to...
> So the problem with declaring the package as failed if the DKMS build failed
> is that it may actually pass or fail depending on how far along into the
> updates you are.
> Say you are updating to a new linux-headers with a new ABI at the same time
> as installing the NVIDIA package.
> Well if the NVIDIA package is processed first, the headers aren't yet
> installed, so the package will fail during postinst, but as soon as the
> headers are loaded, the kernel postinst runs and the modules get
> successfully built.
> Perhaps a potential solution is to look into whether the headers are yet
> available for this kernel, and if they aren't don't let the DKMS build fail
> cause the postinst to fail, but in any other scenario let the postinst fail.
I wonder if a dpkg trigger wouldn't help here for lucid (not for SRU): each
dkms module package registers its interest in an appropriate file pattern,
and at the end of the corresponding dpkg run the trigger fires to try to do
the module compilation? This would have the advantage that dpkg would then
have information about exactly which dkms packages failed to build, but I
haven't thought this through completely to be sure it's worth doing and
doesn't have any major design pitfalls.
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
Ubuntu Developer http://www.debian.org/
slangasek at ubuntu.com vorlon at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 827 bytes
Desc: Digital signature
Url : https://lists.ubuntu.com/archives/ubuntu-devel/attachments/20091105/0db03370/attachment.pgp
More information about the ubuntu-devel