Robotics StackExchange | Archived questions

"Unable to locate package" for every package I try to install (RPi, Debian Buster)

I am attempting to add packages to ROS Noetic and keep getting the "unable to locate packages error." I am using a Raspberry Pi 4 running Buster. I have been able to download Raspberry Pi/Ubuntu packages so I am not sure why the issue is localized to ROS and need help. I have run through every tutorial or post I can find so I think my issue is unique.

-I have updated the server:

sudo apt-key adv --keyserver 'hkp://keyserver.ubuntu.com:80' --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654

-Tried the usual updates

sudo apt update

sudo apt upgrade

*upgrade ran fine and did update a few ROS items so there is some connectivity

-Tried many packages with the same results (Turtlesim, calibration-msgs, turtlebot, etc)

-Used differing methods to try and add the package

sudo get install ros-$(noetic -d)-turtlesim

sudo apt install ros-noetic-turtlesim

sudo apt install ros-noetic-calibration-msgs

sudo apt-get install ros-$(noetic -d)-turtlesim

sudo apt-get install ros-noetic-turtlesim

sudo apt install ros-noetic-diagnostics

The standard error I get:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package ros-noetic-diagnostics

I suspect there is something obvious that I am missing and appreciate help. Is it possible that updates are looking to the Ubuntu server and not finding ROS packages as a result of looking in the wrong place?

Thank you

Asked by newbie77 on 2021-02-23 09:55:30 UTC

Comments

Have you seen #q353145, #q353836 and #q350055? Do those help (or at least clarify)?

Asked by gvdhoorn on 2021-02-23 12:45:54 UTC

Thank you, I missed those. My interpretation is that the packages will not work as my OS is 32 bit. If this is correct I will post as an answer to my question. I plan to install Ubuntu 20.10 and try again.

Asked by newbie77 on 2021-02-23 14:10:03 UTC

I would actually suggest to close your question as a duplicate.

I plan to install Ubuntu 20.10 and try again.

there is no ROS 1 version which supports 20.10.

Asked by gvdhoorn on 2021-02-23 14:16:30 UTC

Will do, thank you. Good to know on ROS-1 and 20.10

Asked by newbie77 on 2021-02-23 14:28:03 UTC

You can check this yourself by looking at REP 3: Target Platforms.

Asked by gvdhoorn on 2021-02-23 15:01:47 UTC

Answers