[Bug 2091906] Re: linux-headers-6.8.0-50-generic missing from Packages.gz in jammy-updates (observed in Podman container)
Julian Andres Klode
2091906 at bugs.launchpad.net
Mon May 19 10:29:51 UTC 2025
Installing kernel headers for the currently running kernel is not a
supported operation as they may no longer exist. The correct way to
install additional kernel packages is to install the meta packages that
pull in the latest version, upgrade the kernel to the latest version,
and reboot into it.
** Changed in: apt (Ubuntu)
Status: New => Invalid
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/2091906
Title:
linux-headers-6.8.0-50-generic missing from Packages.gz in jammy-
updates (observed in Podman container)
Status in apt package in Ubuntu:
Invalid
Bug description:
While building a podman container image using "FROM ubuntu:22.04"
The build encountered an error very early at step "RUN apt-get update
&& apt-get -y upgrade && apt-get -y install [...] pkg-config linux-
headers-$(uname -r)" with the following messages:
...
Fetched 35.5 MB in 3s (13.8 MB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package linux-headers-6.8.0-50-generic
E: Couldn't find any package by glob 'linux-headers-6.8.0-50-generic'
E: Couldn't find any package by regex 'linux-headers-6.8.0-50-generic'
This container image build has been running seamlessly for several
weeks before on different computers.
After investigating in the repository "archive.ubuntu.com", I realized that 'linux-headers-6.8.0-50-generic' entry is not present in "/ubuntu/dists/jammy-updates/main/binary-amd64/Packages.gz", whereas other similar packages entries are present (eg 'linux-headers-6.8.0-49-generic' and even 'linux-headers-6.8.0-50-lowlatency').
I also checked successfully that the package related to the missing entry is indeed present in https://ca.archive.ubuntu.com/ubuntu/pool/main/l/linux-hwe-6.8/linux-headers-6.8.0-50-generic_6.8.0-50.51~22.04.1_amd64.deb
apt version is 2.7.14 (amd64) inside the container.
This problem might be the root cause for the reported bug
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2091763, and for
a handful of other issues reported lastly on the internet.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/2091906/+subscriptions
More information about the foundations-bugs
mailing list