AKZN Notes

Archives for My Lazy and Forgetful Mind

Windows Ubuntu Virtual Box Update Hash Sum Missmatch Fix

On installing Ubuntu as guest from Windows Host, if you got an error Update Hash Sum Missmatch Fix, this is a fix for that

Based on https://askubuntu.com/a/1242739

Try this before running apt:

$ sudo bash
# mkdir /etc/gcrypt
# echo all >> /etc/gcrypt/hwf.deny

Because apt use sha256 method from libgcrypto20, but optimized too much. We can deny this opt. using configuration file /etc/gcrypt/hwf.deny.

Then run apt update` and ` apt upgrade as usual

Leave a Reply

Your email address will not be published.