Unable to install ROS2 Foxy on RPI 4 running Ubuntu 21.10

I am unable to run the command sudo apt install ros-foxy-desktop. Following the guide here: . I am able to complete all the steps until the final install which gives these errors.

Any help would be much appreciated. I've already tried to install by the guide here . Is it because I am running ubuntu 21.10 desktop and need to be running 20.04 server? The issue I run into with the 20.04 server is that I won't be able to connect to the university I am at wifi, the wifi uses PEAP and I don't know how to set that up with the server to connect to the wifi.

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-foxy-action-msgs : Depends: libpython3.8 (>= 3.8.2) but it is not installable Depends: ros-foxy-unique-identifier-msgs but it is not going to be installed ros-foxy-action-tutorials-interfaces : Depends: libpython3.8 (>= 3.8.2) but it is not installable ros-foxy-actionlib-msgs : Depends: libpython3.8 (>= 3.8.2) but it is not installable ros-foxy-builtin-interfaces : Depends: libpython3.8 (>= 3.8.2) but it is not installable ros-foxy-composition-interfaces : Depends: libpython3.8 (>= 3.8.2) but it is not installable ros-foxy-demo-nodes-cpp-native : Depends: ros-foxy-fastrtps but it is not installable Depends: ros-foxy-rmw-fastrtps-cpp but it is not installable ros-foxy-depthimage-to-laserscan : Depends: libopencv-core4.2 (>= 4.2.0+dfsg) but it is not installable Depends: ros-foxy-image-geometry but it is not going to be installed ros-foxy-diagnostic-msgs : Depends: libpython3.8 (>= 3.8.2) but it is not installable ... ros-foxy-std-srvs : Depends: libpython3.8 (>= 3.8.2) but it is not installable ros-foxy-stereo-msgs : Depends: libpython3.8 (>= 3.8.2) but it is not installable ros-foxy-tf2-msgs : Depends: libpython3.8 (>= 3.8.2) but it is not installable ros-foxy-tf2-py : Depends: libpython3.8 (>= 3.8.2) but it is not installable ros-foxy-trajectory-msgs : Depends: libpython3.8 (>= 3.8.2) but it is not installable ros-foxy-turtlesim : Depends: libpython3.8 (>= 3.8.2) but it is not installable ros-foxy-visualization-msgs : Depends: libpython3.8 (>= 3.8.2) but it is not installable E: Unable to correct problems, you have held broken packages. 

1 Answer

Currently Foxy is build for 20.04 and as such there is not a 21.04 release you can install. You will either have to install 20.04 or run some sort of container(i.e. docker).

As for the PEAP authentication, I would potentially look at this askubuntu thread.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

You Might Also Like