LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 05-18-2015, 06:24 AM   #1
lazylogic
Member
 
Registered: Aug 2006
Posts: 151

Rep: Reputation: 16
aptitude and apt-get update results in "Hash Sum mismatch"


Using Debian Jessie 32 bit and Wheezy 32 bit on 2 separate computers.

For the pass few days, received the following message on both computers when doing a
aptitude update or apt-get update results in the following error message:

Quote:
W: Failed to fetch http://security.debian.org/dists/jes...ource/Sources: Hash Sum mismatch
W: Failed to fetch http://security.debian.org/dists/jes...i386/Packages: Hash Sum mismatch
W: Failed to fetch http://security.debian.org/dists/jes...ranslation-en: Hash Sum mismatch
Googled and tried removing /var/lib/apt/apt and /var/lib/apt/aptitude but the problem persist.

Any advise is appreciated.
 
Old 05-18-2015, 07:01 AM   #2
Head_on_a_Stick
Senior Member
 
Registered: Dec 2014
Location: London, England
Distribution: Debian stable (and OpenBSD-current)
Posts: 1,187

Rep: Reputation: 285Reputation: 285Reputation: 285
http://www.linuxquestions.org/questi...ch-4175497785/
 
Old 05-18-2015, 02:20 PM   #3
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Can you post your sources.list for both computers & if 1 is used as proxy indicate which 1.
 
Old 05-19-2015, 04:40 AM   #4
lazylogic
Member
 
Registered: Aug 2006
Posts: 151

Original Poster
Rep: Reputation: 16
@ Head_on_a_Stick
Quote:
apt-get clean
rm -rf /var/lib/apt/lists/*
rm -rf /var/lib/apt/lists/partial/*
apt-get clean
apt-get update
returns the same error message


# EDDY1
Quote:
deb http://security.debian.org/ jessie/updates main contrib non-free
deb-src http://security.debian.org/ jessie/updates main contrib non-free

deb http://ftp.riken.jp/Linux/debian/debian/ jessie main contrib non-free
deb-src http://ftp.riken.jp/Linux/debian/debian/ jessie main contrib non-free

deb http://ftp.riken.jp/Linux/debian/debian/ jessie-updates main contrib non-free
deb-src http://ftp.riken.jp/Linux/debian/debian/ jessie-updates main contrib non-free

deb http://ftp.debian.org/debian/ jessie-backports main contrib non-free

deb ftp://ftp.deb-multimedia.org/ jessie main non-free
 
Old 05-19-2015, 06:30 AM   #5
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
That's your sources.list for both machines?
 
Old 05-19-2015, 06:35 AM   #6
lazylogic
Member
 
Registered: Aug 2006
Posts: 151

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by EDDY1 View Post
That's your sources.list for both machines?

Updated :
Quote:
deb http://security.debian.org/ wheezy/updates main contrib non-free
deb-src http://security.debian.org/ wheezy/updates main contrib non-free

deb http://ftp.riken.jp/Linux/debian/debian/ wheezy main contrib non-free
deb-src http://ftp.riken.jp/Linux/debian/debian/ wheezy main contrib non-free

deb http://ftp.riken.jp/Linux/debian/debian/ wheezy-updates main contrib non-free
deb-src http://ftp.riken.jp/Linux/debian/debian/ wheezy-updates main contrib non-free

deb http://ftp.debian.org/debian/ wheezy-backports main contrib non-free

deb http://www.deb-multimedia.org wheezy main non-free

Last edited by lazylogic; 05-19-2015 at 06:58 AM.
 
Old 05-19-2015, 07:52 AM   #7
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Are you using 1 as a proxy for the other or are they connected directly to internet?
 
Old 05-19-2015, 08:42 PM   #8
lazylogic
Member
 
Registered: Aug 2006
Posts: 151

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by EDDY1 View Post
Are you using 1 as a proxy for the other or are they connected directly to internet?
Have tried a couple of different proxies, including taiwan, german, etc.
All the same result.


Anyway, the error message is from security, which is using the default proxy.
 
Old 05-19-2015, 11:54 PM   #9
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
When I say proxy are both machines connected directly to internet or is 1 machine getting internet access from the other?
 
Old 05-20-2015, 01:29 AM   #10
lazylogic
Member
 
Registered: Aug 2006
Posts: 151

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by EDDY1 View Post
When I say proxy are both machines connected directly to internet or is 1 machine getting internet access from the other?
Nope, two machines are located in different locations, a couple of km/miles apart.
 
Old 05-20-2015, 03:19 AM   #11
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Do you think that you have the problem because you're using 2 different mirrors & 1 is slower to update? In other words riken may not be at the same level of updates as debian.org & you're getting security updates from debian.org
 
Old 05-20-2015, 03:36 AM   #12
lazylogic
Member
 
Registered: Aug 2006
Posts: 151

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by EDDY1 View Post
Do you think that you have the problem because you're using 2 different mirrors & 1 is slower to update? In other words riken may not be at the same level of updates as debian.org & you're getting security updates from debian.org
Have tried more then 5 different mirrors, across the globe, even with the redirector. Same error.

Only problem is security does not have a mirror, so it stays the same throughout.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] apt, Hash Sum mismatch qrange Debian 4 03-13-2014 07:12 AM
unique password for "update" and "synaptic" and "apt-get" SaintDanBert Linux - Security 1 09-17-2010 04:53 AM
apt-get update: Sources.bz2 Hash Sum mismatch, aptitude update: no errors Aidin Sabetian Linux - Software 7 08-11-2010 06:33 PM
hash sum mismatch debian rotezecke Linux - Newbie 3 01-13-2010 04:19 PM
Aptitude giving error after "apt-get update" ciden Linux - Software 6 03-22-2008 03:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 04:29 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration