The issue occurs because the patch sets Py_NoUserSiteDirectory. I'm
currently looking into a fix.

For a temporary workaround, you can `sudo apt install libpam-
python=1.0.4-1` and then pin the package version by following the steps
here: https://serverfault.com/questions/435132/how-to-version-lock-
packages-in-ubuntu

Please note that reverting to 1.0.4-1 will leave you vulnerable to
CVE-2019-16729 (https://people.canonical.com/~ubuntu-
security/cve/2019/CVE-2019-16729.html), and pinning the package will
prevent any future security updates or bug fixes from being installed on
your system.

** CVE added: https://cve.mitre.org/cgi-bin/cvename.cgi?name=2019-16729

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1901606

Title:
  security update broke module import in libpam-python, "from httplib2
  import Http" fails now

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pam-python/+bug/1901606/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to