2

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

Or

sudo apt install ros-melodic-desktop

Or

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.

jrandiny
  • 957
  • 5
  • 16

2 Answers2

5

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:

Kulfy
  • 17,696
1

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.

beiju
  • 111