3

I have Ubuntu 20.04 LTS and I want to download ROS Melodic I have followed this instruction from here.

After sudo apt install ros-melodic-desktop-full command terminal is showing:

Unable to locate package ros-melodic-desktop-full
Kulfy
  • 18,154

2 Answers2

1
  1. Make sure to configure your Ubuntu repositories to allow restricted, universe, and multiverse. See this for a guide on how to do that.
  2. Issue the following command into terminal to setup your computer to accept software from packages.ros.org

    sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'
    
  3. Setup your keys by issuing the following into terminal:

    curl -sSL 'http://keyserver.ubuntu.com/pks/lookupop=get&search=0xC1CF6E31E6BADE8868B172B4F42ED6FBAB17C654' | sudo apt-key add -
    
  4. Update your packages

    sudo apt update
    
  5. Now install:

    sudo apt install ros-melodic-desktop-full
    
muru
  • 207,228
ldias
  • 2,135
0

I was trying to install ros2 jazzy on ubuntu 24.04 noble numbat and faced same problem. During update I got an error saying the package link is not signed. Hence the update did not happen properly. I needed to edit the sources.list.d to modify the link with trusted=yes. With this the update downloads the required packages. for me this solved the problem.