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

How to install ROS indigo in Ubuntu 14.04 trusty 64-bit?

asked 2014-08-14 05:21:41 -0500

arkin gravatar image

updated 2014-08-14 10:14:43 -0500

bvbdort gravatar image

when I tried to install ROS in a 64-bit Ubuntu, some problems occurred.


arkin@arkin-OptiPlex-790:~$ sudo apt-get install ros-indigo-desktop-full 

Reading package lists... Done

Building dependency tree     

Reading state information... Done

Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:

 ros-indigo-desktop-full:i386 : 

Depends: ros-indigo-desktop:i386 but it is not going to be installed

Depends: ros-indigo-perception:i386 but it is not going to be installed

Depends: ros-indigo-simulators:i386 but it is not going to be installed

E: Unable to correct problems, you have held broken packages.

===============================================

What is the problem? How to solve it?

Also I tried in Synaptic. I typed "ros-indigo-desktop" in the filter and the results are:

ros-indigo-rosh-desktop: i386

ros-indigo-rosh-desktop-plugins: i386

ros-indigo-desktop-full: i386

ros-indigo-desktop: i386

why they all have an suffix "i386"? (my OS is Ubuntu-14.04-AMD64)

But if I search it in terminal, it shows that:

arkin@arkin-OptiPlex-790:~$ sudo apt-cache search ros-indigo-desktop

[sudo] password for arkin: 

ros-indigo-desktop - A metapackage to aggregate several packages.

ros-indigo-desktop-full - A metapackage to aggregate several packages.

Does the ROS have 64bits version and 32bits version respectively?

How to install a 64-bit version of ROS correctly in a AMD64 version of Ubuntu 14.04 trusty?

Thank you!

edit retag flag offensive close merge delete

Comments

Tell us please which architecture you have typing in a console:

$uname -m
Andromeda gravatar image Andromeda  ( 2014-08-14 06:36:08 -0500 )edit

I don't know how to make the code typed in a console showed in a cell. How to make it? It makes the text very easy to read.

arkin gravatar image arkin  ( 2014-08-15 09:27:07 -0500 )edit

Copy the text after '$' and paste it in a terminal(ctrl+alt+T)

Anurag gravatar image Anurag  ( 2017-07-11 08:13:36 -0500 )edit

5 Answers

Sort by » oldest newest most voted
2

answered 2014-08-14 05:34:53 -0500

This looks like your package manager tries to install the i386 version of ROS packages even though you are on a amd64 (64bit) system. I´m not exactly sure what the cause is, but it appears there is some misconfiguration in your system/package management setup.

edit flag offensive delete link more

Comments

I just tried to install the ROS indigo following the tips on the ROS website http://wiki.ros.org/indigo/Installati... . But how to let the apt-get download a AMD64 version ROS? Is there ROS indigo 64bits and 32bits respectively?

arkin gravatar image arkin  ( 2014-08-14 08:04:11 -0500 )edit
1

I think that you should try to setup the mirrors. Try these commands:

sudo sh -c '. /etc/lsb-release && echo "deb http://mirror.umd.edu/packages.ros.org/ros/ubuntu $DISTRIB_CODENAME main" > /etc/apt/sources.list.d/ros-latest.list'
wget https://raw.githubusercontent.com/ros/rosdistro/master/ros.key -O - | sudo apt-key add -
sudo apt-get update
sudo apt-get install ros-indigo-desktop-full

I think that you'll be able to download and install de desktop-full version

Joao Luis gravatar image Joao Luis  ( 2014-08-14 09:41:58 -0500 )edit

Thank you. I tried the commands and replaced the "$DISTRIB_CODENAME" with my ubuntu versin "trusty", but it still does not work. It shows:

$uname -m

arkin@arkin-OptiPlex-790:~$ sudo apt-get install ros-indigo-desktop-full

Reading package lists... Done Building dependency tree
Reading state information... Done

Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming.

The following information may help to resolve the situation:

The following packages have unmet dependencies: ros-indigo-desktop-full:i386 : Depends: ros-indigo-desktop:i386 but it is not going to be installed Depends: ros-indigo-perception:i386 but it is not going to be installed Depends: ros-indigo-simulators:i386 but it is not going to be installed

