Comment 2 for bug 1646562

Revision history for this message
Corey Bryant (corey.bryant) wrote :

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