ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Hash Sum mismatch while update package index(indigo/ubuntu 14.04.04)

asked 2016-03-07 20:51:00 -0500

hughie gravatar image

updated 2016-03-07 22:49:22 -0500

I followed install guide( while 1.4 Installation step(sudo apt-get update), I met this error.

W:Failed to fetch Hash Sum mismatch

And, the laptop can resolve the web page( ).

I tried to fix it with below link, but it is not working.

edit retag flag offensive close merge delete


Ubuntu 14.04.03 is also same.

hughie gravatar image hughie  ( 2016-03-07 21:41:33 -0500 )edit

Yes. The same ROS repositories are used for all of the 14.04.x versions of Ubuntu, so I would expect the same trouble.

ahendrix gravatar image ahendrix  ( 2016-03-08 00:22:31 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2016-03-07 21:11:41 -0500

ahendrix gravatar image

updated 2016-03-08 00:32:29 -0500

This is usually a temporary issue, and happens when you download packages at the same time that a repository sync is happening. It should go away if you try again a few minutes later.

Are you using an HTTP proxy?


This error means that the checksum on the Packages file ( ) doesn't match the checksum that is listed in the Release file ( ). I guess you could download both files and try to manually verify the checksums.

When I compute the checksums on the Packages file, I get:

$ wget
$ sha1sum Packages 
058296435aba9ad217d436d338c9a19a37e0df74  Packages
$ md5sum Packages 
e8f069b226d4fa7155e90ef02f3235ec  Packages

And these match the checksums listed in the Release file (these checksums will be out of date in a few days, so be sure to check against the most recent copy of the Release file, and not the checksums listed here).

edit flag offensive delete link more


Thank you for your answer. I don't use HTTP proxy and other Ubuntu package index are fine. I also tried with China mirror( but, It has same problem.

hughie gravatar image hughie  ( 2016-03-07 21:44:57 -0500 )edit

It's working now. now checksum on the packages file and checksum that is listed in the Release file are matched. maybe the checksums is fixed in the server. Thank you for helping me!

hughie gravatar image hughie  ( 2016-03-08 18:12:08 -0500 )edit

Question Tools

1 follower


Asked: 2016-03-07 20:51:00 -0500

Seen: 1,925 times

Last updated: Mar 08 '16