Robotics StackExchange | Archived questions

ROS Indigo Installation errors

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.

Asked by Salahuddin_Khan on 2017-10-24 05:27:51 UTC

Comments

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...

Asked by glukon on 2017-10-24 06:41:38 UTC

Yes the problem still occurs.

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

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

Asked by Salahuddin_Khan on 2017-10-24 07:09:49 UTC

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

Asked by Salahuddin_Khan on 2017-10-25 01:01:21 UTC

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 :-)

Asked by glukon on 2017-10-25 03:26:52 UTC

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

Asked by glukon on 2017-10-25 03:28:38 UTC

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

Asked by Salahuddin_Khan on 2017-10-25 03:40:21 UTC

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.

Asked by Salahuddin_Khan on 2017-10-25 03:41:26 UTC

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

Asked by Salahuddin_Khan on 2017-10-25 03:42:44 UTC

Well, I hope this will be a solution. I don't know how to continue because normally there should be no problems with a clean and fresh OS. Good luck though!

Asked by glukon on 2017-10-25 08:10:38 UTC

Answers