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

  • IsoKiero@sopuli.xyz
    link
    fedilink
    English
    arrow-up
    0
    ·
    2 months ago

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

    apt clean
    apt -f install
    

    and post results.

    • Ludrol@szmer.infoOP
      link
      fedilink
      arrow-up
      0
      ·
      2 months ago

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