Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

E: Unable to locate package apt-transport-https #27

Open
johanatan opened this issue Jul 5, 2016 · 1 comment
Open

E: Unable to locate package apt-transport-https #27

johanatan opened this issue Jul 5, 2016 · 1 comment

Comments

@johanatan
Copy link

Jonathans-MacBook-Pro:dockenstack jonathan$ docker build -t ewindisch/dockenstack dockenstack 
Sending build context to Docker daemon 22.02 kB
Sending build context to Docker daemon 
Step 1 : FROM ubuntu:trusty
 ---> 38c759202e30
Step 2 : MAINTAINER Eric Windisch "[email protected]"
 ---> Using cache
 ---> c05de268b27b
Step 3 : EXPOSE 80 5000 8773 8774 8776 9292
 ---> Using cache
 ---> e182bbb7e8bb
Step 4 : ENV DEBIAN_FRONTEND "noninteractive"
 ---> Using cache
 ---> 5de56c28f834
Step 5 : RUN apt-get install -qqy apt-transport-https; apt-key adv --keyserver "hkp://keyserver.ubuntu.com:80" --recv-keys 36A1D7869245C8950F966E92D8576A8BA88D21E9;     echo 'deb http://get.docker.io/ubuntu docker main' > /etc/apt/sources.list.d/docker.list;     apt-get update;     apt-get install -qqy lxc-docker
 ---> Running in 606458730d3c
E: Unable to locate package apt-transport-https
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --homedir /tmp/tmp.lXvQbRJQXf --no-auto-check-trustdb --trust-model always --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 36A1D7869245C8950F966E92D8576A8BA88D21E9
gpg: requesting key A88D21E9 from hkp server keyserver.ubuntu.com
gpg: key A88D21E9: public key "Docker Release Tool (releasedocker) <[email protected]>" imported
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)
E: The method driver /usr/lib/apt/methods/https could not be found.
E: Unable to locate package lxc-docker
The command '/bin/sh -c apt-get install -qqy apt-transport-https; apt-key adv --keyserver "hkp://keyserver.ubuntu.com:80" --recv-keys 36A1D7869245C8950F966E92D8576A8BA88D21E9;     echo 'deb http://get.docker.io/ubuntu docker main' > /etc/apt/sources.list.d/docker.list;     apt-get update;     apt-get install -qqy lxc-docker' returned a non-zero code: 100
@AEcomp
Copy link

AEcomp commented Mar 21, 2018

Hello,
did you already do

apt-get update

before apt-get install

https://github.com/raintank/raintank-docker/issues/72

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants