Ask Your Question
0

Install ros-hydro-rqt failed.

asked 2014-06-09 21:54:25 -0500

MIller gravatar image

system: ubuntu 12.04 LTS ROS version 1.9.54 I try to install ros-hydro-rqt, but failed.

sudo apt-get install ros-hydro-rqt
Failed to fetch http:packages.ros.org/ros/ubuntu/pool/main/r/ros-hydro-rqt/ros-hydro-rqt_0.2.13-0precise-20140130-2154-+0000_amd64.deb  Something wicked happened resolving 'packages.ros.org:http' (-5 - No address associated with hostname)
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted
1

answered 2014-06-10 01:38:27 -0500

gvdhoorn gravatar image

updated 2014-06-10 11:34:43 -0500

Failed to fetch http:packages.ros.org

If this is really a copy/paste, then it would seem the two forward slashes (ie: "//") are missing from the URL. The correct URL is:

http://packages.ros.org

Perhaps check and make sure that your sources.list or ros-latest.list contains the correct URL?


Edit: apparently the URL was missing the forward slashes due to not being able to post URLs.

Either this is then a transient network error, or something is wrong with the cached APT data. Try doing:

sudo apt-get clean
sudo apt-get update
sudo apt-get install ros-hydro-rqt

This might clear things up.

edit flag offensive delete link more

Comments

I delete the “//” by myself becase my account cann't post content with link.

MIller gravatar image MIller  ( 2014-06-10 08:55:36 -0500 )edit

Ok, well, are you able to do a 'ping packages.ros.org' on the machine where you are getting the error?

gvdhoorn gravatar image gvdhoorn  ( 2014-06-10 09:15:18 -0500 )edit

Internate is in good condition, ping time is within 30 ms.

MIller gravatar image MIller  ( 2014-06-10 09:36:45 -0500 )edit

Err http://packages.ros.org/ros/ubuntu/ precise/main ros-hydro-rqt amd64 0.2.13-0precise-20140130-2154-+0000 404 Not Found

MIller gravatar image MIller  ( 2014-06-10 09:37:12 -0500 )edit

I checked this directory: the coorsponding file has update to http://packages.ros.org/ros/ubuntu/pool/main/r/ros-hydro-rqt/ros-hydro-rqt_0.2.14-0precise-20140311-2004-+0000_amd64.deb So the system cannnot find it. But how can I fix this problem?

MIller gravatar image MIller  ( 2014-06-10 09:45:29 -0500 )edit

I'm not sure what could be happening here, but you might want to do a 'sudo apt-get clean', followed by a 'sudo apt-get update'. Then see if you can install your package using 'sudo apt-get install ros-hydro-rqt'.

gvdhoorn gravatar image gvdhoorn  ( 2014-06-10 10:13:48 -0500 )edit
0

answered 2014-06-10 10:04:13 -0500

MIller gravatar image

Thank you ! I directly download the latest file from website to my computer, and then installed by Ubuntu software center. ros-hydro-rqt_0.2.14-0precise-20140311-2004-+0000_amd64.deb

edit flag offensive delete link more

Comments

I would refrain from manually installing packages, if at all possible. Better to solve the original problem.

gvdhoorn gravatar image gvdhoorn  ( 2014-06-10 10:16:00 -0500 )edit

Yes, thank you, and I learn two more command: apt-get clean and apt-get update

MIller gravatar image MIller  ( 2014-06-10 10:42:03 -0500 )edit

Did the clean and update solve the problem?

gvdhoorn gravatar image gvdhoorn  ( 2014-06-10 10:44:50 -0500 )edit

yes, it works. I remove it first and then try again, it installed! thank you!

MIller gravatar image MIller  ( 2014-06-10 11:25:45 -0500 )edit

Ok, great. I've updated my original answer with the new info.

gvdhoorn gravatar image gvdhoorn  ( 2014-06-10 11:35:09 -0500 )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

2 followers

Stats

Asked: 2014-06-09 21:54:25 -0500

Seen: 524 times

Last updated: Jun 10 '14