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

Upgrade to ros-melodic from ros-kinetic

asked 2020-02-05 17:59:23 -0600

rosbie0602 gravatar image

I want to upgrade to Ubuntu 18.04, so i'm planning to upgrade from Ubuntu 16.04. Since i know ros-kinetic is not supported on Ubuntu 18.04. So i'm ready to use ros-melodic. But the question is before upgrading to Ubuntu to 18.04 should i uninstall ros-kinetic first?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
2

answered 2020-02-05 20:51:06 -0600

I actually recently did this transition myself for my home machines.

If you attempt to go through the Ubuntu upgrade system to change to 18.04, you'll get about 80% done and it'll complain about some really esoteric things that couldn't be changed. I don't remember off hand. After a few hours of investigating, I figured it may be ROS because that's the only non-vanilla thing I have on my machine.

After uninstalling ROS, and attempting again, it worked fine. So yes, I would recommend fully uninstalling ROS Kinetic. After the upgrade, go through a fresh Melodic install.

edit flag offensive delete link more
1

answered 2020-02-05 19:43:30 -0600

I did this recently, but I did not upgrade via the Ubuntu upgrade, I copied my important data to another hard-drive and reformatted my disk with fresh install of Ubuntu 18.04. I think in your case it is better to completely remove all existing ros-kinetic packages , then upgrade to 18.04 and finally reinstall ros-melodic packages.

edit flag offensive delete link more

Comments

The reason I don't want to fresh install ubuntu 18.04 is that I have dual booted my laptop and i don't trust Ubuntu installation process.

rosbie0602 gravatar image rosbie0602  ( 2020-02-05 23:04:40 -0600 )edit

yes, I did so because I needed to reformat my computer anyway,otherwise I would also follow upgrade process instead of fresh install

Fetullah Atas gravatar image Fetullah Atas  ( 2020-02-05 23:12:49 -0600 )edit

Does workspace built in kinetic remain as it is after upgrading to melodic ?

Santosh gravatar image Santosh  ( 2020-10-11 00:35:45 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2020-02-05 17:59:23 -0600

Seen: 1,556 times

Last updated: Feb 05 '20