Ask Your Question
0

Can't install ROS indigo in my Ubuntu 14.04.5 or ROS lunar in Windows WSL

asked 2017-12-28 06:15:20 -0600

sezan92 gravatar image

updated 2017-12-29 02:01:51 -0600

jayess gravatar image

Hello , I have a fresh Ubuntu 14.04.5 installed in my computer. I have an NVIDIA GPU 920mx with it's driver and cuda, cudnn installed. Now I am unable to install ROS indigo in it. I later tried to install ROS lunar in my Windows after installing WSL+UBUNTU 16.04. The same error comes up. So I think there is any problem in the ROS distro? The error comes up like following,

Err:14 http://archive.ubuntu.com/ubuntu xenial/universe amd64 python-matplotlib-data all
1.5.1-1ubuntu1   Hash Sum mismatch Fetched 38.4 MB in 9min 14s (69.2 kB/s) E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/q/qtbase-opensource-src/libqt5gui5_5.5.1+dfsg-16ubuntu7.5_amd64.deb Connection failed [IP: 91.189.88.149 80]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/q/qtwebkit-opensource-src/libqt5webkit5_5.5.1+dfsg-2ubuntu1_amd64.deb Hash Sum mismatch
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/g/gcc-5/g++-5_5.4.0-6ubuntu1~16.04.5_amd64.deb Connection failed [IP: 91.189.88.152 80]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/universe/x/x265/libx265-79_1.9-3_amd64.deb Connection failed [IP: 91.189.88.162 80]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/universe/q/qtwebkit-source/libqtwebkit4_2.3.2-0ubuntu11_amd64.deb Hash Sum mismatch
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/p/pcre3/libpcre3-dev_8.38-3.1_amd64.deb Hash Sum mismatch
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/universe/m/matplotlib/python-matplotlib-data_1.5.1-1ubuntu1_all.deb Hash Sum mismatch
E: Unable to fetch some archives, maybe run apt-get update or try with
--fix-missing?

The error in Ubuntu 14.04.5 is following

Heading

E: Failed to fetch http://bd.archive.ubuntu.com/ubuntu/pool/main/p/python2.7/libpython2.7-dev_2.7.6-8ubuntu0.4_amd64.deb  Hash Sum mismatch

E: Failed to fetch http://bd.archive.ubuntu.com/ubuntu/pool/main/c/cmake/cmake_2.8.12.2-0ubuntu3_amd64.deb  Hash Sum mismatch

E: Failed to fetch http://bd.archive.ubuntu.com/ubuntu/pool/universe/l/log4cxx/liblog4cxx10_0.10.0-1.2ubuntu3_amd64.deb  Connection failed [IP: 91.189.88.161 80]

E: Failed to fetch http://bd.archive.ubuntu.com/ubuntu/pool/universe/v/vtk/libvtk5.8_5.8.0-14.1ubuntu3_amd64.deb  Hash Sum mismatch

E: Failed to fetch http://bd.archive.ubuntu.com/ubuntu/pool/main/q/qt4-x11/libqt4-dev_4.8.5+git192-g085f851+dfsg-2ubuntu4.1_amd64.deb  Hash Sum mismatch

E: Failed to fetch http://bd.archive.ubuntu.com/ubuntu/pool/universe/p/pyside/python-pyside.qtcore_1.2.1-4build1_amd64.deb  Connection failed [IP: 91.189.88.152 80]

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

after running command sudo apt-get update --fix-missing ,

   Ign file:  InRelease
Get:1 file:  Release.gpg [819 B]                                               
Get:2 file:  Release [574 B]                                                   
Ign file:  Translation-en_US                                                   
Ign file:  Translation-en                                                      
Ign http://dl.google.com stable InRelease                                      
Hit http://dl.google.com stable Release.gpg                                    
Hit http://dl.google.com stable ...
(more)
edit retag flag offensive close merge delete

Comments

What is the error that you are given when you try to install ROS Indigo on Ubuntu 14.04.5?

jayess gravatar image jayess  ( 2017-12-28 18:53:07 -0600 )edit

E: Failed to fetch http://bd.archive.ubuntu.com/ubuntu/p... Hash Sum mismatch

E: Failed to fetch http://bd.archive.ubuntu.com/ubuntu/p... Hash Sum mismatch

E: Failed to fetch http://bd.arc

sezan92 gravatar image sezan92  ( 2017-12-28 20:36:03 -0600 )edit

Please update your question with this error. Comments don't provide enough room.

jayess gravatar image jayess  ( 2017-12-28 20:36:59 -0600 )edit

I updated this question with the information from your other question #q278324

jayess gravatar image jayess  ( 2017-12-29 02:07:03 -0600 )edit

I'm seeing hash mismatches and missing files: @sezan92: are you behind a proxy of some kind? This sort of problem is typically seen in case a proxy is improperly trying to cache / alter traffic for you.

gvdhoorn gravatar image gvdhoorn  ( 2017-12-29 06:55:27 -0600 )edit

@gvdhoorn , I am using wifi router without any hotspot or proxy something ..how can I figure it out? I tried both in my ubuntu and Windows with WSL

sezan92 gravatar image sezan92  ( 2017-12-29 07:01:26 -0600 )edit
1

You're forgetting your ISP might be using/forcing you to use a proxy.

I'm not saying this is the problem, but hash mismatches point to corrupted data.

Try using a different mirror and see if that changes anything. It may be a transient error.

gvdhoorn gravatar image gvdhoorn  ( 2017-12-29 07:03:27 -0600 )edit

2 Answers

Sort by ยป oldest newest most voted
0

answered 2017-12-30 06:51:15 -0600

sezan92 gravatar image

Hello. I have solved the problem. The real problem was in apt-get mismatch. I had to solve it by upgrading apt verstion to 1.2.0. The details are mentioned here

edit flag offensive delete link more
0

answered 2017-12-28 20:56:57 -0600

jayess gravatar image

Did you try doing what the error tells you to do? Namely,

sudo apt-get update

or

sudo apt-get update --fix-missing
edit flag offensive delete link more

Comments

yeah, I did it

sezan92 gravatar image sezan92  ( 2017-12-28 20:58:24 -0600 )edit

Can you please update your question with the output of those commands?

jayess gravatar image jayess  ( 2017-12-28 21:16:04 -0600 )edit

updated an saved

sezan92 gravatar image sezan92  ( 2017-12-28 21:29:21 -0600 )edit

ok , it would be great if somebody could answer instead of updating questions :3

sezan92 gravatar image sezan92  ( 2017-12-29 02:05:21 -0600 )edit

Sometimes the questions don't provide enough information to give answers.

jayess gravatar image jayess  ( 2017-12-29 02:08:45 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2017-12-28 06:15:20 -0600

Seen: 402 times

Last updated: Dec 30 '17