Robotics StackExchange | Archived questions

Unable to locate rosserial for noetic/ubuntu 20

I am getting unable to locate errors when trying to apt install rosserial (noetic)

sudo apt-get install ros-noetic-rosserial 

just like https://github.com/ros-drivers/rosserial/issues/499

which is resolved but doesn't seem to be working for me. I have updated my apt cash but no change. I'm about to just install from source but is there something small I'm missing?

Asked by masynthetic on 2020-10-17 14:00:20 UTC

Comments

Answers

I do not have any issues installing on Ubuntu 20.04 with the same command

sudo apt-get install ros-noetic-rosserial

As suggested in the GitHub thread, try running sudo apt update first.

Asked by jacobperron on 2020-12-18 14:59:54 UTC

Comments

Thanks for confirming yours works but I really don't know what to tell ya...

https://imgur.com/Lb3CJFw

Same thing on two different machines

Asked by masynthetic on 2020-12-18 20:07:19 UTC

To be sure, have you also run steps 1.2 and 1.3 in the install guide before running sudo apt update?

Asked by jacobperron on 2020-12-21 12:57:31 UTC

@masynthetic when you ran sudo apt update I see you have the ROS2 PPA from your imgur picture. When I run the same command it gives me 'http://packages.ros.org/ros/ubuntu focal InRelease' not what you have which is 'http://packages.ros.org/**ros2**/ubuntu focal InRelease'. Maybe that is the problem?

Asked by JackB on 2020-12-23 15:32:27 UTC

@jacobperron @JackB thanks a ton you were both correct that this was my issue. I am very new to ROS and I don't believe the tutorial I followed to install ROS has this step or at least I missed it.

I just followed 1.2 and 1.3 exactly, updated apt and tried again and it worked. Did not re-install ROS or anything, do you think that I should reinstall with the updated source list?

Asked by masynthetic on 2020-12-23 20:29:16 UTC