Tentando instalar cabeçalhos Linux 2204

Tentando instalar cabeçalhos Linux 2204

Tentando instalar cabeçalhos Linux para Ubuntu 2204 Desktop (uname -r = 5.13.0-40-generic) e recebo:

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

Qual é a solução? Obrigado.

Responder1

Você atualizou de uma versão mais antiga. Por favor, tente instalar o kernel atual com cabeçalhos ist por sudo apt install linux-generic. (Provavelmente já está instalado.) Em seguida, reinicie para começar a usar esse kernel.

informação relacionada