Depurar apt / Instalando Docker - Não é possível localizar o pacote docker-ce

0

Eu segui as instruções oficiais para o Docker instalação - Debian Jessie.

  • Em /etc/apt/sources.list diz agora,

    deb [arch=amd64] https://download.docker.com/linux/debian jessie stable

  • apt-get update parece baixar os pacotes corretamente (saída abaixo)

  • mas, em apt-get install docker-ce , o sistema informa que "não foi possível localizar o pacote docker-ce".

Como posso depurar o que está acontecendo? Nunca tive isso antes.

Saída de apt-get update :

Hit http://packages.dotdeb.org jessie InRelease
Hit http://security.debian.org jessie/updates InRelease
Hit http://packages.dotdeb.org jessie/all Sources
Hit http://security.debian.org jessie/updates/main Sources
Hit http://security.debian.org jessie/updates/contrib Sources
Hit http://packages.dotdeb.org jessie/all i386 Packages
Hit http://security.debian.org jessie/updates/main i386 Packages
Hit http://security.debian.org jessie/updates/contrib i386 Packages
Hit http://security.debian.org jessie/updates/contrib Translation-en
Hit https://download.docker.com jessie InRelease
Hit http://security.debian.org jessie/updates/main Translation-en
Ign http://http.debian.net jessie InRelease
Hit https://download.docker.com jessie/stable amd64 Packages
Hit http://http.debian.net jessie-updates InRelease
Hit http://http.debian.net jessie Release.gpg
Get:1 https://download.docker.com jessie/stable Translation-en_US [587 B]
Ign http://packages.dotdeb.org jessie/all Translation-en_US
Ign http://packages.dotdeb.org jessie/all Translation-en
Hit http://http.debian.net jessie-updates/main Sources
Get:2 https://download.docker.com jessie/stable Translation-en [584 B]
Hit http://http.debian.net jessie-updates/contrib Sources
Get:3 https://download.docker.com jessie/stable Translation-en_US [587 B]
Get:4 http://http.debian.net jessie-updates/main i386 Packages/DiffIndex [8,884 B]
Get:5 https://download.docker.com jessie/stable Translation-en [584 B]
Hit http://http.debian.net jessie-updates/contrib i386 Packages
Hit http://http.debian.net jessie-updates/contrib Translation-en
Get:6 https://download.docker.com jessie/stable Translation-en_US [587 B]
Get:7 http://http.debian.net jessie-updates/main Translation-en/DiffIndex [3,688 B]
Get:8 https://download.docker.com jessie/stable Translation-en [584 B]
Hit http://http.debian.net jessie Release
Get:9 https://download.docker.com jessie/stable Translation-en_US [587 B]
Hit http://http.debian.net jessie/main Sources
Get:10 https://download.docker.com jessie/stable Translation-en [584 B]
Hit http://http.debian.net jessie/contrib Sources
Hit http://http.debian.net jessie/main i386 Packages
Get:11 https://download.docker.com jessie/stable Translation-en_US [587 B]
Ign https://download.docker.com jessie/stable Translation-en_US
Hit http://http.debian.net jessie/contrib i386 Packages
Hit http://http.debian.net jessie/contrib Translation-en
Hit http://http.debian.net jessie/main Translation-en
Get:12 https://download.docker.com jessie/stable Translation-en [584 B]
Ign https://download.docker.com jessie/stable Translation-en
    
por J. Doe 22.09.2017 / 07:20

1 resposta

0

Para instalar o docker-ce no debian jessie:

Depois de adicionar deb [arch=amd64] https://download.docker.com/linux/debian jessie stable ao seu /etc/sources.list . (você não precisa do pacote software-properties-common ou do comando add-apt-repository )

Instale o pacote necessário:

sudo apt-get update
sudo apt-get install apt-transport-https ca-certificates curl

Adicione a chave gpg :

curl -fsSl https://download.docker.com/linux/debian/gpg | sudo apt-get key add -

Atualize e pesquise docker-ce package:

sudo apt-get update
apt-cache search docker-ce

Em seguida, instale o pacote docker-ce :

sudo apt-get install docker-ce
    
por 22.09.2017 / 12:28