Robotics StackExchange | Archived questions

Error: Install Hydro in Ubuntu 12.04.5

Dear All,

I have followed the ROS website instructions for installing Hydro to Ubuntu 12.04 running in Macbook pro. However, I encountered errors as follows:

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

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

W: Failed to fetch http://packages.ros.org/ros/ubuntu/dists/precise/main/binary-i386/Packages Hash Sum mismatch

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

Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package ros-hydro-desktop-full

May I know how to solve this issue?

Thank you very much.

Regards, Jayden

Asked by jayden_118 on 2015-10-02 07:49:37 UTC

Comments

Answers

Looks like from the error message you are looking at installation instruction for Ubuntu, not the one for Mac OSX.

UPDATE: That seems Ubuntu problem that doesn't necessarilly pertain to ROS. Referring to e.g. this QA and looking specifically at your errors, you may want to do:

rm /var/lib/apt/lists/extras.ubuntu.com_ubuntu_dists_precise_main_source_Sources
rm /var/lib/apt/lists/extras.ubuntu.com_ubuntu_dists_precise_main_binary-i386_Packages
rm /var/lib/apt/lists/packages.ros.org_ros_ubuntu_dists_precise_main_binary-i386_Packages
apt-get update

And try installation again.

Asked by 130s on 2015-10-03 10:40:27 UTC

Comments

Hi,

Thank you very much for your reply. I'm running Ubuntu 12.04 in my macbook. Therefore i followed the installation for Ubuntu.

Any clue regarding my issue?

Thank you.

Asked by jayden_118 on 2015-10-04 04:58:40 UTC