Instale a janela de encaixe no Ubuntu 16.04 - problema com o linux-image-extra

4

Eu gostaria de instalar o docker no Ubuntu 16.04 (em um servidor virtual da hosteurope).

As instruções de instalação dizem que eu tenho que instalar o linux-image - *

Então eu fiz:

sudo apt-get install linux-image-extra-$(uname -r) linux-image-extra-virtual

Mas o pacote não foi encontrado:

Unable to locate package linux-image-extra-4.4.0-042stab120.11

Alguém sabe como resolver este problema?

TIA

Saída da imagem linux de busca do apt-cache:

alsa-base - ALSA driver configuration files
linux-image-4.4.0-21-generic - Linux kernel image for version 4.4.0 on 64 bit x86 SMP
linux-image-4.4.0-21-lowlatency - Linux kernel image for version 4.4.0 on 64 bit x86 SMP
linux-image-extra-4.4.0-21-generic - Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
linux-image-extra-virtual - Transitional package.
linux-image-extra-virtual-lts-utopic - Transitional package. (dummy transitional package)
linux-image-extra-virtual-lts-vivid - Transitional package. (dummy transitional package)
linux-image-extra-virtual-lts-wily - Transitional package. (dummy transitional package)
linux-image-extra-virtual-lts-xenial - Transitional package. (dummy transitional package)
linux-image-generic - Generic Linux kernel image
linux-image-generic-lts-utopic - Generic Linux kernel image (dummy transitional package)
linux-image-generic-lts-vivid - Generic Linux kernel image (dummy transitional package)
linux-image-generic-lts-wily - Generic Linux kernel image (dummy transitional package)
linux-image-generic-lts-xenial - Generic Linux kernel image (dummy transitional package)
linux-image-hwe-generic-trusty - Depends on the generic hardware enablement kernel image (dummy transitional package)
linux-image-hwe-virtual-trusty - Depends on the virtual hardware enablement kernel image (dummy transitional package)
linux-image-lowlatency - lowlatency Linux kernel image
linux-image-lowlatency-lts-utopic - lowlatency Linux kernel image (dummy transitional package)
linux-image-lowlatency-lts-vivid - lowlatency Linux kernel image (dummy transitional package)
linux-image-lowlatency-lts-wily - lowlatency Linux kernel image (dummy transitional package)
linux-image-lowlatency-lts-xenial - lowlatency Linux kernel image (dummy transitional package)
linux-image-virtual - This package will always depend on the latest minimal generic kernel image.
linux-image-virtual-lts-utopic - This package will always depend on the latest minimal generic kernel image. (dummy transitional package)
linux-image-virtual-lts-vivid - This package will always depend on the latest minimal generic kernel image. (dummy transitional package)
linux-image-virtual-lts-wily - This package will always depend on the latest minimal generic kernel image. (dummy transitional package)
linux-image-virtual-lts-xenial - This package will always depend on the latest minimal generic kernel image. (dummy transitional package)
linux-virtual - Minimal Generic Linux kernel and headers
linux-image-4.4.0-22-generic - Linux kernel image for version 4.4.0 on 64 bit x86 SMP
linux-image-4.4.0-22-lowlatency - Linux kernel image for version 4.4.0 on 64 bit x86 SMP
linux-image-4.4.0-24-generic - Linux kernel image for version 4.4.0 on 64 bit x86 SMP
linux-image-4.4.0-24-lowlatency - Linux kernel image for version 4.4.0 on 64 bit x86 SMP
linux-image-4.4.0-28-generic - Linux kernel image for version 4.4.0 on 64 bit x86 SMP
linux-image-4.4.0-28-lowlatency - Linux kernel image for version 4.4.0 on 64 bit x86 SMP
linux-image-4.4.0-31-generic - Linux kernel image for version 4.4.0 on 64 bit x86 SMP
linux-image-4.4.0-31-lowlatency - Linux kernel image for version 4.4.0 on 64 bit x86 SMP
linux-image-4.4.0-34-generic - Linux kernel image for version 4.4.0 on 64 bit x86 SMP
linux-image-4.4.0-34-lowlatency - Linux kernel image for version 4.4.0 on 64 bit x86 SMP
linux-image-4.4.0-36-generic - Linux kernel image for version 4.4.0 on 64 bit x86 SMP
linux-image-4.4.0-36-lowlatency - Linux kernel image for version 4.4.0 on 64 bit x86 SMP
linux-image-4.4.0-38-generic - Linux kernel image for version 4.4.0 on 64 bit x86 SMP
linux-image-4.4.0-38-lowlatency - Linux kernel image for version 4.4.0 on 64 bit x86 SMP
linux-image-4.4.0-42-generic - Linux kernel image for version 4.4.0 on 64 bit x86 SMP
linux-image-4.4.0-42-lowlatency - Linux kernel image for version 4.4.0 on 64 bit x86 SMP
linux-image-4.4.0-43-generic - Linux kernel image for version 4.4.0 on 64 bit x86 SMP
linux-image-4.4.0-43-lowlatency - Linux kernel image for version 4.4.0 on 64 bit x86 SMP
linux-image-4.4.0-45-generic - Linux kernel image for version 4.4.0 on 64 bit x86 SMP
linux-image-4.4.0-45-lowlatency - Linux kernel image for version 4.4.0 on 64 bit x86 SMP
linux-image-4.4.0-47-generic - Linux kernel image for version 4.4.0 on 64 bit x86 SMP
linux-image-4.4.0-47-lowlatency - Linux kernel image for version 4.4.0 on 64 bit x86 SMP
linux-image-4.4.0-51-generic - Linux kernel image for version 4.4.0 on 64 bit x86 SMP
linux-image-4.4.0-51-lowlatency - Linux kernel image for version 4.4.0 on 64 bit x86 SMP
linux-image-4.8.0-28-generic - Linux kernel image for version 4.8.0 on 64 bit x86 SMP
linux-image-4.8.0-28-lowlatency - Linux kernel image for version 4.8.0 on 64 bit x86 SMP
linux-image-extra-4.4.0-22-generic - Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
linux-image-extra-4.4.0-24-generic - Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
linux-image-extra-4.4.0-28-generic - Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
linux-image-extra-4.4.0-31-generic - Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
linux-image-extra-4.4.0-34-generic - Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
linux-image-extra-4.4.0-36-generic - Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
linux-image-extra-4.4.0-38-generic - Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
linux-image-extra-4.4.0-42-generic - Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
linux-image-extra-4.4.0-43-generic - Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
linux-image-extra-4.4.0-45-generic - Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
linux-image-extra-4.4.0-47-generic - Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
linux-image-extra-4.4.0-51-generic - Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
linux-image-extra-4.8.0-28-generic - Linux kernel extra modules for version 4.8.0 on 64 bit x86 SMP
linux-image-extra-virtual-hwe-16.04-edge - Extra drivers for Virtual Linux kernel image
linux-image-generic-hwe-16.04-edge - Generic Linux kernel image
linux-image-lowlatency-hwe-16.04-edge - lowlatency Linux kernel image
linux-image-virtual-hwe-16.04-edge - Virtual Linux kernel image
linux-virtual-hwe-16.04-edge - Minimal Generic Linux kernel and headers
    
