[Bug 1785778] Re: Hash Sum mismatch Ubuntu Server 18.04.1 LTS

Sencer HAMARAT sencerhamarat at gmail.com
Thu May 30 08:14:31 UTC 2019


Today I got same issue and @pujanm's suggestion is solved the problem.

# apt-get update
Get:1 http://archive.ubuntu.com/ubuntu bionic InRelease [242 kB]
Get:2 http://security.ubuntu.com/ubuntu bionic-security InRelease [88,7 kB]                                                                                                                                                                  
Get:3 https://repo.skype.com/deb stable InRelease [4.487 B]                                                                                                                                                                                  
Ign:4 http://dl.google.com/linux/chrome/deb stable InRelease                                                                                                                                                                                 
Get:5 http://archive.canonical.com/ubuntu bionic InRelease [10,2 kB]                                                                                                                                                                         
Ign:6 http://repo.vivaldi.com/stable/deb stable InRelease                                                                                                                                                                                    
Get:7 http://dl.google.com/linux/chrome/deb stable Release [943 B]                                                                                                                                                                           
Get:8 http://repo.vivaldi.com/stable/deb stable Release [3.831 B]                                                                                                                                                                            
Get:9 http://repo.vivaldi.com/stable/deb stable Release.gpg [833 B]                                                                                                                                                                         
Get:10 http://archive.canonical.com/ubuntu bionic/partner amd64 Packages [2.320 B]                                                                                                                                                           
Get:11 http://dl.google.com/linux/chrome/deb stable Release.gpg [819 B]                                                                                                                                                                      
Get:12 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88,7 kB]                                                                                                                                                                   
Ign:13 http://packages.linuxmint.com tessa InRelease                                                                                                                                                                           
Get:14 http://security.ubuntu.com/ubuntu bionic-security/main i386 Packages [265 kB]                                                                                                                                           
Get:15 http://archive.canonical.com/ubuntu bionic/partner i386 Packages [2.320 B]                                                                                                          
Get:16 http://archive.canonical.com/ubuntu bionic/partner Translation-en [1.276 B]                                                                                                         
Get:17 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74,6 kB]                                                                                                                                                              
Get:18 https://repo.skype.com/deb stable/main amd64 Packages [2.274 B]                                                                                                                                      
Get:19 http://repo.vivaldi.com/stable/deb stable/main i386 Packages [1.193 B]                                                                                                                          
Get:20 http://packages.linuxmint.com tessa Release [24,1 kB]                                                                                                                                             
Get:21 http://archive.ubuntu.com/ubuntu bionic/main i386 Packages [1.007 kB]                                                                                                                                        
Ign:22 https://artifacts.elastic.co/packages/7.x/apt stable InRelease                                                                                                                                                    
Get:23 http://repo.vivaldi.com/stable/deb stable/main amd64 Packages [1.197 B]                                                                                                                                   
Get:24 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [353 kB]                                                                                                                                       
Get:25 https://artifacts.elastic.co/packages/7.x/apt stable Release [5.116 B]                                                                                                                      
Get:26 http://dl.google.com/linux/chrome/deb stable/main amd64 Packages [1.104 B]                                                                                                                              
Get:27 https://artifacts.elastic.co/packages/7.x/apt stable Release.gpg [473 B]                                                                                                                                 
Get:28 http://repository.spotify.com stable InRelease [3.316 B]                                                                                                                                   
Get:29 http://security.ubuntu.com/ubuntu bionic-security/main Translation-en [125 kB]                                                                                                          
Get:30 http://security.ubuntu.com/ubuntu bionic-security/main amd64 DEP-11 Metadata [14,9 kB]                                                                          
Get:31 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [4.296 B]                                                                               
Get:32 http://security.ubuntu.com/ubuntu bionic-security/restricted i386 Packages [4.280 B]                                                                        
Get:33 http://security.ubuntu.com/ubuntu bionic-security/restricted Translation-en [2.192 B]                                                           
Get:34 http://security.ubuntu.com/ubuntu bionic-security/universe i386 Packages [249 kB]                                                                                 
Get:35 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [253 kB]                                                                        
Get:36 https://artifacts.elastic.co/packages/7.x/apt stable/main i386 Packages [6.380 B]                                                                
Get:37 http://security.ubuntu.com/ubuntu bionic-security/universe Translation-en [142 kB]                                                                           
Get:38 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 DEP-11 Metadata [35,8 kB]                                                           
Get:39 http://security.ubuntu.com/ubuntu bionic-security/multiverse i386 Packages [4.152 B]                                                                  
Get:40 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages [1.019 kB]                                                                     
Get:41 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages [4.004 B]                                                        
Get:42 http://security.ubuntu.com/ubuntu bionic-security/multiverse Translation-en [2.060 B]                                                                    
Get:43 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 DEP-11 Metadata [2.464 B]                                                                    
Get:44 https://artifacts.elastic.co/packages/7.x/apt stable/main amd64 Packages [8.129 B]                                                                                
Get:45 http://packages.linuxmint.com tessa Release.gpg [819 B]                                                                             
Get:46 http://packages.linuxmint.com tessa/main amd64 Packages [14,2 kB]                                                          
Get:47 http://archive.ubuntu.com/ubuntu bionic/main Translation-en [516 kB]                                               
Get:48 http://packages.linuxmint.com tessa/main i386 Packages [13,6 kB]                                                         
Get:49 http://packages.linuxmint.com tessa/upstream i386 Packages [38,1 kB]                                                                 
Get:50 http://archive.ubuntu.com/ubuntu bionic/main amd64 DEP-11 Metadata [477 kB]                                                          
Get:51 http://repository.spotify.com stable/non-free amd64 Packages [1.643 B]                                                                                     
Get:52 http://archive.ubuntu.com/ubuntu bionic/restricted i386 Packages [9.156 B]                                                                                 
Get:53 http://archive.ubuntu.com/ubuntu bionic/restricted amd64 Packages [9.184 B]           
Get:54 http://packages.linuxmint.com tessa/upstream amd64 Packages [38,1 kB]                 
Get:55 http://archive.ubuntu.com/ubuntu bionic/restricted Translation-en [3.584 B]
Get:56 http://archive.ubuntu.com/ubuntu bionic/universe i386 Packages [8.531 kB]                               
Get:57 http://packages.linuxmint.com tessa/import i386 Packages [4.863 B]                                
Get:58 http://packages.linuxmint.com tessa/import amd64 Packages [5.711 B]                     
Get:59 http://packages.linuxmint.com tessa/backport amd64 Packages [29,3 kB]       
Get:60 http://repository.spotify.com stable/non-free i386 Packages [1.171 B]                                          
Get:61 http://packages.linuxmint.com tessa/backport i386 Packages [29,3 kB]                           
Get:62 http://archive.ubuntu.com/ubuntu bionic/universe amd64 Packages [8.570 kB]                
Get:63 http://archive.ubuntu.com/ubuntu bionic/universe Translation-en [4.941 kB]                                                                                                                                                            
Get:64 http://archive.ubuntu.com/ubuntu bionic/universe amd64 DEP-11 Metadata [3.287 kB]                                                                                                                                                     
Get:65 http://archive.ubuntu.com/ubuntu bionic/multiverse i386 Packages [144 kB]                                                                                                                                                             
Get:66 http://archive.ubuntu.com/ubuntu bionic/multiverse amd64 Packages [151 kB]                                                                                                                                                            
Get:67 http://archive.ubuntu.com/ubuntu bionic/multiverse Translation-en [108 kB]                                                                                                                                                            
Get:68 http://archive.ubuntu.com/ubuntu bionic/multiverse amd64 DEP-11 Metadata [49,7 kB]                                                                                                                                                    
Get:69 http://archive.ubuntu.com/ubuntu bionic-updates/main i386 Packages [517 kB]                                                                                                                                                           
Err:69 http://archive.ubuntu.com/ubuntu bionic-updates/main i386 Packages                                                                                                                                                                    
  Hash Sum mismatch
  Hashes of expected file:
   - Filesize:516960 [weak]
   - SHA256:a301397270fa9801cad24973b8ecef6e7a48bddb3abb941f4c5c0171735d2588
   - SHA1:4b3a314719181e6c4f3121b25d556a6f75b3527d [weak]
   - MD5Sum:006d71a5e1760c1973da2be1f91e9858 [weak]
  Hashes of received file:
   - SHA256:dff723dfa7bc3e1cdeab9f7881c20b3e78d82908a5f7d85a4b8a1f01eb13710f
   - SHA1:73fd36a7da8f96cbc4d96cc96a4072041bb18f01 [weak]
   - MD5Sum:dad2c1e5024f14242f6d19188ecfd7fb [weak]
   - Filesize:516960 [weak]
  Last modification reported: Thu, 30 May 2019 06:55:44 +0000
  Release file created at: Thu, 30 May 2019 06:55:16 +0000
