Ask Your Question
1

To install ROS .debs by specifying their versions?

asked 2013-10-09 08:09:41 -0500

130s gravatar image

As the title says, I'd like to know if there's any way in ROS to install by specifying .deb version.

apt-get allows to install specific version of .deb; by following this link I can do like:

$ apt-get install ros-hydro-ros-comm=1.9.50-0precise-20131007-1614-+0000

But apparently the error occurs when I specify an older version (this version should be valid since I checked from here):

$ apt-get install ros-hydro-ros-comm=1.9.48-0precise-20130824-0432-+0000
E: Version '1.9.48-0precise-20130824-0432-+0000' for 'ros-hydro-ros-comm' was not found

I assume this error happens because the .deb repo I use (shadow-fixed) does not keep the older versions. I refrain from trying to hack too much into ROS' .deb repository to find a URL that could provide older .debs to apt-get. I'd rather ask for official ways to achieve this if any.

If there's .deb archive available that would be easy solution, but I don't stick to it. Thanks!


Background of this question; we've been talking to some corporate users and found that they tend to "freeze" the fundamental software (that we've been maintaining) once they have built it from source for a stability reason, often very long time ago so that the software can be obsolete compared to its recent versions. Now that we've been shifting to provide the same software from .deb, which is by itself very convenient and appreciated, the new issue here is apt-get with certain upgrade option replaces with the latest version.

So back to the original question, if there's a way to specify the older version numbers to install, that would be extremely useful for users who want to focus on their development.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2013-10-09 09:25:08 -0500

fergs gravatar image

You can't specify the older versions from packages.ros.org, they get removed when newer versions are added to the repository. If you want to lock to a specific version, you will probably have to create and host your own mirror of the debian repository, using a tool such as debmirror.

edit flag offensive delete link more

Comments

Helpful to know debmirror. Now I've escalated to wonder how to take a snapshot of all (or as available as possible) depended packages. Maybe better to be asked somewhere beyond ROS community?

130s gravatar image130s ( 2013-10-12 03:28:42 -0500 )edit

`apt-mirror` as described in this updated wiki page works pretty good for me http://wiki.ros.org/Mirrors#Creating_a_packages.ros.org_mirror to obtain all built `.debs` at the moment.

130s gravatar image130s ( 2013-12-12 21:03:56 -0500 )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: 2013-10-09 08:09:41 -0500

Seen: 128 times

Last updated: Oct 09 '13