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

Install groovy o 12.04,Hash Sum mismatch?

asked 2013-03-11 20:32:27 -0500

bobliao gravatar image

I follow the instruction : Ubuntu 12.04 (Precise)

sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu precise main" > /etc/apt/sources.list.d/ros-latest.list'

Set up your keys

   wget http://packages.ros.org/ros.key -O - | sudo apt-key add -

sudo apt-get update

then ,that is this :

Hit http://packages.ros.org precise Release Get:1 http://packages.ros.org precise/main i386 Packages [1,641 kB] Ign http://packages.ros.org precise/main TranslationIndex
Hit http://packages.ros.org precise/main Translation-en Ign http://packages.ros.org precise/main Translation-en_US Fetched 1 B in 3s (0 B/s) W: Failed to fetch gzip:/var/lib/apt/lists/partial/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.

then ,I type:

sudo apt-get install ros-groovy-desktop-fullat
that is this:
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package ros-groovy-desktop-full

I then check the directory:

bob@bob-robot:/etc/apt/sources.list.d$ ls ros-latest.list

I have search the similar answer,it may be the source problem , so how to solve it? many thanks ,I am waiting the answer...

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

answered 2013-03-12 04:08:09 -0500

updated 2013-03-12 04:14:54 -0500

Try to remove the lists directory under /var/lib and then creat it again:

cd /var/lib/apt
sudo rm -fr lists
sudo mkdir lists
sudo mkdir lists/partial

And try updating again

sudo apt-get update

After that, follow the instructions under the installation guide again (Configuring repositories, set up the keys updating apt-get and installing)

edit flag offensive delete link more

Comments

it doesn't work ,but still thanks .

bobliao gravatar image bobliao  ( 2013-03-12 15:41:36 -0500 )edit
0

answered 2013-09-06 15:37:10 -0500

Any other solution? I've been waiting for a week, but nothing got better on the source.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-03-11 20:32:27 -0500

Seen: 1,392 times

Last updated: Sep 06 '13