[Bug 1784796] Re: apt update fails - 'std::runtime_error' what(): random_device::__x86_rdrand(void)

Julian Andres Klode julian.klode at canonical.com
Thu Jun 6 11:14:48 UTC 2019


This should really only be an issue early during boot, or if you require
a lot of randomness. So I guess wait, use your keyboard a lot, generate
a lot of network traffic? Or manually inject randomness? I don't really
know, and it's out of scope for the bug report to discuss this - you
might want to ask in one of the user support channels (forums, irc,
mailing lists).

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

Title:
  apt update fails - 'std::runtime_error' what():
  random_device::__x86_rdrand(void)

Status in apt package in Ubuntu:
  Fix Released

Bug description:
  I am seeing the following error randomly on issuing sudo apt update:

   Get:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [65.4 kB]
   0% [1 InRelease gpgv 69.9 kB] [3 InRelease 7,779 B/65.4 kB  12%]terminate called after throwing an instance of 'std::runtime_error'
     what():  random_device::__x86_rdrand(void)
   Aborted

  Once this occurs, it normally takes at least one, but frequently more
  than one reboot to resolve. It only happens on one of my systems - a
  self-build server based on Asrock Rack motherboard C3758D4I-4L running
  Ubuntu server.

  I've observed the same issue on the same hardware with the Ubuntu
  18.04.1 live ISO. I'm booting in Legacy mode.

  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: apt 1.6.3
  ProcVersionSignature: Ubuntu 4.15.0-29.31-generic 4.15.18
  Uname: Linux 4.15.0-29-generic x86_64
  ApportVersion: 2.20.9-0ubuntu7.2
  Architecture: amd64
  Date: Wed Aug  1 08:37:28 2018
  InstallationDate: Installed on 2018-04-28 (94 days ago)
  InstallationMedia: Ubuntu-Server 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_GB.UTF-8
   SHELL=/bin/bash
  SourcePackage: apt
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1784796/+subscriptions



More information about the foundations-bugs mailing list