I wanted to make VirtualBox kernel module working so
Upgraded kernel from 6.6.7 -> 6.9.9.
Two libraries were missing ( libelf1t64
and libssl3t64
) so
I begun to upgrade the ubuntu from 23.10 to 24.02
ModuleNotFoundError: No module named 'apt_pkg'
apt now is broken and I can’t add a PPA to install a python3.8 or build from source as I can’t resolve dependencies in package manager.
only python3.11 and python3.12 are installed
There was a serious security vulnerability previous to Python 3.11 if I recall correctly. You can use pyenv to manage Python versions though: https://github.com/pyenv/pyenv