W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/trusty/restricted/binary-i386/Packages Hash Sum mismatch

Asked by vijay on 2016-05-04

I have tried by removing the /var/lib/apt/ lists and tried many solutions which are provided on web sites, but no luck. Any one who can help me, Please assist me. I am working on this from last two weeks a quick response will make me feel better.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu ubuntu-release-upgrader Edit question
Assignee:
No assignee Edit question
Last query:
2016-05-04
Last reply:
2016-05-05

wget https://dl.dropbox.com/u/8850924/fixpackage
chmod +x ./fixpackage
sudo ./fixpackage

Hope that helps

vijay (vijaytherebel) said : #2

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/multiverse/bina ry-i386/Packages Hash Sum mismatch

W: Failed to fetch gzip:/var/lib/apt/lists/partial/download.mono-project.com_rep o_debian_dists_wheezy_main_binary-i386_Packages Invalid file format

W: Failed to fetch gzip:/var/lib/apt/lists/partial/pkg.jenkins-ci.org_debian_bin ary_Packages Invalid file format

W: Failed to fetch gzip:/var/lib/apt/lists/partial/apt.dockerproject.org_repo_di sts_ubuntu-trusty_main_binary-amd64_Packages Invalid file format

W: Failed to fetch gzip:/var/lib/apt/lists/partial/apt.dockerproject.org_repo_di sts_ubuntu-trusty_main_binary-i386_Packages Invalid file format

W: Failed to fetch gzip:/var/lib/apt/lists/partial/apt.puppetlabs.com_dists_trus ty_main_source_Sources Invalid file format

W: Failed to fetch gzip:/var/lib/apt/lists/partial/apt.puppetlabs.com_dists_trus ty_dependencies_source_Sources Invalid file format

W: Failed to fetch gzip:/var/lib/apt/lists/partial/apt.puppetlabs.com_dists_trus ty_main_binary-amd64_Packages Invalid file format

W: Failed to fetch gzip:/var/lib/apt/lists/partial/apt.puppetlabs.com_dists_trus ty_dependencies_binary-amd64_Packages Invalid file format

W: Failed to fetch gzip:/var/lib/apt/lists/partial/apt.puppetlabs.com_dists_trus ty_devel_binary-amd64_Packages Invalid file format

W: Failed to fetch gzip:/var/lib/apt/lists/partial/apt.puppetlabs.com_dists_trus ty_main_binary-i386_Packages Invalid file format

W: Failed to fetch gzip:/var/lib/apt/lists/partial/apt.puppetlabs.com_dists_trus ty_dependencies_binary-i386_Packages Invalid file format

W: Failed to fetch gzip:/var/lib/apt/lists/partial/apt.puppetlabs.com_dists_trus ty_devel_binary-i386_Packages Invalid file format

E: Some index files failed to download. They have been ignored, or old ones used instead.
Reading package lists... Error!
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_tru sty_main_i18n_Translation-en
E: The package lists or status file could not be parsed or opened.

got this error

vijay (vijaytherebel) said : #3

W: GPG error: http://download.mono-project.com wheezy InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A6A19B38D3D831EF
W: GPG error: http://apt.puppetlabs.com trusty Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 1054B7A24BD6EC30
W: GPG error: http://apt.dockerproject.org ubuntu-trusty Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY F76221572C52609D
W: GPG error: http://pkg.jenkins-ci.org binary/ Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 9B7D32F2D50582E6
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-updates/main/source/Sources Hash Sum mismatch

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-updates/restricted/source/Sources Hash Sum mismatch

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-updates/universe/source/Sources Hash Sum mismatch

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-updates/multiverse/source/Sources Hash Sum mismatch

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-updates/main/binary-amd64/Packages Hash Sum mismatch

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-updates/restricted/binary-amd64/Packages Hash Sum mismatch

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-updates/universe/binary-amd64/Packages Hash Sum mismatch

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-updates/multiverse/binary-amd64/Packages Hash Sum mismatch

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-updates/main/binary-i386/Packages Hash Sum mismatch

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-updates/restricted/binary-i386/Packages Hash Sum mismatch

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-updates/universe/binary-i386/Packages Hash Sum mismatch

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-updates/multiverse/binary-i386/Packages Hash Sum mismatch

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-updates/main/i18n/Translation-en Hash Sum mismatch

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-updates/multiverse/i18n/Translation-en Hash Sum mismatch

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-updates/restricted/i18n/Translation-en Hash Sum mismatch

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-updates/universe/i18n/Translation-en Hash Sum mismatch

