|JP Vossen on 21 May 2016 15:14:51 -0700|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
|[PLUG] Ansible 22.214.171.124 on Debian 8|
$ sudo pip install --upgrade ansibleBut today it suddenly failed all over the place for Ansible 126.96.36.199 on Debian 8.
Long story short: $ sudo apt-get install python-dev libffi-dev libssl-dev $ pip install --ignore-installed ansibleI might have been able to just do another `sudo pip install --upgrade ansible` for that last command, but by then I'd done a whole lot of other things thrashing around trying to figure it out, so...
Errors at various times in the process included:* build/temp.linux-x86_64-2.7/check_libyaml.c:2:18: fatal error: yaml.h: No such file or directory
* src/MD2.c:31:20: fatal error: Python.h: No such file or directory * c/_cffi_backend.c:15:17: fatal error: ffi.h: No such file or directory* build/temp.linux-x86_64-2.7/_openssl.c:423:30: fatal error: openssl/opensslv.h: No such file or directory
It seems to be something about Paramiko changing dependencies, but I never found anything that fully answered my problem. I pieced the above together from: * http://www.cyberciti.biz/faq/debian-ubuntu-linux-python-h-file-not-found-error-solution/ * http://stackoverflow.com/questions/11596839/installing-pycrypto-on-ubuntu-fatal-error-on-build * https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!msg/ansible-project/dFRlLiUI4PA/qsO3y4czDAAJ
* https://bugs.launchpad.net/congress/+bug/1503095Note I was upgrading because I usually hit https://github.com/ansible/ansible/issues/13876 on at least 1 machine per weekend update of only 16 hosts, not a great stat. A re-run for that host works, but I shouldn't have to do that... I guess I'll see if that worked next weekend.
Later, JP -- ------------------------------------------------------------------- JP Vossen, CISSP | http://www.jpsdomain.org/ | http://bashcookbook.com/ ___________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug