Same problem - when trying to install ansible via apt:

Preparing to unpack .../ansible_2.0.0.2-2ubuntu1.3+esm5_all.deb ...
Unpacking ansible (2.0.0.2-2ubuntu1.3+esm5) ...
Processing triggers for man-db (2.7.5-1ubuntu0.1~esm1) ...
Setting up ansible (2.0.0.2-2ubuntu1.3+esm5) ...
Sorry: IndentationError: unexpected indent (__init__.py, line 2)
dpkg: error processing package ansible (--configure):
 subprocess installed post-installation script returned error exit status 101
Errors were encountered while processing:
 ansible
E: Sub-process /usr/bin/dpkg returned an error code (1)


Looks like the problem may be in:

usr/lib/python2.7/dist-packages/ansible/module_utils/six/__init__.py

...which seems like it may have been truncated; the copy in the deb
seems to start hundreds of lines in when compared to e.g.

https://github.com/ansible/ansible/blob/devel/lib/ansible/module_utils/six/__init__.py

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2101945

Title:
  ansible (2.0.0.2-2ubuntu1.3+esm5) fails to install

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ansible/+bug/2101945/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to