Why is linux-source-5.4.0 is not available for Ubuntu 18.04.5?

Asked by Colton Lewis

Ubuntu 18.04.5 released August 13th with kernel 5.4.0-42-generic. However, there is no linux-source-5.4.0 package for Ubuntu 18.

Under bionic and bionic-updates, there is no linux-source-5.4.0:

https://packages.ubuntu.com/search?suite=all&searchon=names&keywords=linux-source

This seems like a mistake to me. There are linux-source packages available for kernel releases up to 5.3.0. It is inconvenient to be unable to access kernel sources matching the running kernel. Where should I report this problem to make the package available in the right place?

Question information

Revision history for this message
Manfred Hampl (m-hampl) said :
#1

There i a package linux-hwe-5.4-source-5.4.0
Maybe that is what you are looking for.

Revision history for this message
Colton Lewis (clewis-thalesgroup) said :
#2

I installed that package. There is nothing in that package except a changelog and a copyright notice.

root@132-077-clewis-ubuntu-18-5_4_0-cvetest:/home/sa-cvebuild# dpkg -L linux-hwe-5.4-source-5.4.0
/.
/usr
/usr/share
/usr/share/doc
/usr/share/doc/linux-hwe-5.4-source-5.4.0
/usr/share/doc/linux-hwe-5.4-source-5.4.0/changelog.Debian.gz
/usr/share/doc/linux-hwe-5.4-source-5.4.0/copyright

A linux-source package should include a full linux source tree under /usr/src. Example from linux-source-5.3.0:

root@132-077-clewis-ubuntu-18-5_4_0-cvetest:/home/sa-cvebuild# dpkg -L linux-source-5.3.0 | tail
/usr/src/linux-source-5.3.0/debian.hwe/rules.d/s390x.disabled
/usr/src/linux-source-5.3.0/debian.hwe/rules.d/x32.disabled
/usr/src/linux-source-5.3.0/debian.hwe/scripts
/usr/src/linux-source-5.3.0/debian.hwe/scripts/helpers
/usr/src/linux-source-5.3.0/debian.hwe/scripts/helpers/copy-files
/usr/src/linux-source-5.3.0/debian.hwe/scripts/helpers/local-mangle
/usr/src/linux-source-5.3.0/debian.hwe/tracking-bug
/usr/src/linux-source-5.3.0/debian.hwe/variants
/usr/src/linux-source-5.3.0/linux-source-5.3.0.tar.bz2
/usr/src/linux-source-5.3.0.tar.bz2

Revision history for this message
Manfred Hampl (m-hampl) said :
#3

I suggest that you create a bug report,
https://launchpad.net/ubuntu/+source/linux-hwe-5.4/+filebug

Revision history for this message
Colton Lewis (clewis-thalesgroup) said :
#4

Linked to the bug report. Will mark solved when bug is dealt with. Thank you.

Can you help with this problem?

Provide an answer of your own, or ask Colton Lewis for more information if necessary.

To post a message you must log in.