Trying to provision on ubuntu 22.04 - No package matching 'python' is available

No package matching ‘python’ is available

failed: [161.35.226.85] (item=python) => {“ansible_loop_var”: “item”, “changed”: false, “item”: {“key”: “python”, “value”: “present”}}

Looks like python deb package is python3,
I set python → python3 in trellis/roles/common/defaults/main.yml, and in worked.

1 Like

Glad you got it fixed :+1:

Just a note that Trellis has handled this properly for at least a few years now so I’m assuming your project was quite old?

@dylanlawrence I apologize for hijacking your thread. Did you do anything special to make Trellis work (init/provision/deploy) on your 22.04 install? For the life of me, I can’t get it to work because I’m unable to interfere with the Python 3.10 that gets installed automatically.