I followed this link exactly: http://wiki.ros.org/melodic/Installation/Ubuntu

I started with setting up my sources.list:

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

Then setup my keys:

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

Then ensured my Debian package was up to date:

sudo apt update

This is all worked fine until it came to installation, any of the variants

sudo apt install ros-melodic-desktop-full


sudo apt install ros-melodic-desktop


sudo apt install ros-melodic-ros-base

All give me the error unable to locate package ros-melodic-desktop-full or it's variants but I don't understand why. When installing these on my other laptop I never ran into any problems and both originally run Windows and are running Ubuntu on a virtual machine.

  • Which Ubuntu version are you using? – Kulfy Feb 19 at 12:38
  • Sorry I should've specified, Ubuntu 19.10 – Mighty Funkster Feb 19 at 13:12
  • I can confirm that this doesn't work. The repository at packages.ros.org does not contain a package ros-melodic-desktop or any of the others you mention. You can see for yourself: in /var/lib/apt/lists/ in any of the packages.ros.org_ files, there is no line that starts with Package and contains ros-melodic. There must be something wrong on the server side. – Jos Feb 19 at 14:10
  • @Jos That seems like an answer :) – Kulfy Feb 19 at 14:16
  • 1
    @Jos IIRC deb files are located in pool. The package locations are generally provided in Packages file. It seems packages file for Bionic is ok but that of Eoan is incomplete. (Related: How to see all packages in a package repository? Website or command line?) – Kulfy Feb 19 at 14:32

The Packages file for Eoan doesn't have entries for the above said packages. On the other hand, those are available in that of Bionic. The packages seems to have been removed for all new releases since the Packages file for Disco also don't have information for those packages. The dependencies in newer releases can't be satisfies without breaking the operating system. This could be a reason for the removal.

Moreover even if you try to use Bionic Beaver's software sources for installing those packages in newer releases, the dependencies won't still get satisfied. If you really need to use those packages, either use Bionic Beaver or compile from source.

Related posts:


ROS Melodic is only required to support Ubuntu 17.10 and 18.04. According to this answer on the ROS Answers support forum, there is no ROS distribution intended to run on 19.10.

In general, each ROS release only supports a few operating systems and you will face significant friction if you try to use anything else. Unless you have a strong reason not to, I suggest using your ROS version's primarily targeted OS, which for Melodic is Ubuntu 18.04.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.