Tenho uma dúvida que gostaria de esclarecer.
Vejam isto:
lf@ubuntu:~$ uname -r
3.5.0-25-generic
Ah... estou usando o kernel 3.5.0-25.
------ (editado para ficar mais curto)--------
lf@ubuntu:~$ dpkg -l | grep 3.5.0-25
ii linux-headers-3.5.0-25 3.5.0-25.39
ii linux-headers-3.5.0-25-generic 3.5.0-25.39
ii linux-image-3.5.0-25-generic 3.5.0-25.39
ii linux-image-extra-3.5.0-25-generic 3.5.0-25.39
Quando instalei a 12.10 o instalador não instalou os kernel-headers.
Instalei eu para poder usar o driver proprietário da placa de vídeo
nvidia. Foi um transtorno porque demorei a perceber que o problema era
este. Não é uma falha do instalador? Bom, problema resolvido.
----------------------------------
Hoje...
lf@ubuntu:~$ sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following NEW packages will be installed:
linux-image-3.5.0-26-generic linux-image-extra-3.5.0-26-generic
The following packages will be upgraded:
linux-image-generic
1 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 39,6 MB of archives.
After this operation, 153 MB of additional disk space will be used.
Do you want to continue [Y/n]? n
Abort.
Os kernel-headers não vão ser atualizados? Quer dizer que vou ficar sem
os headers de novo? E a minha placa de vídeo não vai funcionar direito
novamente? Vou ter que fazer o upgrade manual? Não devia ser automático
isto?
------------------------------------
lf@ubuntu:~$ aptitude search 3.5.0-25 | grep ^i
i A linux-headers-3.5.0-25
i linux-headers-3.5.0-25-generic
i linux-image-3.5.0-25-generic
i linux-image-extra-3.5.0-25-generic
Por que este A na linha dos headers? Será por isso que o apt-get não
atualiza os headers? Ou o kernel 3.5.0-26 usa os headers da 3.5.0-25?
Como tirá-lo daí? Ou como fazer com que a atualização dos kernel-headers
seja automática?
Bom, pessoal, se puderem me ajudar eu agradeço.
Luiz Fernando
--
Mais sobre o Ubuntu em português: http://www.ubuntu-br.org/comece
Lista de discussão Ubuntu Brasil
Histórico, descadastramento e outras opções:
https://lists.ubuntu.com/mailman/listinfo/ubuntu-br