E: Unable to correct problems, you have held broken packages.

Is there any problems with my package manager setting ...(more)

arkin gravatar image arkin  ( 2014-08-15 09:19:09 -0500 )edit

If synaptic is trying to install i386 you have set a setting somewhere to tell apt to install i386 instead of amd64. You'll need to find that setting and undo it. There are 32 and 64 bit versions of ROS packages.

tfoote gravatar image tfoote  ( 2014-08-18 02:10:26 -0500 )edit

Oh,my god, now ,I have met the same problem. I am looking forward to finding a approach.

manipulator gravatar image manipulator  ( 2015-07-08 10:39:50 -0500 )edit

Amazing. This worked. Setting up the mirrors worked !! I am new to ubuntu and i just followed the instructions in this post. I would be delighted if someone explains me what just happened

Anurag gravatar image Anurag  ( 2017-07-11 08:28:38 -0500 )edit
0

answered 2017-08-22 09:15:42 -0500

I did a clean install of Ubuntu 64-bit 14.04.1 and ros indigo and everything worked fine.

I was unable install onto a clean Ubuntu 64-bit 14.04.5 even with all the above advice.

edit flag offensive delete link more
1

answered 2016-07-27 07:12:05 -0500

jtim gravatar image

I ran into the problem. trying to manually installing it resulted in a number of packages needed to be installed. But then it worked:

sudo apt-get install tcl-vtk
sudo apt-get install python-vtk
sudo apt-get install ros-indigo-pcl-ros
sudo apt-get install ros-indigo-perception-pcl
sudo apt-get install ros-indigo-perception

and now the full install works. when you run the line:

sudo apt-get install ros-indigo-desktop-full
edit flag offensive delete link more

Comments

1

Thanks!, its works in ubuntu 14.04.5!.

Alymna gravatar image Alymna  ( 2016-08-05 10:06:18 -0500 )edit

Thanks, It solves my problem as well !

mr101470 gravatar image mr101470  ( 2017-02-21 14:24:17 -0500 )edit
0

answered 2016-01-28 22:28:29 -0500

hxhx gravatar image

There might be a chance that your software source is incomplete. Go to software center and type in "Software & Updates". Under the ubuntu software tab, change to "Main Server" under "Download From: ". run

sudo apt-get update

again and whatever that follows.

edit flag offensive delete link more
10

answered 2014-10-11 01:22:57 -0500

Guangqi Chen gravatar image

Maybe gazebo4 was installed, remove it and libraries.

Run the command as follows.

$ sudo apt-get install libsdformat1

Then install indigo. good luck!

edit flag offensive delete link more

Comments

Thankss! it worked for me.

minerva gravatar image minerva  ( 2015-01-28 13:11:52 -0500 )edit

woow man this solution is the best, 1 hour searching, very thanks.

blasco23 gravatar image blasco23  ( 2015-09-16 15:57:16 -0500 )edit

I removed Jade and re-install indigo version, the same prob. Thank you.

science00000 gravatar image science00000  ( 2016-01-02 12:23:51 -0500 )edit

Awesomee.. worked for me, thanks..

Kiran gravatar image Kiran  ( 2016-02-06 20:30:40 -0500 )edit

Thanks! Worked for me. I think in my case the problem was caused because I had installed/ removed a different distro previously.

jubeira gravatar image jubeira  ( 2017-05-06 12:36:00 -0500 )edit

removing gazebo did it for me

Tonystark124 gravatar image Tonystark124  ( 2017-07-16 11:16:51 -0500 )edit

Not for me

mcamarneiro gravatar image mcamarneiro  ( 2017-09-26 09:44:35 -0500 )edit

God!!!!!! It works!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Should update after install libsdformat1. Does anyone know why?

wuandwen1 gravatar image wuandwen1  ( 2018-01-10 01:28:31 -0500 )edit

Question Tools

3 followers

Stats

Asked: 2014-08-14 05:21:41 -0500

Seen: 19,337 times

Last updated: Jul 27 '16