Entropy depletion prevents apt update

Bug #1827184 reported by David Haggett on 2019-05-01

This bug report will be marked for expiration in 7 days if no further activity occurs. (find out why)

This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux-signed-hwe (Ubuntu)

Bug Description

Invoking "sudo apt update" from the CLI produces the following output:

david@srvbuntu:~$ sudo apt update
Hit:2 http://ppa.launchpad.net/iconnor/zoneminder-1.32/ubuntu bionic InRelease
Hit:3 http://archive.ubuntu.com/ubuntu bionic InRelease
Get:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Hit:5 http://ppa.launchpad.net/uroni/urbackup/ubuntu bionic InRelease
Get:4 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
0% [2 InRelease gpgv 20.7 kB]terminate called after throwing an instance of 'std::runtime_error'
  what(): random_device::__x86_rdrand(void)

The error appears every time an update command is issued, but is not associated with a particular repository. This is not a totally new error, but has resurfaced since the last kernel update. I can't update my system (18.04 LTS)

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: linux-image-4.18.0-18-generic 4.18.0-18.19~18.04.1
ProcVersionSignature: Ubuntu 4.18.0-18.19~18.04.1-generic 4.18.20
Uname: Linux 4.18.0-18-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.6
Architecture: amd64
Date: Wed May 1 09:14:11 2019
InstallationDate: Installed on 2018-04-28 (367 days ago)
InstallationMedia: Ubuntu-Server 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
 PATH=(custom, no user)
SourcePackage: linux-signed-hwe
UpgradeStatus: No upgrade log present (probably fresh install)

David Haggett (m-dw) wrote :
Po-Hsu Lin (cypressyew) wrote :

can you try to install package "haveged" to see if this helps?
You can check the entropy availability before and after installing this package with command:
cat /proc/sys/kernel/random/entropy_avail

Changed in linux-signed-hwe (Ubuntu):
status: New → Incomplete
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers