Add documentation around package dependencies (#41437)

Documented procedure to handle package dependencies required by
packages which are Ansible dependencies.

Fixes: #30732
Fixes: #16571

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
Abhijeet Kasurde 2018-06-15 20:44:01 +05:30 committed by GitHub
parent d65451fa7b
commit 01cdc22ac6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 16 additions and 1 deletions

View file

@ -159,7 +159,7 @@ Debian/Ubuntu packages can also be built from the source checkout, run:
$ make deb $ make deb
You may also wish to run from source to get the latest, which is covered above. You may also wish to run from source to get the latest, which is covered below.
Latest Releases Via Apt (Debian) Latest Releases Via Apt (Debian)
++++++++++++++++++++++++++++++++ ++++++++++++++++++++++++++++++++
@ -395,6 +395,8 @@ bugs and feature ideas.
Examples of basic commands Examples of basic commands
:ref:`working_with_playbooks` :ref:`working_with_playbooks`
Learning ansible's configuration management language Learning ansible's configuration management language
:ref:`installation_faqs`
Ansible Installation related to FAQs
`Mailing List <http://groups.google.com/group/ansible-project>`_ `Mailing List <http://groups.google.com/group/ansible-project>`_
Questions? Help? Ideas? Stop by the list on Google Groups Questions? Help? Ideas? Stop by the list on Google Groups
`irc.freenode.net <http://irc.freenode.net>`_ `irc.freenode.net <http://irc.freenode.net>`_

View file

@ -131,6 +131,19 @@ requires Python 2, you can also report a bug on our `bug tracker
Do not replace the shebang lines of your python modules. Ansible will do this for you automatically at deploy time. Do not replace the shebang lines of your python modules. Ansible will do this for you automatically at deploy time.
.. _installation_faqs:
How do I handle the package dependencies required by Ansible package dependencies during Ansible installation ?
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
While installing Ansible, sometimes you may encounter errors such as `No package 'libffi' found` or `fatal error: Python.h: No such file or directory`
These errors are generally caused by the missing packages which are dependencies of the packages required by Ansible.
For example, `libffi` package is dependency of `pynacl` and `paramiko` (Ansible -> paramiko -> pynacl -> libffi).
In order to solve these kinds of dependency issue, you may need to install required packages using the OS native package managers (e.g., `yum`, `dnf` or `apt`) or as mentioned in the package installation guide.
Please refer the documentation of the respective package for such dependencies and their installation methods.
Common Platform Issues Common Platform Issues
++++++++++++++++++++++ ++++++++++++++++++++++