It is not clear how to install sources for the running kernel

Bug #1830379 reported by vvhk
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu
Triaged
Wishlist
Unassigned

Bug Description

On Ubuntu 18.04, with `apt-get source <packagename>` being the de facto way of getting (src-deb) sources for a binary package, it is not so with the linux kernel.

`apt-get source linux-image-$(uname -r)` -- leads to "linux-signed" which is not the kernel src deb
`apt-get source linux-image-generic` -- leads to "linux-meta" which is, again, not it
`apt-get source linux` -- obtains the correct src deb but that's not transparent or obvious to new users and a deviation from the usual standard of using `apt-get source`.

Prior discussion and background on #ubuntu-devel:

* https://irclogs.ubuntu.com/2019/05/24/%23ubuntu-devel.html#t10:55

Tags: bionic
Paul Sladen (sladen)
description: updated
Revision history for this message
Robie Basak (racb) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better.

Based on the IRC discussion, I think there's consensus amongst Ubuntu developers that we can do something (even if documentation) to make it easier to find the right sources, so this bug is valid.

Changed in ubuntu:
status: New → Triaged
importance: Undecided → Wishlist
Revision history for this message
Robie Basak (racb) wrote :

(however, I don't think there's any obvious package to assign it to; a solution, once decided, won't necessarily be in the linux package)

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.