ROS2 Foxy installation on Ubuntu 20.04 failed

Hi,

with the install instructions I tried to install the debian packages on a fresh installed Ubuntu 20.04.
It failed with

N: Skipping acquire of configured file ‘main/binary-i386/Packages’ as repository ‘http://packages.ros.org/ros2/ubuntu focal InRelease’ doesn’t support architecture ‘i386’

Is that a known issue ?
Any reason why the 64Bit packages could not be found ?

Thanks for any hint

Foxy hasn’t actually been released yet https://index.ros.org/doc/ros2/Releases/Release-Foxy-Fitzroy/#timeline-before-the-release

sure, thought as there are install instructions it would would just with daily updates or so.

Any Ros version yet supporting Ubuntu 20.04 ?

Not yet it only came out a week ago.

You’re error is failing to find 32bit packages (i386) not 64bit (amd64). We are not planning to support i386 on focal.

Noetic targets: REP 3 -- Target Platforms (ROS.org)

And proposed for Foxy: Add Foxy Fitzroy to REP 2000 by jacobperron · Pull Request #217 · ros-infrastructure/rep · GitHub

If you’d like to play with prereleased content there is the testing repository with some of the unreleased content:

http://wiki.ros.org/TestingRepository

For ROS 2 replace ros2 with ros2-testing in your above url.


If you have any followups we ask that you please ask questions on http://answers.ros.org following our support guidelines: Support - ROS Wiki

ROS Discourse is for news and general interest discussions. ROS Answers provides a Q&A site which can be filtered by tags to make sure the relevant people can find and/or answer the question, and not overload everyone with hundreds of posts.

There are the ROS2 Nightly Docker images that install the nightly fat archive the build farm publishes. If you’d like to get a jump start on porting your package to Foxy, that’s what some of us use to smoke test with. Just be aware that not all of ROS2 is included in the nightly fat archive, i.e. you can’t just apt install missing ros packages. But you could build them from source in a colcon overlay workspace.

docker pull osrf/ros2:nightly

There are also development Dockerfiles for building all of ROS2 master branch from source:

Sorry for the necro post, but I was following the instructions for installing on Ubuntu Focal 20 and hit the same issue. Searching Google lead me here (first link). Looking at the the various release notes, it seems like this should work now, so wanted to update here.

I had to make one small edit to my /etc/apt/sources.list.d/ros2-latest.list so it would only pull sources for amd64 architecture - it now looks like this:

deb [arch=amd64] http://packages.ros.org/ros2/ubuntu focal main

With this I’m able to install and run the talker/listener example.

1 Like

FYI, we have a documentation bug about this open at https://github.com/ros2/ros2_documentation/pull/744 . I think that this problem only happens when installing 20.04 in certain ways, since we didn’t see it in Foxy pre-release testing. In any case, that documentation bug should fix it once it is merged.

1 Like

Installing Foxy arm64 Ubuntu 20.04 also fails following the guide.

We ask that you please ask questions on http://answers.ros.org following our support guidelines: Support - ROS Wiki

ROS Discourse is for news and general interest discussions. ROS Answers provides a Q&A site which can be filtered by tags to make sure the relevant people can find and/or answer the question, and not overload everyone with hundreds of posts.