2

Ubuntu can't detect my GPU. Jockey shows no drivers whatsoever and I can't even install the nvidia drivers through sudo apt-get install nvidia-current. That's what I get :

Error! Bad return status for module build on kernel: 3.2.0-030200-generic (x86_64)
Consult the make.log in the build directory
/var/lib/dkms/nvidia-current/195.36.24/build/ for more information.
dpkg: error processing nvidia-current (--configure):
 subprocess installed post-installation script returned error exit status 10
dpkg: dependency problems prevent configuration of nvidia-current-dev:
 nvidia-current-dev depends on nvidia-current (>= 195.36.24); however:
  Package nvidia-current is not configured yet.
dpkg: error processing nvidia-current-dev (--configure):
 dependency problems - leaving unconfigured
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
Processing triggers for python-gmenu ...
No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                          No apport report written because the error message indicates its a followup error from a previous failure.                                                Rebuilding /usr/share/applications/desktop.en_US.utf8.cache...
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-3.2.0-030200-generic
Processing triggers for python-support ...
Errors were encountered while processing:
 nvidia-current
 nvidia-current-dev
 nvidia-glx-185

E: Sub-process /usr/bin/dpkg returned an error code (1)

I'm using Ubuntu 10.04 and the 3.2.0 kernel. any help ?

Mark Rooney
  • 6,329
samir
  • 19

1 Answers1

0

It looks like you've downloaded a mainline kernel from http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.2-precise/. Just installing the linux-image-3.2.0-030200-generic image is suitable for many cases, but if you need to install out of kernel modules like VirtualBox or graphics drivers, you'll also need to install the kernel headers package. On the linked page, these are the linux-headers-3.2.0-030200-generic...amd64.deb and linux-headers-3.2.0-030200...all.deb files.

Unless you need to test a kernel, I suggest you not to use these kernels for daily live because the modules cannot be unloaded once loaded.

Furthermore, installing a newer kernel won't make your NVIDIA Optimus card get detected, see Is a NVIDIA GeForce with Optimus Technology supported by Ubuntu?

Lekensteyn
  • 178,446