Ask Your Question
0

Installing Bootstrap Deps: can't find phython-ros for ARMv8

asked 2016-08-30 16:22:31 -0500

mark.douglas@nxp.com gravatar image

updated 2016-08-31 01:15:57 -0500

gvdhoorn gravatar image

Console:

root@ubuntu:~# apt-get install python-ros
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package python-ros
root@ubuntu:~#
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2016-08-31 01:21:31 -0500

gvdhoorn gravatar image

updated 2016-08-31 01:26:28 -0500

I'm guessing -- as you didn't tell us -- that you are trying to follow the Installation/Source instructions for Kinetic (but the initial steps are pretty similar for other ROS releases). If so, I think you've misinterpreted the shown commands.

Step 1.1 (Prerequisites - Installing bootstrap dependencies) asks you to run:

$ sudo apt-get install python-rosdep python-rosinstall-generator python-wstool python-ros
install build-essential

Perhaps the layout could be improved, but that is supposed to be a single line, like so:

$ sudo apt-get install python-rosdep python-rosinstall-generator python-wstool python-rosinstall build-essential

Note python-rosinstall, not python-ros.

There is no package python-ros (at least not in ROS), hence the error message you received.

In general: the wiki prefixes commands with either $ or #. This is standard Linux 'terminology': the $ is for commands executed as a normal user, the # for commands executed as root.

This same formatting also gives you a hint where commands begin and end: everything following a $ or # is a single command, even if it is line-wrapped. In your case there is only a single $, so everything following it should be on a single line.

edit flag offensive delete link more

Comments

oh!!! Thank you, thank you, thank you! this is infact totally my misinterpretation. --- Yes: please change the build from source step to "$ sudo apt-get install python-rosdep python-rosinstall-generator python-wstool python-rosinstall build-essential"

mark.douglas@nxp.com gravatar image mark.douglas@nxp.com  ( 2016-08-31 16:09:59 -0500 )edit

so I cannot build from source with the Indigo release base?

mark.douglas@nxp.com gravatar image mark.douglas@nxp.com  ( 2016-08-31 16:11:57 -0500 )edit

so I cannot build from source with the Indigo release base?

I'm not sure I understand you: what makes you think that?

gvdhoorn gravatar image gvdhoorn  ( 2016-09-01 01:45:07 -0500 )edit
1

Yes: please change the build from source step to [..]

I also don't completely understand this: the wiki already has all the packages on a single line, it's your browser that wraps it so it becomes two lines.

gvdhoorn gravatar image gvdhoorn  ( 2016-09-01 02:24:28 -0500 )edit

yes thanks the wrap occurred at an inconvenient point

and -> root@ubuntu:~# printenv | grep ROS_DISTRO ROS_DISTRO=indigo

so I'm good! Thanks!

mark.douglas@nxp.com gravatar image mark.douglas@nxp.com  ( 2016-09-01 12:54:17 -0500 )edit
1

Good to hear your got it to work.

gvdhoorn gravatar image gvdhoorn  ( 2016-09-01 13:55:35 -0500 )edit

fantastic support!!! --- I now have been able to run the tutorials (well the ones that don't depend on the pre-built tutorial package) and appear to have a fully running "Bare Bones" install of ROS on the NXP LS2088ARDB (ARMv8 A72) and the LS2080ARDB (ARMv8 A57) targets.

mark.douglas@nxp.com gravatar image mark.douglas@nxp.com  ( 2016-09-01 15:03:48 -0500 )edit

I am not sure what to do about the "$ sudo apt-get install ros-<distro>-ros-tutorials" package as these are prolly NOT ARMv8 binaries :-)

mark.douglas@nxp.com gravatar image mark.douglas@nxp.com  ( 2016-09-01 15:04:31 -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

Stats

Asked: 2016-08-30 16:22:31 -0500

Seen: 111 times

Last updated: Aug 31 '16