Hi Robbie,
this is due to the ansible template module being incompatible with jinja2
v2.9. We are aware of this problem [0], and it has already been reported
upstream [1]. I know this is annoying, but at least it stops people upgrading
from stable to testing/unstable to break their ansible installations. As a
workaround you can downgrade python-jinja2 to the version in stable. There
seems to be a patch available since a couple of hours, but I haven't got
around to test it yet.
Regards,
Lee
[0] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=870599
[1] https://github.com/ansible/ansible/issues/20494
On 09/08/17 15:27, Robbie Harwood wrote:
> Package: ansible
> Version: 2.3.1.0+dfsg-1
> Severity: grave
> Justification: renders package unusable
>
> Dear Maintainer,
>
> ansible-2.3.1.0+dfsg-1 depends on python-jinja2 < 2.9. However, this is not
> available in testing/unstable/experimental. As a result,
> ansible-2.3.1.0+dfsg-1 is uninstallable, and its migration from unstable has
> been blocked.
>
> Thanks,
> --Robbie
>
> -- System Information:
> Debian Release: buster/sid
> APT prefers testing-debug
> APT policy: (600, 'testing-debug'), (600, 'testing'), (400,
> 'unstable-debug'), (400, 'unstable'), (200, 'experimental-debug'), (200,
> 'experimental')
> Architecture: amd64 (x86_64)
> Foreign Architectures: i386
>
> Kernel: Linux 4.11.0-1-rt-amd64 (SMP w/4 CPU cores; PREEMPT)
> Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
> LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> Init: sysvinit (via /sbin/init)
>
> Versions of packages ansible depends on:
> ii python2.7.13-2
> ii python-crypto 2.6.1-7+b1
> ii python-httplib2 0.9.2+dfsg-1
> ii python-jinja2 2.9.6-1
> ii python-netaddr0.7.18-2
> ii python-paramiko 2.0.0-1
> ii python-pkg-resources 36.0.1-1
> ii python-yaml 3.12-1+b1
>
> Versions of packages ansible recommends:
> ii python-kerberos 1.1.5-2+b3
> ii python-selinux2.6-3+b2
> pn python-winrm
> ii python-xmltodict 0.11.0-1
>
> Versions of packages ansible suggests:
> pn cowsay
> pn sshpass
>
> -- no debconf information
>