O Apt-get retém as imagens do kernel (genérico, servidor e extra)

0

Hoje, o apt-get me disse que vários pacotes foram retidos. Digitar apt-get dist-upgrade -su me deu isso:

 apt-get dist-upgrade -su
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following NEW packages will be installed
  linux-image-3.13.0-44-generic linux-image-extra-3.13.0-44-generic
The following packages will be upgraded:
  linux-image-generic linux-image-server
2 to upgrade, 2 to newly install, 0 to remove and 0 not to upgrade.
Inst linux-image-3.13.0-44-generic (3.13.0-44.73 Ubuntu:14.04/trusty-updates [amd64])
Inst linux-image-extra-3.13.0-44-generic (3.13.0-44.73 Ubuntu:14.04/trusty-updates [amd64])
Inst linux-image-server [3.13.0.43.50] (3.13.0.44.51 Ubuntu:14.04/trusty-updates [amd64]) []
Inst linux-image-generic [3.13.0.43.50] (3.13.0.44.51 Ubuntu:14.04/trusty-updates [amd64])
Conf linux-image-3.13.0-44-generic (3.13.0-44.73 Ubuntu:14.04/trusty-updates [amd64])
Conf linux-image-extra-3.13.0-44-generic (3.13.0-44.73 Ubuntu:14.04/trusty-updates [amd64])
Conf linux-image-generic (3.13.0.44.51 Ubuntu:14.04/trusty-updates [amd64])
Conf linux-image-server (3.13.0.44.51 Ubuntu:14.04/trusty-updates [amd64])

Não tenho certeza sobre o curso de ação. Se o servidor não reiniciar, ou se o grub não inicializar automaticamente o kernel correto, eu serei bloqueado do servidor, a 800 km, condenado a gastar muito dinheiro em uma intervenção humana. Eu não tenho acesso físico ao servidor.

É esperado de um servidor 14.04 querer instalar tudo isso? Qual kernel será inicializado automaticamente? Servidor? Extra? Genérico?

Meu kernel atual é 3.13.0-43-generic #72-Ubuntu SMP Mon Dec 8 19:35:06 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux .

Além disso, devo confessar que posso ter estragado o arquivo de lista de fontes do apt-get ao instalar o servidor a partir do guia de servidor Perfect do sourceforge (14.04, apache). Ao "redefinir" meu servidor dedicado, a empresa de hospedagem realiza uma instalação automática da distribuição do Linux que eu escolho. Eu selecionei 14,04 genérico (o que significa, em teoria, eles não modificaram muito). Mas veio com um arquivo sources.list contendo repositórios hospedados pela empresa. Eu não sabia o que fazer, então apenas adicionei as recomendadas do guia sourceforge , só para ter certeza. Aptitude se queixou um pouco (dizendo-me que desativou algumas coisas), mas depois continuou feliz, e eu também com a configuração do meu servidor.

Esse problema está voltando para me assombrar?

Abaixo está o meu arquivo sources.list atual.

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://ubuntu.mirrors.ovh.net/ftp.ubuntu.com/ubuntu/ trusty main restricted
deb-src http://ubuntu.mirrors.ovh.net/ftp.ubuntu.com/ubuntu/ trusty main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://ubuntu.mirrors.ovh.net/ftp.ubuntu.com/ubuntu/ trusty-updates main restricted
deb-src http://ubuntu.mirrors.ovh.net/ftp.ubuntu.com/ubuntu/ trusty-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://ubuntu.mirrors.ovh.net/ftp.ubuntu.com/ubuntu/ trusty universe
deb-src http://ubuntu.mirrors.ovh.net/ftp.ubuntu.com/ubuntu/ trusty universe
deb http://ubuntu.mirrors.ovh.net/ftp.ubuntu.com/ubuntu/ trusty-updates universe
deb-src http://ubuntu.mirrors.ovh.net/ftp.ubuntu.com/ubuntu/ trusty-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
## team, and may not be under a free licence. Please satisfy yourself as to 
## your rights to use the software. Also, please note that software in 
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://ubuntu.mirrors.ovh.net/ftp.ubuntu.com/ubuntu/ trusty multiverse
deb-src http://ubuntu.mirrors.ovh.net/ftp.ubuntu.com/ubuntu/ trusty multiverse
deb http://ubuntu.mirrors.ovh.net/ftp.ubuntu.com/ubuntu/ trusty-updates multiverse
deb-src http://ubuntu.mirrors.ovh.net/ftp.ubuntu.com/ubuntu/ trusty-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://ubuntu.mirrors.ovh.net/ftp.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
deb-src http://ubuntu.mirrors.ovh.net/ftp.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu trusty-security main restricted
deb-src http://security.ubuntu.com/ubuntu trusty-security main restricted
deb http://security.ubuntu.com/ubuntu trusty-security universe
deb-src http://security.ubuntu.com/ubuntu trusty-security universe
deb http://security.ubuntu.com/ubuntu trusty-security multiverse
deb-src http://security.ubuntu.com/ubuntu trusty-security multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu trusty partner
# deb-src http://archive.canonical.com/ubuntu trusty partner
    
por Adeline 12.01.2015 / 22:02

1 resposta

1

Os kernels são normalmente retidos automaticamente. Isso ocorre porque alguns administradores não querem atualizar para os kernels porque as coisas podem quebrar e explodir (metaforicamente).

O seu curso de ação deve ser assim:

  1. Atualize ( sudo apt-get dist-upgrade ou similar) para o kernel mais recente se desejar as correções incluídas nele e esteja disposto a remover o kernel mais recente se ele falhar. Anote a versão do seu kernel que você tem agora primeiro ( uname -a ), e qual é o maior número de versão que está sendo instalado. Você pode precisar desta informação mais tarde.
  2. Inicialize o kernel recém-instalado. Se todas as botas forem boas e funcionarem, vá para 3 (a). Caso contrário, vá para 3 (b).
  3. Passos para tomar:
    (a) Se tudo funcionar bem, você pode tentar usar um autoremove para remover os kernels antigos. Você pode apagar o kernel antigo para economizar espaço ou manter o kernel como um backup. sudo apt-get autoremove é um bom ponto de partida. Se nada for removido, então você precisa ir caçar para remover os kernels mais antigos.
    (b) Se tudo não funcionar bem, então ao inicializar no grub, escolha "Outras opções" ou similar, e escolha o número do kernel mais antigo que você manteve e referenciou. Escolha o kernel dessa lista. Em seguida, remova as versões do kernel recém-instaladas (é por isso que eu disse para derrubar as versões e nomes dos pacotes)
por Thomas Ward 13.01.2015 / 00:13