# Ubuntu apt cannot install ansible 2.10 from latest official ppa

**URL:** <https://forum.ansible.com/t/ubuntu-apt-cannot-install-ansible-2-10-from-latest-official-ppa/35077>\
**Category:** Ansible Project\
**Tags:** ubuntu\
**Created:** [April 28, 2021, 11:16am UTC](https://forum.ansible.com/t/ubuntu-apt-cannot-install-ansible-2-10-from-latest-official-ppa/35077 "2021-04-28T11:16:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Oleh\_Steblyna](https://avatars.discourse-cdn.com/v4/letter/o/6de8d8/32.png) [@Oleh\_Steblyna](https://forum.ansible.com/u/Oleh_Steblyna)\
**Post date:** [April 28, 2021, 11:16am UTC](https://forum.ansible.com/t/ubuntu-apt-cannot-install-ansible-2-10-from-latest-official-ppa/35077/1 "2021-04-28T11:16:20Z")

</div>

$ lsb\_release -a  
No LSB modules are available.  
Distributor ID: Ubuntu  
Description: **Ubuntu 18.04.5 LTS**  
Release: 18.04  
Codename: bionic

$ sudo apt-get update  
**Hit:1 [http://ppa.launchpad.net/ansible/ansible-2.10/ubuntu](http://ppa.launchpad.net/ansible/ansible-2.10/ubuntu) bionic InRelease**  
Hit:2 [https://apt.releases.hashicorp.com](https://apt.releases.hashicorp.com) bionic InRelease  
Hit:3 [http://ppa.launchpad.net/deadsnakes/ppa/ubuntu](http://ppa.launchpad.net/deadsnakes/ppa/ubuntu) bionic InRelease  
Hit:4 [https://download.docker.com/linux/ubuntu](https://download.docker.com/linux/ubuntu) bionic InRelease  
Hit:5 [http://ppa.launchpad.net/git-core/ppa/ubuntu](http://ppa.launchpad.net/git-core/ppa/ubuntu) bionic InRelease  
Hit:6 [http://us.archive.ubuntu.com/ubuntu](http://us.archive.ubuntu.com/ubuntu) bionic InRelease  
Hit:7 [http://security.ubuntu.com/ubuntu](http://security.ubuntu.com/ubuntu) bionic-security InRelease  
Hit:8 [http://us.archive.ubuntu.com/ubuntu](http://us.archive.ubuntu.com/ubuntu) bionic-updates InRelease  
Hit:9 [http://us.archive.ubuntu.com/ubuntu](http://us.archive.ubuntu.com/ubuntu) bionic-backports InRelease  
Reading package lists… Done

$ sudo apt-cache policy ansible  
ansible:  
Installed: (none)  
Candidate: 2.5.1+dfsg-1ubuntu0.1  
Version table:  
**2.9.20** -1ppa~bionic -1  
100 /var/lib/dpkg/status  
2.5.1+dfsg-1ubuntu0.1 500  
500 [http://us.archive.ubuntu.com/ubuntu](http://us.archive.ubuntu.com/ubuntu) bionic-updates/universe amd64 Packages  
500 [http://us.archive.ubuntu.com/ubuntu](http://us.archive.ubuntu.com/ubuntu) bionic-updates/universe i386 Packages  
500 [http://security.ubuntu.com/ubuntu](http://security.ubuntu.com/ubuntu) bionic-security/universe amd64 Packages  
500 [http://security.ubuntu.com/ubuntu](http://security.ubuntu.com/ubuntu) bionic-security/universe i386 Packages  
2.5.1+dfsg-1 500  
500 [http://us.archive.ubuntu.com/ubuntu](http://us.archive.ubuntu.com/ubuntu) bionic/universe amd64 Packages  
500 [http://us.archive.ubuntu.com/ubuntu](http://us.archive.ubuntu.com/ubuntu) bionic/universe i386 Packages

Ansible 2.10 is not available in official package? What am I doing wrong?

---

<div class="post-metadata">

**Author:** ![Paul\_Jaros](https://avatars.discourse-cdn.com/v4/letter/p/e480ec/32.png) [@Paul\_Jaros](https://forum.ansible.com/u/Paul_Jaros)\
**Post date:** [April 30, 2021, 11:04am UTC](https://forum.ansible.com/t/ubuntu-apt-cannot-install-ansible-2-10-from-latest-official-ppa/35077/2 "2021-04-30T11:04:23Z")

</div>

I’m also running Ubuntu 18.04. As ansible is a python package you can update via python like this

pip3 install --user --upgrade pip  
pip3 install --user ansible  
hash -r

You then get:

$ ansible --version  
ansible 2.10.8  
config file = /home/user/git/ansible-win/ansible.cfg  
configured module search path = [‘/home/user/.ansible/plugins/modules’, ‘/usr/share/ansible/plugins/modules’]  
ansible python module location = /home/user/.local/lib/python3.6/site-packages/ansible  
executable location = /home/user/.local/bin/ansible  
python version = 3.6.9 (default, Jan 26 2021, 15:33:00) [GCC 8.4.0]
