From deadsnakes at http://ppa.launchpad.net/deadsnakes/ppa/ubuntu the libpython3.9-stdlib depends on libmpdec2, but that is not available on 22.04 LTS (jammy) as far as I can tell, see https://packages.ubuntu.com/search?keywords=libmpdec2. The page displays that libmpdec2 is available for 18.04 LTS and 20.04 LTS. What is to do in this case?
libmpdec2 is superceded by libmpdec3.
You have linked directly to the filesystem of the PPA, and not the PPA itself. This makes me suspect that you're grabbing debs and installing them manually, rather than adding the repo properly and using
apt
? This could be the cause of your problems. It's absolutely not the way to install packages from PPAs.I just spun up a 22.04 container and added the PPA correctly via:
sudo add-apt-repository ppa:deadsnakes/ppa
Then installed python3.9 via:
apt install python3.9
It works fine.
All the right packages installed:
Testing: