[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Apt-update errors



Everything was working fine yesterday. When I ran "apt-get update" today morning, I got a lot or errors : "hash sum mismatch" and many more. 
Here's the output for apt update:

Ign:1 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:2 http://dl.google.com/linux/chrome/deb stable Release                     
Hit:4 http://repo.linrunner.de/debian stretch InRelease                        
Hit:5 http://ftp.debian.org/debian stretch InRelease                           
Ign:6 http://linux.dropbox.com/debian jessie InRelease                         
Get:7 http://security.debian.org stretch/updates InRelease [62.8 kB]
Ign:8 http://security.debian.org stretch/updates/main amd64 Packages           
Ign:9 http://security.debian.org stretch/updates/main i386 Packages
Hit:10 http://ftp.debian.org/debian stretch-updates InRelease
Get:11 http://linux.dropbox.com/debian jessie Release [2,601 B]          
Ign:12 http://security.debian.org stretch/updates/main Translation-en
Get:13 http://linux.dropbox.com/debian jessie Release.gpg [489 B]
Ign:14 http://security.debian.org stretch/updates/contrib amd64 Packages
Ign:15 http://security.debian.org stretch/updates/contrib i386 Packages
Ign:16 http://security.debian.org stretch/updates/contrib Translation-en
Get:17 http://security.debian.org stretch/updates/non-free amd64 Packages [32 B]
W: Automatically disabled Acquire::http::PipelineDepth due to incorrect response from server/proxy. (man 5 apt.conf)
Get:18 http://security.debian.org stretch/updates/non-free i386 Packages [32 B]
Ign:18 http://security.debian.org stretch/updates/non-free i386 Packages
Hit:8 http://security.debian.org stretch/updates/main amd64 Packages
Err:8 http://security.debian.org stretch/updates/main amd64 Packages
  Hash Sum mismatch
Ign:9 http://security.debian.org stretch/updates/main i386 Packages
Hit:12 http://security.debian.org stretch/updates/main Translation-en          
Err:12 http://security.debian.org stretch/updates/main Translation-en          
  Empty files can't be valid archives
Hit:14 http://security.debian.org stretch/updates/contrib amd64 Packages       
Ign:15 http://security.debian.org stretch/updates/contrib i386 Packages        
Err:16 http://security.debian.org stretch/updates/contrib Translation-en       
  0  Requested Range Not Satisfiable
Get:18 http://security.debian.org stretch/updates/non-free i386 Packages [20 B]
Err:9 http://security.debian.org stretch/updates/main i386 Packages            
  Bad header line
Err:15 http://security.debian.org stretch/updates/contrib i386 Packages        
  The HTTP server sent an invalid Content-Range header
Fetched 523 B in 8s (61 B/s)                                                   
Reading package lists... Error!
W: http://dl.google.com/linux/chrome/deb/dists/stable/Release.gpg: Signature by key 4CCA1EAF950CEE4AB83976DCA040830F7FAC5991 uses weak digest algorithm (SHA1)
W: http://linux.dropbox.com/debian/dists/jessie/Release.gpg: Signature by key 1C61A2656FB57B7E4DE0F4C1FC918B335044912E uses weak digest algorithm (SHA1)
E: Failed to fetch store:/var/lib/apt/lists/partial/security.debian.org_dists_stretch_updates_main_binary-amd64_Packages.gz  Hash Sum mismatch
E: Failed to fetch http://security.debian.org/dists/stretch/updates/main/binary-i386/Packages  Bad header line
E: Failed to fetch store:/var/lib/apt/lists/partial/security.debian.org_dists_stretch_updates_main_i18n_Translation-en  Empty files can't be valid archives
E: Failed to fetch http://security.debian.org/dists/stretch/updates/contrib/binary-i386/Packages  The HTTP server sent an invalid Content-Range header
E: Failed to fetch http://security.debian.org/dists/stretch/updates/contrib/i18n/Translation-en  0  Requested Range Not Satisfiable
E: Some index files failed to download. They have been ignored, or old ones used instead.
E: Unable to parse package file /var/lib/apt/lists/security.debian.org_dists_stretch_updates_main_binary-amd64_Packages (1)
E: Unable to parse package file /var/lib/apt/lists/security.debian.org_dists_stretch_updates_main_binary-i386_Packages (1)
E: Unable to parse package file /var/lib/apt/lists/security.debian.org_dists_stretch_updates_contrib_binary-amd64_Packages (1)
E: Unable to parse package file /var/lib/apt/lists/security.debian.org_dists_stretch_updates_contrib_binary-i386_Packages (1)
E: Unable to parse package file /var/lib/apt/lists/security.debian.org_dists_stretch_updates_non-free_binary-amd64_Packages (1)
E: Unable to parse package file /var/lib/apt/lists/security.debian.org_dists_stretch_updates_non-free_binary-i386_Packages (1)
W: You may want to run apt-get update to correct these problems
E: The package cache file is corrupted


Here's my sources.list file:
 

deb http://security.debian.org/ stretch/updates main contrib non-free
# Line commented out by installer because it failed to verify:
# deb-src http://security.debian.org/ jessie/updates main contrib non-free

deb http://ftp.debian.org/debian/ stretch main contrib non-free
deb http://ftp.debian.org/debian/ stretch-updates non-free contrib main


# for TLP
deb http://repo.linrunner.de/debian/ stretch main


I am however, able to download packages and install them.

Regards
Himanshu Shekhar

Reply to: