Hi Dave, Thanks for reporting this. Did you upgrade from a prior version of python-cryptography by any chance? It looks like a prerm script is failing on a getrandom() call, however I don't see a prerm script in the xenial package or any other prior releases that I could find. From the attached DpkgTerminalLog.txt:
Preparing to unpack .../python-cryptography_1.2.3-1ubuntu0.1_amd64.deb ... Unpacking python-cryptography (1.2.3-1ubuntu0.1) over (1.2.3-1) ... Preparing to unpack .../python3-cryptography_1.2.3-1ubuntu0.1_amd64.deb ... Fatal Python error: getrandom() failed Aborted dpkg: warning: subprocess old pre-removal script returned error exit status 134 dpkg: trying script from the new package instead ... Fatal Python error: getrandom() failed Aborted dpkg: error processing archive /var/cache/apt/archives/python3-cryptography_1.2.3-1ubuntu0.1_amd64.deb (--unpack): subprocess new pre-removal script returned error exit status 134 ** Changed in: python-cryptography (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1646562 Title: package python3-cryptography 1.2.3-1ubuntu0.1 failed to install/upgrade: subprocess new pre-removal script returned error exit status 134 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-cryptography/+bug/1646562/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs