linux-meta-lts-quantal should provide a kernel sources package

Bug #1194121 reported by Riccardo Murri
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
linux-meta-lts-quantal (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

When searching for a `linux-source` package on a 12.04.2 system, one surprinsingly finds that the latest available `linux-source` package has version 3.2.0, whereas the installed kernel and headers are 3.5.0.

The corresponding kernel sources should be available as well, e.g., as package `linux-source-generic-lts-quantal`.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in linux-meta-lts-quantal (Ubuntu):
status: New → Confirmed
Revision history for this message
Margarita Manterola (marga-9) wrote :

Hi,

Not only the sources are affected. Header packages should provide linux-headers. This is necessary to satisfy dependencies of dkms packages.

$ apt-cache show linux-headers-3.2.0-49 | grep Provides
Provides: linux-headers, linux-headers-3
$ apt-cache show linux-headers-3.5.0-34 | grep Provides
<nothing>

--
Regards,
Marga

Revision history for this message
Adam Conrad (adconrad) wrote :

Which dkms package(s) still depend on linux-headers? We tried to scrub all of that for the last point release.

Revision history for this message
Michael Wisheu (wisheu) wrote :

For an instance nvidia-experimental-304 on Precise:
$ apt-cache show nvidia-experimental-304 | egrep 'Version|Depends'
Version: 304.48-0ubuntu0.1
Depends: x11-common (>= 1:7.0.0), make, sed (>> 3.0), dkms, linux-libc-dev, libc6-dev, linux-headers-generic | linux-headers, patch, acpid, libc6 (>= 2.2.5), libgcc1 (>= 1:4.1.1), libx11-6, libxext6, libxv1, libxvmc1, zlib1g (>= 1:1.1.4), xorg-video-abi-11 | xorg-video-abi-12 | xorg-video-abi-13, xserver-xorg-core (>= 2:1.10.99.901)

Adam, what should dkms packages instead depend on? They require after all some kind of linux-headers to be able to build a kernel module...

Revision history for this message
Adam Conrad (adconrad) wrote :

They shouldn't depend on kernel headers, because there's no way to get this right. You need to trust your installer to have installed "linux-generic" or "linux-ac100", etc, which will pull in (and keep up to date) the right headers packages.

Using Ubuntu-supplied installers does this for you already. A custom installer/preseed might not.

Revision history for this message
Adam Conrad (adconrad) wrote :

(And for people using the lts-backport kernels, you want "linux-generic-lts-raring" or "linux-generic-lts-quantal", again, installed by default from our installation media, when it uses those kernels)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.