Navigation Menu

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

Can't install libssl-dev on this Docker image #1

Closed
geerlingguy opened this issue Sep 15, 2016 · 2 comments
Closed

Can't install libssl-dev on this Docker image #1

geerlingguy opened this issue Sep 15, 2016 · 2 comments

Comments

@geerlingguy
Copy link
Owner

See details here: gplessis/dotdeb-php#146

Basically, the following works (from the official Debian image):

  1. docker pull debian:jessie
  2. docker run --detach --privileged --volume=/sys/fs/cgroup:/sys/fs/cgroup:ro debian:jessie /lib/systemd/systemd
  3. docker exec --tty [id] env TERM=xterm apt-get -y update
  4. docker exec --tty [id] env TERM=xterm apt-get -y install libssl-dev

While the following doesn't (using this Docker image):

  1. docker pull geerlingguy/docker-debian8-ansible:latest
  2. docker run --detach --privileged --volume=/sys/fs/cgroup:/sys/fs/cgroup:ro geerlingguy/docker-debian8-ansible:latest /lib/systemd/systemd
  3. docker exec --tty [id] env TERM=xterm apt-get -y update
  4. docker exec --tty [id] env TERM=xterm apt-get -y install libssl-dev

The latter results in:

$ docker exec --tty 3c808f66 env TERM=xterm apt-get -y install libssl-dev
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:
 libssl-dev : Depends: libssl1.0.0 (= 1.0.1t-1+deb8u2) but 1.0.2h-1~bpo8+2 is to be installed
              Recommends: libssl-doc but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
@geerlingguy
Copy link
Owner Author

It looks like the version that's already present is installed as part of the image's ansible install, which requires libssl1.0.0... hmm, don't know if I can resolve this easily :/

@geerlingguy
Copy link
Owner Author

Ah, I just realized it's probably because I'm building from the jessie-backports repo... which has different versions for a lot of things. Ugh.

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

1 participant