There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

[Solved] Upgrading to Ubuntu 20.04 broke python and now apt dosn't work.

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

elfpie ,

There was a serious security vulnerability previous to Python 3.11 if I recall correctly. You can use pyenv to manage Python versions though: github.com/pyenv/pyenv

IsoKiero ,

As we don’t have much to work with (error messages from apt/dpkg or anything), at first, try:


<span style="color:#323232;">apt clean
</span><span style="color:#323232;">apt -f install
</span>

and post results.

Ludrol OP ,
@Ludrol@szmer.info avatar

I have rebooted into recovery mode and after connecting to a network it seems that with some warnings, it begun upgrading.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines