Nunca obtenha o kernel mais novo que 2.6.32-42

0

Após a pesquisa, nenhuma resposta relacionada para se adaptar ao meu problema foi encontrada. Eu tenho 2 laptops e um pc que executam o Lucid. Laptops agora foram atualizados para 2.6.32-45, mas o PC fica em 2.6.32-42, enquanto outros softwares são atualizados como de costume. Eu acho que deve haver algo errado no PC, mas a minha capacidade de cavar isso é muito limitada. Como posso fazer o pc para atualizar o kernel mais recente como os laptops?

wijit@aeh:~$ sudo apt-get update && sudo apt-get dist-upgrade
[sudo] password for wijit: 
Ign cdrom://Ubuntu 10.04.2 LTS _Lucid Lynx_ - Release i386 (20110211.1) lucid Release.gpg
Ign cdrom://Ubuntu 10.04.2 LTS _Lucid Lynx_ - Release i386 (20110211.1)/ lucid/main Translation-en_US
Ign cdrom://Ubuntu 10.04.2 LTS _Lucid Lynx_ - Release i386 (20110211.1)/ lucid/restricted Translation-en_US
Hit http://ubuntu-archive.sit.kmutt.ac.th lucid Release.gpg                    
Ign http://ubuntu-archive.sit.kmutt.ac.th/ lucid/main Translation-en_US        
Hit http://dl.google.com stable Release.gpg                                    
Ign http://dl.google.com/linux/earth/deb/ stable/main Translation-en_US        
Ign http://ubuntu-archive.sit.kmutt.ac.th/ lucid/restricted Translation-en_US  
Hit http://dl.google.com stable Release                                        
Ign http://ubuntu-archive.sit.kmutt.ac.th/ lucid/universe Translation-en_US    
Ign http://ubuntu-archive.sit.kmutt.ac.th/ lucid/multiverse Translation-en_US  
Hit http://dl.google.com stable/main Packages                                  
Hit http://ubuntu-archive.sit.kmutt.ac.th lucid-updates Release.gpg            
Get:1 http://linux.dropbox.com lucid Release.gpg [489B]                        
Ign http://linux.dropbox.com/ubuntu/ lucid/main Translation-en_US              
Ign http://ubuntu-archive.sit.kmutt.ac.th/ lucid-updates/main Translation-en_US
Ign http://ubuntu-archive.sit.kmutt.ac.th/ lucid-updates/restricted Translation-en_US
Hit http://archive.canonical.com lucid Release.gpg                             
Ign http://archive.canonical.com/ubuntu/ lucid/partner Translation-en_US       
Ign http://ubuntu-archive.sit.kmutt.ac.th/ lucid-updates/universe Translation-en_US
Hit http://ppa.launchpad.net lucid Release.gpg                                 
Ign http://ppa.launchpad.net/tualatrix/ppa/ubuntu/ lucid/main Translation-en_US
Hit http://packages.medibuntu.org lucid Release.gpg                            
Get:2 http://linux.dropbox.com lucid Release [2,599B]                          
Ign http://ubuntu-archive.sit.kmutt.ac.th/ lucid-updates/multiverse Translation-en_US
Hit http://ubuntu-archive.sit.kmutt.ac.th lucid-security Release.gpg           
Ign http://ubuntu-archive.sit.kmutt.ac.th/ lucid-security/main Translation-en_US
Ign http://ubuntu-archive.sit.kmutt.ac.th/ lucid-security/restricted Translation-en_US
Hit http://archive.canonical.com lucid Release                                 
Get:3 http://linux.dropbox.com lucid/main Packages [1,029B]                    
Ign http://ubuntu-archive.sit.kmutt.ac.th/ lucid-security/universe Translation-en_US
Hit http://ppa.launchpad.net lucid Release                                     
Ign http://ubuntu-archive.sit.kmutt.ac.th/ lucid-security/multiverse Translation-en_US
Hit http://ubuntu-archive.sit.kmutt.ac.th lucid Release                        
Hit http://ubuntu-archive.sit.kmutt.ac.th lucid-updates Release                
Hit http://ubuntu-archive.sit.kmutt.ac.th lucid-security Release               
Hit http://ubuntu-archive.sit.kmutt.ac.th lucid/main Packages                  
Hit http://archive.canonical.com lucid/partner Packages                        
Ign http://packages.medibuntu.org/ lucid/free Translation-en_US                
Hit http://ppa.launchpad.net lucid/main Packages                               
Hit http://ubuntu-archive.sit.kmutt.ac.th lucid/restricted Packages            
Hit http://ubuntu-archive.sit.kmutt.ac.th lucid/main Sources                   
Hit http://ubuntu-archive.sit.kmutt.ac.th lucid/restricted Sources             
Hit http://ubuntu-archive.sit.kmutt.ac.th lucid/universe Packages              
Hit http://ubuntu-archive.sit.kmutt.ac.th lucid/universe Sources               
Hit http://ubuntu-archive.sit.kmutt.ac.th lucid/multiverse Packages            
Hit http://ubuntu-archive.sit.kmutt.ac.th lucid/multiverse Sources             
Hit http://ubuntu-archive.sit.kmutt.ac.th lucid-updates/main Packages          
Hit http://ubuntu-archive.sit.kmutt.ac.th lucid-updates/restricted Packages    
Ign http://packages.medibuntu.org/ lucid/non-free Translation-en_US            
Hit http://ubuntu-archive.sit.kmutt.ac.th lucid-updates/main Sources           
Hit http://ubuntu-archive.sit.kmutt.ac.th lucid-updates/restricted Sources     
Hit http://ubuntu-archive.sit.kmutt.ac.th lucid-updates/universe Packages      
Hit http://ubuntu-archive.sit.kmutt.ac.th lucid-updates/universe Sources       
Hit http://ubuntu-archive.sit.kmutt.ac.th lucid-updates/multiverse Packages    
Hit http://ubuntu-archive.sit.kmutt.ac.th lucid-updates/multiverse Sources     
Hit http://ubuntu-archive.sit.kmutt.ac.th lucid-security/main Packages         
Hit http://ubuntu-archive.sit.kmutt.ac.th lucid-security/restricted Packages   
Hit http://ubuntu-archive.sit.kmutt.ac.th lucid-security/main Sources          
Hit http://ubuntu-archive.sit.kmutt.ac.th lucid-security/restricted Sources    
Hit http://packages.medibuntu.org lucid Release                                
Hit http://ubuntu-archive.sit.kmutt.ac.th lucid-security/universe Packages     
Hit http://ubuntu-archive.sit.kmutt.ac.th lucid-security/universe Sources      
Hit http://ubuntu-archive.sit.kmutt.ac.th lucid-security/multiverse Packages   
Hit http://ubuntu-archive.sit.kmutt.ac.th lucid-security/multiverse Sources    
Hit http://packages.medibuntu.org lucid/free Packages                          
Hit http://packages.medibuntu.org lucid/non-free Packages
Fetched 4,117B in 4s (827B/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  libc-bin libc-dev-bin libc6 libc6-dev libc6-i686 vim-common vim-tiny
7 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 11.5MB of archives.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://ubuntu-archive.sit.kmutt.ac.th/ lucid-updates/main libc-bin     2.11.1-0ubuntu7.12 [731kB]
Get:2 http://ubuntu-archive.sit.kmutt.ac.th/ lucid-updates/main libc6 2.11.1-0ubuntu7.12 [3,909kB]
Get:3 http://ubuntu-archive.sit.kmutt.ac.th/ lucid-updates/main libc6-i686 2.11.1-0ubuntu7.12 [1,240kB]                                        
Get:4 http://ubuntu-archive.sit.kmutt.ac.th/ lucid-updates/main libc-dev-bin 2.11.1-0ubuntu7.12 [213kB]                                        
Get:5 http://ubuntu-archive.sit.kmutt.ac.th/ lucid-updates/main libc6-dev 2.11.1-0ubuntu7.12 [4,891kB]                                         
Get:6 http://ubuntu-archive.sit.kmutt.ac.th/ lucid-updates/main vim-tiny 2:7.2.330-1ubuntu3.1 [341kB]                                          
Get:7 http://ubuntu-archive.sit.kmutt.ac.th/ lucid-updates/main vim-common 2:7.2.330-1ubuntu3.1 [174kB]                                        
Fetched 11.5MB in 15s (743kB/s)                                                                                                                
Preconfiguring packages ...
(Reading database ... 240412 files and directories currently installed.)
Preparing to replace libc-bin 2.11.1-0ubuntu7.11 (using .../libc-bin_2.11.1-0ubuntu7.12_i386.deb) ...
Unpacking replacement libc-bin ...
Processing triggers for man-db ...
Setting up libc-bin (2.11.1-0ubuntu7.12) ...

(Reading database ... 240412 files and directories currently installed.)
Preparing to replace libc6 2.11.1-0ubuntu7.11 (using .../libc6_2.11.1-0ubuntu7.12_i386.deb) ...
Unpacking replacement libc6 ...
Setting up libc6 (2.11.1-0ubuntu7.12) ...

Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
(Reading database ... 240412 files and directories currently installed.)
Preparing to replace libc6-i686 2.11.1-0ubuntu7.11 (using .../libc6-i686_2.11.1-0ubuntu7.12_i386.deb) ...
Unpacking replacement libc6-i686 ...
Preparing to replace libc-dev-bin 2.11.1-0ubuntu7.11 (using .../libc-dev-bin_2.11.1-0ubuntu7.12_i386.deb) ...
Unpacking replacement libc-dev-bin ...
Preparing to replace libc6-dev 2.11.1-0ubuntu7.11 (using .../libc6-dev_2.11.1-0ubuntu7.12_i386.deb) ...
Unpacking replacement libc6-dev ...
Preparing to replace vim-tiny 2:7.2.330-1ubuntu3 (using .../vim-tiny_2%3a7.2.330-1ubuntu3.1_i386.deb) ...
Unpacking replacement vim-tiny ...
Preparing to replace vim-common 2:7.2.330-1ubuntu3 (using .../vim-common_2%3a7.2.330-1ubuntu3.1_i386.deb) ...
Unpacking replacement vim-common ...
Processing triggers for man-db ...
Setting up libc6-i686 (2.11.1-0ubuntu7.12) ...

Setting up libc-dev-bin (2.11.1-0ubuntu7.12) ...
Setting up libc6-dev (2.11.1-0ubuntu7.12) ...
Setting up vim-common (2:7.2.330-1ubuntu3.1) ...

Setting up vim-tiny (2:7.2.330-1ubuntu3.1) ...

Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
wijit@aeh:~$ 

Desculpe pela resposta tardia. Este velho pc está em minha casa. Aqui estão os resultados do dpkg:

wijit@aeh:~$ dpkg -l | grep linux-image
rc  linux-image-2.6.32-40-generic        2.6.32-40.87                                    Linux kernel image for version 2.6.32 on x86
rc  linux-image-2.6.32-41-generic        2.6.32-41.94                                    Linux kernel image for version 2.6.32 on x86
ii  linux-image-2.6.32-42-generic        2.6.32-42.96                                    Linux kernel image for version 2.6.32 on x86
wijit@aeh:~$ 
    
por wijit 28.11.2012 / 00:59

2 respostas

1

Aparentemente, seu sistema está perdendo o meta-pacote, linux-image-generic . É isso que atrai versões mais recentes do kernel. Para instalá-lo, execute

sudo apt-get install linux-image-generic

Isso deve instalar o kernel mais recente disponível, que será usado após uma reinicialização.

Para remover os kernels e cabeçalhos antigos, você pode executar o seguinte comando ou usar outras formas, conforme descrito em Como faço para remover versões antigas do kernel :

dpkg -l linux-* | awk '/^ii/{ print $2}' | grep -v -e 'uname -r | cut -f1,2 -d"-"' | grep -e [0-9] | xargs sudo apt-get -y purge

... e, a propósito, não há nada errado com a coluna à direita.

    
por mikewhatever 01.12.2012 / 03:35
-1

Esse último número é o nível de patch. Não tem nada a ver com a versão.

Sem informações adequadas, eu vou dizer que os kernels portáteis têm mais patches específicos do Ubuntu, em seguida, os kernels do PC (não que o número seja todo específico do ubuntu).

Ambas as máquinas estão rodando 2.6.32.

Então, no seu exemplo. Ambas as máquinas são executadas

Major 2:
Menor 6
Micro 32
Patch (do Debian, você, Ubuntu, Bob em contabilidade, pessoa aleatória 64) 45 ou 42

Esse último número não é realmente importante para comparar versões.

    
por coteyr 28.11.2012 / 04:16