Problem on Installing Ansible on 18.04 Lts

What I did:

sudo apt-add-repository ppa:ansible/ansible ; sudo apt update ; sudo apt install ansible

Error message:

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 : Depends: python-paramiko but it is not installable
E: Unable to correct problems, you have held broken packages.

Description:
As you see, the problem is with the python-paramiko package. I tried to install the required package but it hasn't solved the problem.


In addition, none of the following related questions solved the problem.

Thanks in advance.

Sarah Jenkins

Sarah Jenkins

Senior Technology Editor & AI Specialist

Sarah Jenkins is a veteran tech journalist with over 12 years of experience covering artificial intelligence, mobile innovations, and digital ethics. Her insights have appeared in leading technology publications worldwide.

Share this article