nvidia-current upgrade fails with compile error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dkms (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Hi -- The Update Manager found a new version of my Nvidia driver (260.19.29) and tried to install it. However, the installation failed with a compiler error:
jerryb@
The following partially installed packages will be configured:
nvidia-current nvidia-glx-185
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Setting up nvidia-current (260.19.
update-initramfs: deferring update (trigger activated)
Removing old nvidia-
-------
Deleting module version: 260.19.29
completely from the DKMS tree.
-------
Done.
Loading new nvidia-
Building only for 2.6.35-24-generic
Building for architecture x86_64
Building initial module for 2.6.35-24-generic
Error! Bad return status for module build on kernel: 2.6.35-24-generic (x86_64)
Consult the make.log in the build directory
/var/lib/
Traceback (most recent call last):
File "/usr/share/
report.
IOError: [Errno 2] No such file or directory: '/var/crash/
dpkg: error processing nvidia-current (--configure):
subprocess installed post-installation script returned error exit status 10
dpkg: dependency problems prevent configuration of nvidia-glx-185:
nvidia-glx-185 depends on nvidia-current; however:
Package nvidia-current is not configured yet.
dpkg: error processing nvidia-glx-185 (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
Processing triggers for python-gmenu ...
Rebuilding /usr/share/
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.
W: mdadm: /etc/mdadm/
Processing triggers for python-support ...
Errors were encountered while processing:
nvidia-current
nvidia-glx-185
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up nvidia-current (260.19.
update-initramfs: deferring update (trigger activated)
Removing old nvidia-
-------
Deleting module version: 260.19.29
completely from the DKMS tree.
-------
Done.
Loading new nvidia-
Building only for 2.6.35-24-generic
Building for architecture x86_64
Building initial module for 2.6.35-24-generic
Error! Bad return status for module build on kernel: 2.6.35-24-generic (x86_64)
Consult the make.log in the build directory
/var/lib/
Traceback (most recent call last):
File "/usr/share/
report.
IOError: [Errno 2] No such file or directory: '/var/crash/
dpkg: error processing nvidia-current (--configure):
subprocess installed post-installation script returned error exit status 10
dpkg: dependency problems prevent configuration of nvidia-glx-185:
nvidia-glx-185 depends on nvidia-current; however:
Package nvidia-current is not configured yet.
dpkg: error processing nvidia-glx-185 (--configure):
dependency problems - leaving unconfigured
The make log reports:
/var/lib/
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:/
make[3]: *** [/var/lib/
make[2]: *** [_module_
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [module] Error 1
make: *** [module] Error 2
$ lsb_release -rd
Description: Ubuntu 10.10
Release: 10.10
$ apt-cache policy nvidia-current
nvidia-current:
Installed: 260.19.
Candidate: 260.19.
Version table:
*** 260.19.
500 http://
100 /var/lib/
260.
500 http://
britton@
Expected: Normal build
Happend: Compiler error
affects: | nvidia-graphics-drivers-180 (Ubuntu) → nvidia-graphics-drivers (Ubuntu) |
tags: | added: maverick |
Can you attach your make.log?
Guessing this is a dkms build issue so refiling it there. I notice you had tried installing from the x-updates ppa, which might relate to the problem.
If you ended up working around the problem, please elaborate on what you did.