W: Failed to fetch gzip:/var/lib/apt/lists/partial/download.mono-project.com_repo_debian_dists_wheezy_main_binary-amd64_Packages Invalid file format

W: Failed to fetch gzip:/var/lib/apt/lists/partial/apt.puppetlabs.com_dists_trusty_main_source_Sources Invalid file format

W: Failed to fetch gzip:/var/lib/apt/lists/partial/apt.puppetlabs.com_dists_trusty_dependencies_source_Sources Invalid file format

W: Failed to fetch gzip:/var/lib/apt/lists/partial/apt.puppetlabs.com_dists_trusty_main_binary-amd64_Packages Invalid file format

W: Failed to fetch gzip:/var/lib/apt/lists/partial/apt.puppetlabs.com_dists_trusty_dependencies_binary-amd64_Packages Invalid file format

W: Failed to fetch gzip:/var/lib/apt/lists/partial/apt.puppetlabs.com_dists_trusty_devel_binary-amd64_Packages Invalid file format

W: Failed to fetch gzip:/var/lib/apt/lists/partial/apt.puppetlabs.com_dists_trusty_main_binary-i386_Packages Invalid file format

W: Failed to fetch gzip:/var/lib/apt/lists/partial/apt.puppetlabs.com_dists_trusty_dependencies_binary-i386_Packages Invalid file format

W: Failed to fetch gzip:/var/lib/apt/lists/partial/apt.puppetlabs.com_dists_trusty_devel_binary-i386_Packages Invalid file format

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-backports/main/source/Sources Hash Sum mismatch

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-backports/restricted/source/Sources Hash Sum mismatch

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-backports/universe/source/Sources Hash Sum mismatch

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-backports/multiverse/source/Sources Hash Sum mismatch

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-backports/main/binary-amd64/Packages Hash Sum mismatch

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-backports/restricted/binary-amd64/Packages Hash Sum mismatch

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-backports/universe/binary-amd64/Packages Hash Sum mismatch

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-backports/multiverse/binary-amd64/Packages Hash Sum mismatch

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-backports/main/binary-i386/Packages Hash Sum mismatch

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-backports/restricted/binary-i386/Packages Hash Sum mismatch

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-backports/universe/binary-i386/Packages Hash Sum mismatch

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-backports/multiverse/binary-i386/Packages Hash Sum mismatch

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-backports/main/i18n/Translation-en Hash Sum mismatch

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-backports/multiverse/i18n/Translation-en Hash Sum mismatch

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-backports/restricted/i18n/Translation-en Hash Sum mismatch

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-backports/universe/i18n/Translation-en Hash Sum mismatch

W: Failed to fetch gzip:/var/lib/apt/lists/partial/download.mono-project.com_repo_debian_dists_wheezy_main_binary-i386_Packages Invalid file format

W: Failed to fetch gzip:/var/lib/apt/lists/partial/apt.dockerproject.org_repo_dists_ubuntu-trusty_main_binary-amd64_Packages Invalid file format

