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

problem in installing hydro

asked 2014-07-30 23:41:10 -0500

jkota gravatar image

updated 2014-08-04 07:39:59 -0500

Hai, 1. I am new to linux and ROS. I am using 12.04 (32 bit) in a 64 bit machine. I tried to install ros-hydro package. After fetching (sudo apt-get install) 90-95% package, download stops by giving an error:

unable to fetch some archives maybe run apt-get update or try with fix-missing

Earlier, I installed same package in a 32 bit machine without any error.

  1. Links that are failed to open in terminal window are accessible through web browser in UBUNTU O.S.

  2. I am accessing internet through co-axial cable modem (does n't have any proxy settings)

Thanks, kota

edit retag flag offensive close merge delete

4 Answers

Sort by ยป oldest newest most voted
1

answered 2014-07-31 00:29:19 -0500

ahendrix gravatar image

It's possible that you hit the repository at a bad time.

Try running sudo apt-get update and then retrying your installation.

edit flag offensive delete link more

Comments

I've had trouble a couple times in the last week accessing all the ubuntu repositories. It's unusual but does happen sometimes.

tfoote gravatar image tfoote  ( 2014-08-14 11:18:45 -0500 )edit
1

answered 2014-07-31 01:05:21 -0500

ccapriotti gravatar image

On top of Hendrix's suggestion (meaning after you do an apt-get update) you might also want to try this:

apt-get --download-only

in order to force Ubuntu to download all of your stuff first; No install will take place. If the operation fails here, then, yes, it is a repository error. If it succeeds, move to the regular apt-get install and check if the error happens again.

Honestly, Hydro on Ubuntu 12.04 is VERY vanilla. Shouldn't fail at all.

Just in case, post you entire apt-get command, so we know what you are installing.

edit flag offensive delete link more
0

answered 2014-08-03 00:30:18 -0500

jkota gravatar image

I tried with download option. I got same problem while downloading. This is the output on terminal window. (i.e. unable to open some web pages. But these links are accessible in web browser)

Unable to connect to in.archive.ubuntu.com:http: [IP: 91.189.92.201 80] Err http://in.archive.ubuntu.com/ubuntu/ precise/universe libtbb-dev i386 4.0+r233-1 Unable to connect to in.archive.ubuntu.com:http: [IP: 91.189.92.201 80] Err http://in.archive.ubuntu.com/ubuntu/ precise/universe hddtemp i386 0.3-beta15-51 Unable to connect to in.archive.ubuntu.com:http: [IP: 91.189.92.201 80] Err http://in.archive.ubuntu.com/ubuntu/ precise/universe libassimp2 i386 2.0.863+dfsg-2 Unable to connect to in.archive.ubuntu.com:http: [IP: 91.189.92.201 80] Err http://in.archive.ubuntu.com/ubuntu/ precise/universe libassimp-dev i386 2.0.863+dfsg-2 Unable to connect to in.archive.ubuntu.com:http: [IP: 91.189.92.201 80] Get:198 http://security.ubuntu.com/ubuntu/ precise-security/main python-jinja2 i386 2.6-1ubuntu0.1 [158 kB] Fetched 165 MB in 33min 2s (83.4 kB/s)
Failed to fetch http://in.archive.ubuntu.com/ubuntu/p... Could not connect to in.archive.ubuntu.com:80 (91.189.92.201). - connect (101: Network is unreachable) [IP: 91.189.92.201 80] Failed to fetch http://in.archive.ubuntu.com/ubuntu/p... Unable to connect to in.archive.ubuntu.com:http: [IP: 91.189.92.201 80] Failed to fetch http://in.archive.ubuntu.com/ubuntu/p... Unable to connect to in.archive.ubuntu.com:http: [IP: 91.189.92.201 80] Failed to fetch http://in.archive.ubuntu.com/ubuntu/p... Unable to connect to in.archive.ubuntu.com:http: [IP: 91.189.92.201 80] Failed to fetch http://in.archive.ubuntu.com/ubuntu/p... Unable to connect to in.archive.ubuntu.com:http: [IP: 91.189.92.201 80] Failed to fetch http://in.archive.ubuntu.com/ubuntu/p... Unable to connect to in.archive.ubuntu.com:http: [IP: 91.189.92.201 80] Failed to fetch http://in.archive.ubuntu.com/ubuntu/p... Unable to connect to in.archive.ubuntu.com:http: [IP: 91.189.92.201 80] Failed to fetch http://in.archive.ubuntu.com/ubuntu/p... Unable to connect to in.archive.ubuntu.com:http: [IP: 91.189.92.201 80] Failed to fetch http://in.archive.ubuntu.com/ubuntu/p... Unable to connect to in.archive.ubuntu.com:http: [IP: 91.189.92.201 80] Failed to fetch http://in.archive.ubuntu.com/ubuntu/p... Unable to connect to in.archive.ubuntu.com:http: [IP: 91.189.92.201 80] Failed to fetch http://in.archive.ubuntu.com/ubuntu/p... Unable to connect to in.archive.ubuntu.com:http: [IP: 91.189.92.201 80] Failed to fetch http://in.archive.ubuntu.com/ubuntu/p... Unable to connect to in.archive.ubuntu.com:http: [IP: 91.189.92.201 ...
(more)

edit flag offensive delete link more

Comments

1

Hi. Just for a matter of organization, when getting back with more details, try to edit your original post, instead of "answering it". Now, for your problem, are you saying that those failed links work on a web browser ON UBUNTU itself, or is it a different machine ? This is very important.

ccapriotti gravatar image ccapriotti  ( 2014-08-03 02:43:06 -0500 )edit

Also, are you accessing the internet via a proxy ? Anything particular about your network ?

ccapriotti gravatar image ccapriotti  ( 2014-08-03 02:43:54 -0500 )edit
0

answered 2014-08-04 08:31:16 -0500

Moda gravatar image

Try to remove completely with sudo apt-get remove ros-* And then follow : http://wiki.ros.org/hydro/Installatio... and http://wiki.ros.org/ROS/Tutorials/Ins...

edit flag offensive delete link more

Comments

Problem was occurred, when i followed procedure given in these links.. I had removed the half installed files 2 or 3 times and tried to install again. I got same problem

jkota gravatar image jkota  ( 2014-08-04 10:32:21 -0500 )edit

when you removed the half installed before reinstalling, did you find the folder in /opt/ros/hydro? If yes try to remove the folder with the command rm or rmdir

Moda gravatar image Moda  ( 2014-08-05 02:08:13 -0500 )edit

Question Tools

2 followers

Stats

Asked: 2014-07-30 23:41:10 -0500

Seen: 727 times

Last updated: Aug 04 '14