Não é possível instalar cabeçalhos linux para o Ubuntu 17.10

0
sudo apt-get install linux-headers-$(uname -r) 

Retorna:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package linux-headers-4.10.0-42-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-4.10.0-42-generic' has no installation candidate

Eu suspeito que esse possa ser o problema por trás da falha na instalação de novos drivers nvidia.

Alguma idéia de como resolver?

Algumas informações talvez úteis:

uname -r

4.10.0-42-generic

dpkg-query -s linux-headers - $ (uname -r)

dpkg-query: package 'linux-headers-4.10.0-42-generic' is not installed and no information is available

sudo apt list --instalado | cabeçalhos grep

libxmu-headers/artful,artful,now 2:1.1.2-2 all [installed,automatic]
linux-headers-4.13.0-41/artful-updates,artful-updates,artful-security,artful-security,now 4.13.0-41.46 all [installed,automatic]
linux-headers-4.13.0-41-generic/artful-updates,artful-security,now 4.13.0-41.46 amd64 [installed,automatic]
linux-headers-4.13.0-43/artful-updates,artful-updates,artful-security,artful-security,now 4.13.0-43.48 all [installed,automatic]
linux-headers-4.13.0-43-generic/artful-updates,artful-security,now 4.13.0-43.48 amd64 [installed,automatic]
linux-headers-generic/artful-updates,artful-security,now 4.13.0.43.46 amd64 [installed]
    
por hirschme 01.06.2018 / 23:16

1 resposta

0

Error: Could not find linux-headers- ubuntu 18.04 virtual machine

Eu emiti estes comandos depois de ler muitas abordagens para este erro depois: sudo apt-get install linux-headers-server

  1. uname -r
  2. sudo apt-get list | grep headers
  3. sudo apt-get install linux-headers-generic

O comando me deu o genérico que foi instalado, o uname e o% corretolinux-headers foram instalados. Gurls funciona!

    
por user862558 21.08.2018 / 15:09