Bug #113527 Hash Sum mismatch
Submitted: 29 Dec 2023 16:17 Modified: 4 Jan 16:07
Reporter: Teddy Brewski Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Installing Severity:S3 (Non-critical)
Version:8.0.35-1debian12 OS:Debian (12.4)
Assigned to: Sreedhar Sreedhargadda CPU Architecture:x86

[29 Dec 2023 16:17] Teddy Brewski
Description:
Hello,

Since 2-3 days I get 'Hash Sum mismatch' errors while trying to install the latest MySQL community release:

# cat /etc/debian_version 
12.4

# uname -a
Linux PLAB01 6.1.0-15-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.66-1 (2023-12-09) x86_64 GNU/Linux

# dpkg -l | grep mysql
ii  mysql-apt-config                0.8.29-1                                all          Auto configuration for MySQL APT Repo.

# apt-get install mysql-server
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  libmecab2 libnuma1 mecab-ipadic mecab-ipadic-utf8 mecab-utils mysql-client mysql-common mysql-community-client mysql-community-client-core mysql-community-client-plugins mysql-community-server mysql-community-server-core psmisc
The following NEW packages will be installed:
  libmecab2 libnuma1 mecab-ipadic mecab-ipadic-utf8 mecab-utils mysql-client mysql-common mysql-community-client mysql-community-client-core mysql-community-client-plugins mysql-community-server mysql-community-server-core mysql-server psmisc
0 upgraded, 14 newly installed, 0 to remove and 0 not upgraded.
Need to get 67.5 kB/42.6 MB of archives.
After this operation, 359 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://repo.mysql.com/apt/debian bookworm/mysql-8.0 amd64 mysql-common amd64 8.0.35-1debian12 [67.5 kB]
Err:1 http://repo.mysql.com/apt/debian bookworm/mysql-8.0 amd64 mysql-common amd64 8.0.35-1debian12
  Hash Sum mismatch
  Hashes of expected file:
   - SHA256:4f7acf1527b7100e31a7d4f7bf8bc605b3837c8ddbe7e9949235eed13592d4ae
   - SHA1:92208a912fe560d3a237679631e6f29545a489c1 [weak]
   - MD5Sum:dd5bb764fd4d10fd9759d710470093dc [weak]
   - Filesize:67456 [weak]
  Hashes of received file:
   - SHA256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
   - SHA1:da39a3ee5e6b4b0d3255bfef95601890afd80709 [weak]
   - MD5Sum:d41d8cd98f00b204e9800998ecf8427e [weak]
   - Filesize:0 [weak]
  Last modification reported: Sat, 21 Oct 2023 18:13:24 +0000
E: Failed to fetch http://repo.mysql.com/apt/debian/pool/mysql-8.0/m/mysql-community/mysql-common_8.0.35-1deb...  Hash Sum mismatch
   Hashes of expected file:
    - SHA256:4f7acf1527b7100e31a7d4f7bf8bc605b3837c8ddbe7e9949235eed13592d4ae
    - SHA1:92208a912fe560d3a237679631e6f29545a489c1 [weak]
    - MD5Sum:dd5bb764fd4d10fd9759d710470093dc [weak]
    - Filesize:67456 [weak]
   Hashes of received file:
    - SHA256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
    - SHA1:da39a3ee5e6b4b0d3255bfef95601890afd80709 [weak]
    - MD5Sum:d41d8cd98f00b204e9800998ecf8427e [weak]
    - Filesize:0 [weak]
   Last modification reported: Sat, 21 Oct 2023 18:13:24 +0000
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

How to repeat:
# apt-get update
# apt-get install mysql-server
[3 Jan 13:59] Sreedhar Sreedhargadda
Hello,

Can you check its still happening to you.
I am not able to duplicate this issue on our box.

I guess it might be some random/temporary networking issues either for you or us.
[4 Jan 15:05] Teddy Brewski
Thank you -- it's fine now. I think it's a false alarm on our side (we're using proxy with apt).

The bug can be closed.
[4 Jan 16:07] Sreedhar Sreedhargadda
received feedback to close this bug.