Missing linux kernel-headers

Hi all,

Since the last few days I’m unable to fetch the linux-kernel-headers package associated to my Ubuntu kernel (we need these headers to run our app). As you can see below, these headers are not part of the Ubuntu apt repos, yet, my travis server is running this kernel release.

Any suggestions? Would it be possible to specify the kernel-release to utilize in travis build-servers?

$ sudo apt-get install linux-headers-$(uname -r)
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package linux-headers-5.4.0-1030-gcp is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

See complete error here.


Information about this package is missing from Apt database but present in Google’s cache. Looks like this kernel release was yanked for some reason.

In newer builds, VMs sport different kernel versions, so this should work now.

1 Like