Get:70 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [618 kB]                                                                                                                                                          
Err:70 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages                                                                                                                                                                   
  
Get:71 http://archive.ubuntu.com/ubuntu bionic-updates/main Translation-en [229 kB]                                                                                                                                                          
Get:72 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 DEP-11 Metadata [276 kB]                                                                                                                                                   
Get:73 http://archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [6.996 B]                                                                                                                                                   
Get:74 http://archive.ubuntu.com/ubuntu bionic-updates/restricted i386 Packages [6.960 B]                                                                                                                                                    
Get:75 http://archive.ubuntu.com/ubuntu bionic-updates/restricted Translation-en [3.076 B]                                                                                                                                                   
Get:76 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [943 kB]                                                                                                                                                      
Get:77 http://archive.ubuntu.com/ubuntu bionic-updates/universe i386 Packages [931 kB]                                                                                                                                                       
Get:78 http://archive.ubuntu.com/ubuntu bionic-updates/universe Translation-en [277 kB]                                                                                                                                                      
Get:79 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 DEP-11 Metadata [227 kB]                                                                                                                                               
Get:80 http://archive.ubuntu.com/ubuntu bionic-backports/main i386 Packages [2.516 B]                                                                                                                                                        
Get:81 http://archive.ubuntu.com/ubuntu bionic-backports/main amd64 Packages [2.512 B]                                                                                                                                                       
Get:82 http://archive.ubuntu.com/ubuntu bionic-backports/main Translation-en [1.644 B]                                                                                                                                                       
Get:83 http://archive.ubuntu.com/ubuntu bionic-backports/universe i386 Packages [3.720 B]                                                                                                                                                    
Get:84 http://archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages [3.716 B]                                                                                                                                                   
Get:85 http://archive.ubuntu.com/ubuntu bionic-backports/universe Translation-en [1.696 B]                                                                                                                                                   
Get:86 http://archive.ubuntu.com/ubuntu bionic-backports/universe amd64 DEP-11 Metadata [7.224 B]                                                                                                                                            
Fetched 35,1 MB in 15s (2.347 kB/s)                                                                                                                                                                                                          
Reading package lists... Done
E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic-updates/main/binary-i386/by-hash/SHA256/a301397270fa9801cad24973b8ecef6e7a48bddb3abb941f4c5c0171735d2588  Hash Sum mismatch
   Hashes of expected file:
    - Filesize:516960 [weak]
    - SHA256:a301397270fa9801cad24973b8ecef6e7a48bddb3abb941f4c5c0171735d2588
    - SHA1:4b3a314719181e6c4f3121b25d556a6f75b3527d [weak]
    - MD5Sum:006d71a5e1760c1973da2be1f91e9858 [weak]
   Hashes of received file:
    - SHA256:dff723dfa7bc3e1cdeab9f7881c20b3e78d82908a5f7d85a4b8a1f01eb13710f
    - SHA1:73fd36a7da8f96cbc4d96cc96a4072041bb18f01 [weak]
    - MD5Sum:dad2c1e5024f14242f6d19188ecfd7fb [weak]
    - Filesize:516960 [weak]
   Last modification reported: Thu, 30 May 2019 06:55:44 +0000
   Release file created at: Thu, 30 May 2019 06:55:16 +0000
