Removendo / limpando linux-headers-3.16.0-30-generic, mas o apt-get quer instalar o linux-headers-3.16.0-50-generic

3

O comando que estou executando é:

apt-get purge linux-headers-3.16.0-30 linux-headers-3.16.0-30-generic linux-image-3.16.0-30-generic linux-image-extra-3.16.0-30-generic linux-libc-dev --assume-yes

No entanto, durante o comando, apt-get deseja instalar pacotes da versão 3.16.0-50 . Aqui está a saída:

The following extra packages will be installed:
  linux-generic-lts-utopic linux-headers-3.16.0-50
  linux-headers-3.16.0-50-generic linux-headers-generic-lts-utopic
  linux-image-3.16.0-50-generic linux-image-extra-3.16.0-50-generic
  linux-image-generic-lts-utopic

Suggested packages:
  fdutils linux-lts-utopic-tools

The following packages will be REMOVED:
  build-essential g++ g++-4.8 glusterfs-client glusterfs-common
  glusterfs-server libacl1-dev libattr1-dev libc6-dev libstdc++-4.8-dev
  linux-headers-3.16.0-30 linux-headers-3.16.0-30-generic
  linux-image-3.16.0-30-generic linux-image-extra-3.16.0-30-generic
  linux-libc-dev

Alguém saberia porque o apt-get está instalando a versão mais nova do kernel do linux 3.16.0-50 quando estou tentando remover o 3.16.0-30 ? Existe alguma maneira de evitar isso?

Informações do sistema

Distribution: Ubuntu 14.04.3 LTS  
Current kernel: 3.19.0-30-generic  

apt-rdepends output

apt-rdepends -r --state-follow=Installed linux-headers-3.16.0-30 

linux-headers-3.16.0-30  
  Reverse Depends: linux-headers-3.16.0-30-generic (3.16.0-30.40~14.04.1)  
  Reverse Depends: linux-headers-3.16.0-30-lowlatency (3.16.0-30.40~14.04.1)  
linux-headers-3.16.0-30-generic  
  Reverse Depends: linux-headers-generic-lts-utopic (3.16.0.30.23)  
linux-headers-generic-lts-utopic  
  Reverse Depends: linux-generic-lts-utopic (= 3.16.0.50.41)  
  Reverse Depends: linux-headers-virtual-lts-utopic (= 3.16.0.50.41)  
  Reverse Depends: linux-hwe-generic-trusty (3.13.0.65.71)  
  Reverse Depends: linux-signed-generic-lts-utopic (= 3.16.0.50.41)  
linux-generic-lts-utopic  

Lista de todos os pacotes do kernel do Linux

ii  linux-firmware                      1.127.15  
ii  linux-generic-lts-utopic            3.16.0.30.23  
ii  linux-generic-lts-vivid             3.19.0.30.17  
ii  linux-headers-3.16.0-30             3.16.0-30.40~14.04.1  
ii  linux-headers-3.16.0-30-generic     3.16.0-30.40~14.04.1  
ii  linux-headers-3.19.0-30             3.19.0-30.33~14.04.1  
ii  linux-headers-3.19.0-30-generic     3.19.0-30.33~14.04.1  
ii  linux-headers-generic-lts-utopic    3.16.0.30.23  
ii  linux-headers-generic-lts-vivid     3.19.0.30.17  
ii  linux-image-3.16.0-30-generic       3.16.0-30.40~14.04.1   
ii  linux-image-3.19.0-30-generic       3.19.0-30.33~14.04.1   
ii  linux-image-extra-3.16.0-30-generic 3.16.0-30.40~14.04.1   
ii  linux-image-extra-3.19.0-30-generic 3.19.0-30.33~14.04.1  
ii  linux-image-generic-lts-utopic      3.16.0.30.23  
ii  linux-image-generic-lts-vivid       3.19.0.30.17  
ii  linux-libc-dev:amd64                3.13.0-65.105 

apt-cache mostra linux-generic-lts-utopic

Depends: linux-image-generic-lts-utopic (= 3.16.0.30.23), linux-headers-generic-lts-utopic (= 3.16.0.30.23)  

apt-cache mostra o linux-image-genérico-lts-utopic

Depends: linux-image-3.16.0-30-generic, linux-image-extra-3.16.0-30-generic, linux-firmware

apt-cache mostra linux-headers-generic-lts-utopic

Depends: linux-headers-3.16.0-30-generic

apt-get no modo de depuração:

...
Broken linux-image-generic-lts-utopic:amd64 Depends on linux-image-3.16.0-50-generic  
Broken linux-headers-generic-lts-utopic:amd64 Depends on linux-headers-3.16.0-50-generic  
...
    
por Minh La 14.10.2015 / 00:35

1 resposta

1

O linux-generic-lts-utopic depende do 3.16.0-30. Se o 3.16.0-30 for removido, o apt-get instalará o 3.16.0-50 como uma dependência para substituir o 3.16.0-30. Assim, a remoção de linux-generic-lts-utopic primeiro removerá qualquer dependência e permitirá uma limpeza limpa de todos os 3.16.

    
por 15.10.2015 / 21:28

Tags