GNU TLS Logo

Error in GnuTLS initialization with Debian Hurd

Posted by

This evening I have reinstalled Debian GNU/Hurd, using VirtualBox. After starting in safe mode, I have tried to update it and I got the following error:

root@debian:/home/debian# apt update
Error in GnuTLS initialization: Failed to acquire random data.
Error in GnuTLS initialization: Failed to acquire random data.
Hit:1 http://deb.debian.org/debian-ports unreleased InRelease

To fix it, run:

settrans -c /dev/urandom /hurd/random --seed-file /var/run/urandom-seed --fast
chmod 0644 /dev/urandom

Now it’s working 🙂

root@debian:/home/debian# apt update
Hit:1 http://deb.debian.org/debian-ports unreleased InRelease
Reading package lists... Done
Building dependency tree       
Reading state information... Done
2 packages can be upgraded. Run 'apt list --upgradable' to see them.

Leave a Reply

Your email address will not be published. Required fields are marked *