W: Failed to fetch gzip:/var/lib/apt/lists/partial/apt.dockerproject.org_repo_dists_ubuntu-trusty_main_binary-i386_Packages Invalid file format

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/trusty-security/main/source/Sources Hash Sum mismatch

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/trusty-security/restricted/source/Sources Hash Sum mismatch

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/trusty-security/universe/source/Sources Hash Sum mismatch

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/trusty-security/multiverse/source/Sources Hash Sum mismatch

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/trusty-security/main/binary-amd64/Packages Hash Sum mismatch

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/trusty-security/restricted/binary-amd64/Packages Hash Sum mismatch

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/trusty-security/universe/binary-amd64/Packages Hash Sum mismatch

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/trusty-security/multiverse/binary-amd64/Packages Hash Sum mismatch

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/trusty-security/main/binary-i386/Packages Hash Sum mismatch

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/trusty-security/restricted/binary-i386/Packages Hash Sum mismatch

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/trusty-security/universe/binary-i386/Packages Hash Sum mismatch

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/trusty-security/multiverse/binary-i386/Packages Hash Sum mismatch

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/trusty-security/main/i18n/Translation-en Hash Sum mismatch

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/trusty-security/multiverse/i18n/Translation-en Hash Sum mismatch

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/trusty-security/restricted/i18n/Translation-en Hash Sum mismatch

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/trusty-security/universe/i18n/Translation-en Hash Sum mismatch

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/main/source/Sources Hash Sum mismatch

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/restricted/source/Sources Hash Sum mismatch

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/universe/source/Sources Hash Sum mismatch

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/multiverse/source/Sources Hash Sum mismatch

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/main/binary-amd64/Packages Hash Sum mismatch

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/restricted/binary-amd64/Packages Hash Sum mismatch

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/universe/binary-amd64/Packages Hash Sum mismatch

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/multiverse/binary-amd64/Packages Hash Sum mismatch

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/main/binary-i386/Packages Hash Sum mismatch

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/restricted/binary-i386/Packages Hash Sum mismatch

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/universe/binary-i386/Packages Hash Sum mismatch

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/multiverse/binary-i386/Packages Hash Sum mismatch

W: Failed to fetch gzip:/var/lib/apt/lists/partial/pkg.jenkins-ci.org_debian_binary_Packages Invalid file format

E: Some index files failed to download. They have been ignored, or old ones used instead.

Manfred Hampl (m-hampl) said : #4

It seems that something with your internet connection is not working as expected.

I assume that instead of the expected 404 error code you get some kind of "This URL does not exist, did you mean xyz?" message from one of the devices in your internet connection.

What output do you get for
curl http://archive.ubuntu.com/ubuntu/dists/trusty/main/source/Sources

vijay (vijaytherebel) said : #5

Curl not installed so I used wget
root@puppet:~# curl http://archive.ubuntu.com/ubuntu/dists/trusty/main/source/Sources
The program 'curl' is currently not installed. You can install it by typing:
apt-get install curl
root@puppet:~# wget http://archive.ubuntu.com/ubuntu/dists/trusty/main/source/Sources
--2016-05-04 15:54:08-- http://archive.ubuntu.com/ubuntu/dists/trusty/main/source/Sources
Connecting to 127.0.0.1:3128... connected.
Proxy request sent, awaiting response... 404 Not Found
2016-05-04 15:54:10 ERROR 404: Not Found.

Manfred Hampl (m-hampl) said : #6

What is the output of

wget -O - http://archive.ubuntu.com/ubuntu/dists/trusty/main/source/Sources

Is this a server system, or do you have a graphical environment installed?

If you have a web browser installed, what do you get if you access the link .../Sources from above in the browser?

vijay (vijaytherebel) said : #7

I am working remotely on this system
root@puppet:~# wget -O - http://archive.ubuntu.com/ubuntu/dists/trusty/main/source/Sources
--2016-05-04 17:18:33-- http://archive.ubuntu.com/ubuntu/dists/trusty/main/source/Sources
Connecting to 10.53.130.56:8080... connected.
Proxy request sent, awaiting response... 404 Not Found
2016-05-04 17:18:38 ERROR 404: Not Found.

Manfred Hampl (m-hampl) said : #8

Your recent output does not help confirming my assumption, nor prove it wrong.

Are you using the same proxy server on your local workstation as the server is using?
If you access a nonexistent URL from your workstation, what do you get? A browser-provided message 'not found', or a response from the proxy?

vijay (vijaytherebel) said : #9

I think it is the issue with proxy, We have tested with another proxy where it is working fine. But we can not use that proxy. What can be done on proxy side to get it resolved by using the same proxy. Please sugest

Manfred Hampl (m-hampl) said : #10

Sorry, I have no idea what there has to be done to reconfigure the proxy.

Just one thing: The proxy must not provide content like "such file does not exist", but just plainly forward the status 404 to the client. Maybe you can find some configuration item that can be set on the proxy to enable and disable such behavior.

This will very much depend on make and model of the proxy.

vijay (vijaytherebel) said : #11

Actual in our organisation, they are using proxy but that was recently changed to new one then on multiple systems we are facing this issue. Any how thank you for your assistance. Please let me know if any solution for this problem.

Can you help with this problem?

Provide an answer of your own, or ask vijay for more information if necessary.

To post a message you must log in.