When I build my dockerfile, which does the following:
FROM debian:jessie
...
RUN echo "deb http://ppa.launchpad.net/ansible/ansible/ubuntu trusty main" > /etc/apt/sources.list \
&& apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 93C4A3FD7BB9C367 \
&& apt-get update \
&& apt-get install ansible
I get:
The following packages have unmet dependencies:
ansible : Depends: python-jinja2 but it is not installable
Depends: python but it is not installable
Depends: python-yaml but it is not installable
Depends: python-paramiko but it is not installable
Depends: python-httplib2 but it is not installable
Depends: python-six but it is not installable
Depends: python-crypto (>= 2.6) but it is not installable
Depends: python-setuptools but it is not installable
Depends: sshpass but it is not installable
Depends: python-pkg-resources but it is not installable
Shouldn't the process of installing ansible already install these packages? I'm kinda noob into this, but as I know, one package can list dependencies for other packages, so why these aren't installing automatically? Shouldn't debian also come with python at least?
I've put them into the apt-get script and it worket, but shouldn't it be automatic? What if a new ansible package in the ppa requires more packages? It'd break my dockerfile