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

Unable to locate package ros-melodic-desktop-full

asked 2018-04-28 07:33:45 -0500

ArkadiuszN gravatar image

updated 2018-04-28 08:54:00 -0500

Hey, I am trying to install the BETA version of ROS Melodic on Ubuntu 18.04 by following stanard installation instructions but end up with: Unable to locate package ros-melodic-desktop-full

It looks like everything is online and there's just no desktop-full on the repo. Is there any other way to currently install and test ros-melodic without building from source?

EDIT: Building from source also did not work for me:

$ rosinstall_generator desktop_full --rosdistro melodic --deps --tar > melodic-desktop-full.rosinstall
The following not released packages/stacks will be ignored: desktop_full
No packages/stacks left after ignoring not released

$ wstool init -j8 src melodic-desktop-full.rosinstall 
Using initial elements from: melodic-desktop-full.rosinstall
WARNING: Not using any element from melodic-desktop-full.rosinstall
Writing /home/arek/ros_catkin_ws/src/.rosinstall

update complete.

$ ./src/catkin/bin/catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release
bash: ./src/catkin/bin/catkin_make_isolated: No such file or directory

Anyone know what's wrong?

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted
3

answered 2018-04-28 09:04:17 -0500

gvdhoorn gravatar image

Anyone know what's wrong?

Nothing is really "wrong": there just isn't a version of desktop_full released for Melodic. The fact that the installation instructions won't work yet is also clearly stated at the top of the ROS Melodic installation instructions page:

CAUTION: Release of this distribution is pending.

ROS Melodic Morenia has not been fully released yet, so these instructions will not entirely work.

Trying to build this from source is not going to change it: rosinstall_generator won't be able to find a desktop_full package (as it can only build packages that have been released).

To install Melodic packages, you can check status_page/ros_melodic_default.html to see which packages have been released (this page is also linked from the Melodic install page, under section Build farm status). See status_page/blocked_releases_melodic.html to see why something hasn't/can't be released into Melodic yet.

Is there any other way to currently install and test ros-melodic without building from source?

Yes: install individual packages for now.

edit flag offensive delete link more

Comments

Oh, I get it. According to Melodic Planning there's no beta yet, my mistake. Thank you for your answer.

ArkadiuszN gravatar image ArkadiuszN  ( 2018-04-28 12:11:17 -0500 )edit

So it's 2020 and this still doesn't work, even though it has been released.

Yev_D gravatar image Yev_D  ( 2020-03-13 10:13:20 -0500 )edit

Do you expect any assistance?

Because if you do, then:

  • you should post a new question
  • provide much more information
gvdhoorn gravatar image gvdhoorn  ( 2020-03-13 10:31:07 -0500 )edit

That message is no longer on that page. Melodic full IS now released.

James Newton gravatar image James Newton  ( 2020-07-31 00:34:54 -0500 )edit
0

answered 2020-07-31 00:34:18 -0500

James Newton gravatar image

FYI, this also happens if you try to install Melodic on Ubuntu 16.04. Just in case anyone else tried that..

edit flag offensive delete link more
0

answered 2020-12-03 05:07:23 -0500

htanwar922 gravatar image

updated 2020-12-03 05:16:50 -0500

Dear reader,

The Ubuntu installation page gives the following first command:

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

Now if you are trying to install melodic on a Linux Distro not meant for melodic, for example I attempted installation on Ubuntu 20.04, then it will not add the repository for Melodic, but for Noetic (Ubuntu 20.04 or focal).

To install melodic, replace $(lsb_release -sc) in the above command by bionic (for Melodic) or say focal (for Noetic), or whichever Linux distro the ROS distro refers to..

Your command may now look like:

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

If you're going for multiple ROS Distro installations, use >> instead of > in the second command.

edit flag offensive delete link more

Comments

1

To install melodic, replace $(lsb_release -sc) in the above command by bionic (for Melodic) or say focal (for Noetic), or whichever Linux distro the ROS distro refers to..

to avoid future readers from trying to install ROS Noetic on Ubuntu Bionic (18.04) or ROS Melodic on Ubuntu Focal (20.04): the output of $(lsb_release -sc) is used to determine which OS you are running. You cannot install packages built for Ubuntu Bionic on Ubuntu Noetic, or the other way around.

So even though you could change focal to bionic in your ros-latest.list, that will most likely not work (or at least: won't work reliably).

Mixing and matching packages built for different versions of Ubuntu is often going to cause stability issues.

gvdhoorn gravatar image gvdhoorn  ( 2020-12-03 05:47:35 -0500 )edit

Question Tools

2 followers

Stats

Asked: 2018-04-28 07:33:45 -0500

Seen: 36,223 times

Last updated: Dec 03 '20