Skip to content

Update packages for Ubuntu 24.04 - #283

Open
chhtz wants to merge 1 commit into
masterfrom
fix/ubuntu24_osdeps
Open

Update packages for Ubuntu 24.04#283
chhtz wants to merge 1 commit into
masterfrom
fix/ubuntu24_osdeps

Conversation

@chhtz

@chhtz chhtz commented Jan 27, 2026

Copy link
Copy Markdown
Member

These are some osdeps which need to be changed for Ubuntu 24.

  • libsdformat unfortunately is not provided by Ubuntu 24 anymore. The easiest way I found to install it is via the gazebo repositories (building from source requires also downloading lots of dependencies just for their build-system).
    Under Ubuntu 22 it is available as libsdformat-dev and installs version 12.3 (libsdformat6-dev actually links to version 12.3 as well)
  • pypy does not exist anymore but pypy3 does
  • libprocps-dev is replaced by libproc2-dev (this may not be completely compatible though)

For all packages I'm open for discussions which version/OS should be "default".
At some point we may also want to remove very old OS versions? (I doubt anyone has tested Ubuntu 14.04 recently ...)

@chhtz

chhtz commented Jan 28, 2026

Copy link
Copy Markdown
Member Author

libprocps-dev can't directly be replaced by libproc2-dev, they do (approximately) the same thing, but have completely different APIs. Maybe better mark the first as nonexistant on Ubuntu 24?

@pierrewillenbrockdfki

Copy link
Copy Markdown
Contributor

I heard that the default should be the most recent OS version, because that allows newer versions to work seamless if they use the same package name.

@doudou

doudou commented Feb 2, 2026

Copy link
Copy Markdown
Member

libprocps-dev can't directly be replaced by libproc2-dev, they do (approximately) the same thing, but have completely different APIs. Maybe better mark the first as nonexistant on Ubuntu 24?

That would be fair IMO

@doudou

doudou commented Feb 2, 2026

Copy link
Copy Markdown
Member

I heard that the default should be the most recent OS version, because that allows newer versions to work seamless if they use the same package name.

Ideally, if possible, yes.

@doudou

doudou commented Feb 2, 2026

Copy link
Copy Markdown
Member
  • libsdformat unfortunately is not provided by Ubuntu 24 anymore. The easiest way I found to install it is via the gazebo repositories (building from source requires also downloading lots of dependencies just for their build-system).
    Under Ubuntu 22 it is available as libsdformat-dev and installs version 12.3 (libsdformat6-dev actually links to version 12.3 as well)

I agree. Building these packages is a pain.

I don't know what's the best option. I'm personally fine with importing the gazebo repositories since we actually use gazebo... Other option would be to disable SDF support in gui/robot_model by default.

@doudou doudou left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IMO best is to remove the

Comment thread rock.osdeps
'12.10,13.04,13.10': libprocps0-dev
'14.04,14.10,15.04,15.10': libprocps3-dev
'16.04': libprocps4-dev
'24.04': libproc2-dev

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As you suggested, I think the best is to mark it as nonexistent instead of adding libproc2-dev here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants