Robotics StackExchange | Archived questions

i can not install the ros on Ubuntu 12.04 (Precise)

the error is in Desktop-Full Install and it said that: unable to correct problem, you have held broken packages. what can i do? i also install ros on ubunto 14.04 and it was successful but i don't know what can i do about 12.04

Asked by alinouri on 2014-10-26 16:42:20 UTC

Comments

Please edit your question to include the exact command and copy and paste the error message.

Asked by ahendrix on 2014-10-26 19:06:45 UTC

you probably try to install ros-indigo-desktop-full on 12.04 which doesnt exist?

Asked by Mehdi. on 2014-10-26 21:42:51 UTC

yes mehdi when i go to software centre it said that it does not exist. but i install it successfully on 14.04 but my professor insist on 12.04 i study all in ROS web site about how to install it but i does not work and i think the problem is not from my side.

Asked by alinouri on 2014-11-02 09:14:11 UTC

Answers

In your Ubuntu Desktop page, goto (in left vertical bar of icons):

Ubuntu Software Center -> Edit -> Software Sources -> (Here Select in Download from:) Server for United States.

After doing this and saving, follow the installation procedure given here:

http://wiki.ros.org/hydro/Installation/Ubuntu

This should install without any errors now. The reason why your ROS didn't install initially may be due to 'Software Sources' which did not contain updated repository for Hydro. I hope this works now. Best Wishes!

PS: It is not necessary that you only select Server for United States all the times. It depends on which server the complete package is available. Right now, it is available at Server for United States.

Asked by mudassar on 2014-10-27 13:01:36 UTC

Comments

thanks the answer. now i check and it was on united state. maybe they remove it from server. is it possible?

Asked by alinouri on 2014-11-02 09:17:28 UTC

Please note that my answer is valid only for ROS Hydro on Ubuntu 12.04. I did not claim the answer for ROS indigo on Ubuntu 12.04.

Asked by mudassar on 2014-11-04 06:34:12 UTC

ROS Indigo is not supported on Ubuntu 12.04.

If you want to install ROS on 12.04, the recommended version is ROS Hydro: http://wiki.ros.org/hydro/Installation/Ubuntu

Asked by ahendrix on 2014-11-02 14:51:45 UTC

Comments