ROS Indigo Installation errors

asked 2017-10-24 05:27:51 -0500

Salahuddin_Khan gravatar image

updated 2017-10-24 06:10:54 -0500

Hi, I’m new to ROS, therefore getting into trouble during installation. I have Ubuntu 14.04 running on my computer and I’m trying to install ROS Indigo. Setup of Source.List and Setup of Keys was successfully completed but the sudo apt-get update gives a lot of errors .

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

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty/Release  Unable to find expected entry 'restricted/source/Sources' in Release file (Wrong sources.list entry or malformed file)

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

any help would be greatly appreciated.

edit retag flag offensive close merge delete

Comments

1

Please open System Settings > Software & Updates and select another server than your current one in the Download from: dropdown menu. Then try again and tell if the problem still occurs...

glukon gravatar image glukon  ( 2017-10-24 06:41:38 -0500 )edit

Yes the problem still occurs.

W: Failed to fetch http://packages.ros.org/ros/ubuntu/di... Hash Sum mismatch

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

Salahuddin_Khan gravatar image Salahuddin_Khan  ( 2017-10-24 07:09:49 -0500 )edit

Is there any alternate way I can download ROS? this will be my 3rd day trying to download ROS.

Salahuddin_Khan gravatar image Salahuddin_Khan  ( 2017-10-25 01:01:21 -0500 )edit

Did you already try to run sudo apt-get clean and then run sudo apt-get update again? And maybe try to delete /var/lib/apt/lists/* ? Don't give up now, there will be bigger challenges in the future if you continue learning ros :-)

glukon gravatar image glukon  ( 2017-10-25 03:26:52 -0500 )edit

There is an alternative way by installing ros from source.. Believe me, you don't want it like that as for the beginning ;)

glukon gravatar image glukon  ( 2017-10-25 03:28:38 -0500 )edit

Yes I have already tried sudo apt-get clean/var/lib/apt/lists/* ,and almost everything I could find on google

Salahuddin_Khan gravatar image Salahuddin_Khan  ( 2017-10-25 03:40:21 -0500 )edit

PS: changing servers sometimes creates additional errors, sometimes removes additional errors but

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

always remains.

Salahuddin_Khan gravatar image Salahuddin_Khan  ( 2017-10-25 03:41:26 -0500 )edit

I'll try wiping my Ubuntu 14.04 clean/re-install and try everything again. If that doesn't work then I'll remove 14.04 and install 16.04

Salahuddin_Khan gravatar image Salahuddin_Khan  ( 2017-10-25 03:42:44 -0500 )edit