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

Rollback ROS Version

asked 2017-04-19 15:34:08 -0500

sirsomething gravatar image


Recently I stopped being able to compile a package, both on ros Jade and Kinetic and my answer is if I can revert the ROS version to one in which my package worked. I don't know if I made myself clear but that's basically it!


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2017-04-19 17:29:27 -0500

Geoff gravatar image

You can install an older version of ROS (I assume you want ROS Indigo) alongside Jade and Kinetic. Which version of ROS is active and used depends on which setup.bash file you source in your terminal. Most people have one sourced automatically in .bashrc, but some people do not so they can choose which version of ROS to use manually.

So to change to an older version, you need to install the version you want to use, and you need to change the line in your shell init script to source that version (or remove the line and type it manually when you want to use ROS). You should also probably clean your workspace's build and devel directories, too.

If the older version you want to use is not available for your OS version, you might need to install it from source (see ).

You are also free to remove your current versions of ROS and install an older one instead.

edit flag offensive delete link more


That's not what I want. I just want a previous Jade version, not a previous distro

sirsomething gravatar image sirsomething  ( 2017-04-19 19:00:28 -0500 )edit

You will probably need to install from source, and it will be hard to identify the specific versions of packages you need. If you know which package is causing problems you can check out an earlier version of just that package's source into your workspace. Catkin will use it over the system version.

Geoff gravatar image Geoff  ( 2017-04-19 19:06:58 -0500 )edit

Hum. At least that's a start. Can you point me to where can i download previous ros/ rospackages versions?

sirsomething gravatar image sirsomething  ( 2017-04-20 05:38:35 -0500 )edit

If you go to the package's wiki page, there will be a link to the source. If the source is in a repository, you need to find the tag corresponding to the version you want and clone that into your workspace. If you provide what package is causing the problem and the error, we can help more.

Geoff gravatar image Geoff  ( 2017-04-20 18:09:52 -0500 )edit

Question Tools

1 follower


Asked: 2017-04-19 15:34:08 -0500

Seen: 1,670 times

Last updated: Apr 19 '17