ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

It's likely that executing the following command from the installation tutorial failed:

sudo sh -c 'echo "deb $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'

It's supposed to be all on a single line (ie: it's all a single command).

Depending on the width of your browser, it could be that you copied only the first part, ending at ros-.

Provided the rest of the command was actually successful, the following should fix the problem you are having:

sudo mv /etc/apt/sources.list.d/ros- /etc/apt/sources.list.d/ros-latest.list

If this does not complain (ie: print an error), you should be able to run sudo apt update. Make sure you've also imported the key.