I'm trying to install Ansible using sudo apt-get install ansible
, but I'm getting the following output:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
ansible-core : Depends: python3-jinja2 but it is not installable
Depends: python3-packaging but it is not installable
Depends: python3-resolvelib but it is not installable
Recommends: sshpass but it is not installable
E: Unable to correct problems, you have held broken packages.
How can I install Ansible?