[Bug 1646562] Re: package python3-cryptography 1.2.3-1ubuntu0.1 failed to install/upgrade: subprocess new pre-removal script returned error exit status 134

Corey Bryant corey.bryant at canonical.com
Thu Dec 1 21:29:09 UTC 2016


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
OpenStack, which is subscribed to python-cryptography in 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

Status in python-cryptography package in Ubuntu:
  Incomplete

Bug description:
  package python3-cryptography 1.2.3-1ubuntu0.1 failed to
  install/upgrade: subprocess new pre-removal script returned error exit
  status 134

  ProblemType: Package
  DistroRelease: Ubuntu 16.04
  Package: python3-cryptography 1.2.3-1ubuntu0.1
  Uname: Linux 3.12.6 x86_64
  NonfreeKernelModules: xt_nat ppp_deflate bsd_comp ppp_mppe ppp_async ppp_generic crc_ccitt slhc tun iscsi_tcp libiscsi_tcp libiscsi scsi_transport_iscsi fbdisk btusb bluetooth ipt_MASQUERADE iptable_filter iptable_nat nf_nat_ipv4 nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_conntrack bonding bridge stp ipv6 8021q uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_core snd_usb_caiaq snd_usb_audio snd_usbmidi_lib snd_seq_midi snd_rawmidi fnotify udf isofs iTCO_wdt rtcmod cryptodev ufsd jnl pl2303 usbserial intel_ips drbd flashcache dm_thin_pool dm_bio_prison dm_persistent_data dm_bufio hal_netlink coretemp igb mpt2sas scsi_transport_sas raid_class usb_storage xhci_hcd usblp uhci_hcd ehci_pci ehci_hcd
  ApportVersion: 2.20.1-0ubuntu2.1
  Architecture: amd64
  Date: Tue Nov 29 10:54:30 2016
  ErrorMessage: subprocess new pre-removal script returned error exit status 134
  RelatedPackageVersions:
   dpkg 1.18.4ubuntu1.1
   apt  1.2.15
  SourcePackage: python-cryptography
  Title: package python3-cryptography 1.2.3-1ubuntu0.1 failed to install/upgrade: subprocess new pre-removal script returned error exit status 134
  UpgradeStatus: No upgrade log present (probably fresh install)

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



More information about the Ubuntu-openstack-bugs mailing list