Indeed thanks Stefan and Utkarsh, also with that known one can see that the build of libapache2-mod-python was done against 2.7.17-1ubuntu5. See: https://launchpad.net/ubuntu/+source/libapache2-mod-python/3.3.1-11ubuntu5 https://launchpadlibrarian.net/464118415/buildlog_ubuntu-focal-amd64.libapache2-mod-python_3.3.1-11ubuntu5_BUILDING.txt.gz
@Utkarsh - Somewhat independent to the case here I wonder if this has a strong dependency to 2.7.17 or 2.7.18 (as the error indicates) if the package dependencies to "libpython2.7 (>= 2.7)" are sufficient. >=2.7 seems wrong, even >2.7.17 would be wrong as we have 2.7.18 and it fails. Almost like =2.7.17 (or on rebuild =2.7.18). Once the immediate case is resolved it might be worth spending a bit of time to look if dh-python or libapache2-mod-python needs a fix here to create better package dependencies. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1919923 Title: mod_python statically linked to wrong python 2.7 version To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libapache2-mod-python/+bug/1919923/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs