Ask Your Question
0

Rollback ROS Version

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

sirsomething gravatar image

Hello!

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!

Thanks

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

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

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 http://wiki.ros.org/indigo/Installati... ).

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

edit flag offensive delete link more

Comments

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

sirsomething gravatar imagesirsomething ( 2017-04-19 19:00:28 -0600 )edit
1

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 imageGeoff ( 2017-04-19 19:06:58 -0600 )edit

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

sirsomething gravatar imagesirsomething ( 2017-04-20 05:38:35 -0600 )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 imageGeoff ( 2017-04-20 18:09:52 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

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

Seen: 695 times

Last updated: Apr 19 '17