- when performing the standard
sudo apt update
and installing a package often you might see an error message that stating it failed to fetch the package due to checksum mismatch - upon further researh on the ubuntu forms, the issues seems to be related to SHA256 optimization introduced from libcrypt20
sudo su -
apt-get clean
rm -rf /var/lib/apt/lists/*
apt-get update -o Acquire::CompressionTypes::Order::=gz
mkdir /etc/gcrypt
echo all >> /etc/gcrypt/hwf.deny
- the
/etc/gcrypt/hwf.deny
file disables specific hardware features of the the gcrypt component of gnupg. - essentially this solution disable the optimization causing the checksum mismatch.