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

asked 2021-02-23 08:55:30 -0600

newbie77 gravatar image

updated 2021-02-23 11:46:43 -0600

gvdhoorn gravatar image

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

edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by newbie77
close date 2021-02-23 13:28:28.084085

Comments

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

gvdhoorn gravatar image gvdhoorn  ( 2021-02-23 11:45:54 -0600 )edit

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.

newbie77 gravatar image newbie77  ( 2021-02-23 13:10:03 -0600 )edit

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.

gvdhoorn gravatar image gvdhoorn  ( 2021-02-23 13:16:30 -0600 )edit

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

newbie77 gravatar image newbie77  ( 2021-02-23 13:28:03 -0600 )edit

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

gvdhoorn gravatar image gvdhoorn  ( 2021-02-23 14:01:47 -0600 )edit