Public bug reported:

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.

** Affects: apt (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/2091906/+subscriptions


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

Reply via email to