Trying to install linux headers for Ubuntu 2204 Desktop (uname -r = 5.13.0-40-generic) and I get:
sudo apt install linux-headers-$(uname -r)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package linux-headers-5.13.0-40-generic 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
E: Package 'linux-headers-5.13.0-40-generic' has no installation candidate
What is the solution? Thanks.