
Ubuntu 2204 Desktop(uname -r = 5.13.0-40-generic)용 Linux 헤더를 설치하려고 하면 다음과 같은 메시지가 나타납니다.
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
해결 방법이 무엇입니까? 감사해요.
답변1
이전 릴리스에서 업그레이드했습니다. 으로 ist 헤더가 있는 현재 커널을 설치해 보십시오 sudo apt install linux-generic
. (아마 이미 설치되어 있을 것입니다.) 그런 다음 재부팅하여 해당 커널을 사용하십시오.