LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   aptitude and apt-get update results in "Hash Sum mismatch" (https://www.linuxquestions.org/questions/debian-26/aptitude-and-apt-get-update-results-in-hash-sum-mismatch-4175542905/)

lazylogic 05-18-2015 06:24 AM

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.

Head_on_a_Stick 05-18-2015 07:01 AM

http://www.linuxquestions.org/questi...ch-4175497785/

EDDY1 05-18-2015 02:20 PM

Can you post your sources.list for both computers & if 1 is used as proxy indicate which 1.

lazylogic 05-19-2015 04:40 AM

@ 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

EDDY1 05-19-2015 06:30 AM

That's your sources.list for both machines?

lazylogic 05-19-2015 06:35 AM

Quote:

Originally Posted by EDDY1 (Post 5364441)
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

EDDY1 05-19-2015 07:52 AM

Are you using 1 as a proxy for the other or are they connected directly to internet?

lazylogic 05-19-2015 08:42 PM

Quote:

Originally Posted by EDDY1 (Post 5364484)
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.

EDDY1 05-19-2015 11:54 PM

When I say proxy are both machines connected directly to internet or is 1 machine getting internet access from the other?

lazylogic 05-20-2015 01:29 AM

Quote:

Originally Posted by EDDY1 (Post 5364871)
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.

EDDY1 05-20-2015 03:19 AM

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

lazylogic 05-20-2015 03:36 AM

Quote:

Originally Posted by EDDY1 (Post 5364930)
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.


All times are GMT -5. The time now is 08:06 AM.