subscribe apw
 subscribe albertomilone

Hello Daniel,

Daniel Manrique [2012-10-24 16:08 -0000]:
> 1- Installed Ubuntu 12.10 from a USB stick. This was a mostly default 
> install. I did NOT click on the "install 3rd party software" checkbox.
> 2- Once the system booted I did dpkg --list, it's a largish list so I'll 
> attach it as as file. I notice only a linux-headers-3.5.0-17 package is 
> installed:
> 
> $ grep linux-header packagelist.txt 
> ii  linux-headers-3.5.0-17                    3.5.0-17.28                     
>           all          Header files related to Linux kernel version 3.5.0

This seems to be the root of the problem. You need
linux-headers-3.5.0-17-generic and linux-headers-generic as well, and
they are indeed on the default image:

  http://releases.ubuntu.com/12.10/ubuntu-12.10-desktop-amd64.manifest

So this looks like a bug during installation. Perhaps ubiquity removes
the kernel headers for some reason? Can you please attach
/var/log/installer/syslog?

> 3- I configured the proxy for apt-get by adding this under
> /etc/apt/apt.conf.d/80proxy:

The proxy can certainly play a role in here, but as the kernel headers
are already in the live system and thus should be copied to the
installation, it does not need network access to get them.

> 5- sudo apt-get install nvidia-current. Results in this (notice the
> linux-headers-generic wasn't listed as a package to install, and it
> fails to build the driver.

Ah, I see the problem: nvidia-current depends on
"linux-headers-generic | linux-headers", the intention is that you can
also run e. g. the -lowlatency flavour and build against
linux-headers-lowlatency instead. However, linux-headers-3.5.0-17
provides "linux-headers, linux-headers-3", which is a bad thing to do
as they are incomplete! Only linux-headers-3.5.0-17-generic should
provide linux-headers (and does). Andy, what do you think about this?

Thanks,

Martin
-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1070427

Title:
  fails to build due to missing kernel headers

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers/+bug/1070427/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to