E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic-updates/main/binary-amd64/by-hash/SHA256/f23be066321a96fbabda25aaac6025209f1814e1f29cdbfde8116d73aaa71f0b  
E: Some index files failed to download. They have been ignored, or old ones used instead.

-- 
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/1785778

Title:
  Hash Sum mismatch Ubuntu Server 18.04.1 LTS

Status in apt package in Ubuntu:
  Invalid

Bug description:
  Hi,
  I'm getting weird Hashes mismatch error while trying to update Ubuntu server 18.04.1 LTS server. The error I'm receiving is as follows.

  $ sudo apt-get update
  Get:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [83.2 kB]
  Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease
  Hit:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease
  Get:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
  Get:5 http://archive.ubuntu.com/ubuntu bionic-updates/universe Sources [52.2 kB]
  Get:6 http://archive.ubuntu.com/ubuntu bionic-updates/main Sources [152 kB]
  Get:7 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse Sources [2,676 B]
  Get:8 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [277 kB]
  Get:9 http://archive.ubuntu.com/ubuntu bionic-updates/main Translation-en [105 kB]
  Get:10 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [157 kB]
  Err:10 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages
    Hash Sum mismatch
    Hashes of expected file:
     - Filesize:157408 [weak]
     - SHA256:95fae016beb34455d4601a44c76d1823479178cbcdc58365750d4c039eecfb18
     - SHA1:ad29965fe436d84b62331a4662e5fc679103fa0d [weak]
     - MD5Sum:4375646a0495b45597e06fb3e21dbd10 [weak]
    Hashes of received file:
     - SHA256:cdb9774bad7ab6f191ce597e3139f105477428fdc2509c63fcac8e5b904e4f4a
     - SHA1:96a041a735ddb8be1b14cc214ce0f56b486b42db [weak]
     - MD5Sum:a33f0341357c0be32207618a14b500db [weak]
     - Filesize:157408 [weak]
    Last modification reported: Tue, 07 Aug 2018 07:15:09 +0000
    Release file created at: Tue, 07 Aug 2018 07:15:03 +0000
  Get:11 http://archive.ubuntu.com/ubuntu bionic-updates/universe Translation-en [71.0 kB]
  Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [3,772 B]
  Get:13 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse Translation-en [2,376 B]
  Err:14 http://download.webmin.com/download/repository sarge InRelease
    Could not connect to download.webmin.com:80 (108.60.199.109), connection timed out
  Fetched 329 kB in 30s (10.9 kB/s)
  Reading package lists... Done
  W: Failed to fetch http://download.webmin.com/download/repository/dists/sarge/InRelease  Could not connect to download.webmin.com:80 (108.60.199.109), connection timed out
  E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic-updates/universe/binary-amd64/by-hash/SHA256/95fae016beb34455d4601a44c76d1823479178cbcdc58365750d4c039eecfb18  Hash Sum mismatch
     Hashes of expected file:
      - Filesize:157408 [weak]
      - SHA256:95fae016beb34455d4601a44c76d1823479178cbcdc58365750d4c039eecfb18
      - SHA1:ad29965fe436d84b62331a4662e5fc679103fa0d [weak]
      - MD5Sum:4375646a0495b45597e06fb3e21dbd10 [weak]
     Hashes of received file:
      - SHA256:cdb9774bad7ab6f191ce597e3139f105477428fdc2509c63fcac8e5b904e4f4a
      - SHA1:96a041a735ddb8be1b14cc214ce0f56b486b42db [weak]
      - MD5Sum:a33f0341357c0be32207618a14b500db [weak]
      - Filesize:157408 [weak]
     Last modification reported: Tue, 07 Aug 2018 07:15:09 +0000
     Release file created at: Tue, 07 Aug 2018 07:15:03 +0000
  W: Some index files failed to download. They have been ignored, or old ones used instead.

  I have tried solution provided in search  as "removing all files in
  /var/lib/apt/lists and update again" but it doesn't work. Don't know
  how to resolve it.

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



More information about the foundations-bugs mailing list