por maku_at 03.12.2016 / 12:22

4 respostas

3

Para instalar o linux-image-extra , execute os seguintes comandos:

sudo apt-get update && sudo apt-get upgrade
sudo apt-get install linux-image-4.4.0-51-generic
sudo apt-get install linux-image-extra-4.4.0-51-generic
sudo apt-get install linux-image-extra-virtual
    
por GAD3R 03.12.2016 / 12:54
2

Aqui está minha abordagem para instalar o mecanismo docker , ver se isso ajuda

Eu segui as instruções da página oficial do docker para instalar o motor docker, mas eu enfrentei o mesmo problema que você fez

Então, ignorado para instalar os pacotes linux-image-extra- * e foi em frente para instalar o motor docker

$apt-get install docker-engine

Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 docker-engine : Depends: init-system-helpers (>= 1.18~) but 1.14 is to be installed
                 Depends: lsb-base (>= 4.1+Debian11ubuntu7) but 4.1+Debian11ubuntu6 is to be installed
                 Depends: libdevmapper1.02.1 (>= 2:1.02.97) but 2:1.02.77-6ubuntu2 is to be installed
                 Depends: libltdl7 (>= 2.4.6) but it is not going to be installed
                 Depends: libsystemd0 but it is not installable
                 Recommends: aufs-tools but it is not going to be installed
                 Recommends: cgroupfs-mount but it is not installable or
                             cgroup-lite but it is not going to be installed

Execute o seguinte comando para ver a entrada retornada para cada versão do Docker disponível para instalação.

~# apt-cache policy docker-engine
docker-engine:
  Installed: (none)
  Candidate: 1.12.5-0~ubuntu-xenial
  Version table:
     1.12.5-0~ubuntu-xenial 0
        500 https://apt.dockerproject.org/repo/ ubuntu-xenial/main amd64 Packages
     1.12.5-0~ubuntu-trusty 0
        500 https://apt.dockerproject.org/repo/ ubuntu-trusty/main amd64 Packages
     1.12.4-0~ubuntu-xenial 0
        500 https://apt.dockerproject.org/repo/ ubuntu-xenial/main amd64 Packages

Corri o seguinte comando para instalar uma versão específica do motor docker (De cima: Candidato: 1.12.5-0 ~ ubuntu-xenial)

apt-get install docker-engine=1.12.5-0~ubuntu-xenial

docker instalado com sucesso!

    
por f-society 10.01.2017 / 06:39
2

Você pode precisar instalar alguns extras de imagem do Linux. Execute o comando abaixo e tente novamente:

sudo apt install linux-image-extra-virtual
    
por Hernan Daniel Garcia Sifontes 07.07.2017 / 23:25
0
  

"Não é possível localizar o pacote linux-image-extra-4.4.0-042stab120.11"

Seu sistema não está executando um kernel do Ubuntu, mas um kernel personalizado, construído localmente para aquele host, provavelmente, e seus pacotes do kernel não estão disponíveis para download de nenhum repositório porque foram criados pelo admin e instalados com o dpkg link para detalhes sobre como um kernel personalizado é construído e instalado no Ubuntu e Debian.

    
por Rui Bernardo 03.12.2016 / 13:51

Tags