You’ll have to forgive my absolute ignorance as Ubuntu isn’t my native land.
I was trying to migrate the tile generation workflow for TIGERMap to a new piece of hardware and have hit a snag. The version of osmium currently available in my package manager is 1.16 (libosmium 2.20) which seems to have issues exporting json file (dies unexpectedly with return 137). The previous machine has a happily working version, (osmium 1.14 libosmium 2.18). Looking at the release notes, 1.18 may set me back on my way.
I am somewhat loathe to build it all from source when I suspect other folks would also benefit from a refreshed package.
Package search for Debian seems to be down at the moment, but for info Debian 13 (the latest stable release there) does have osmium version 1.18.0 in it. If you just need an “Ubuntu-like” OS and haven’t committed for other reasons than that might be an option. I can’t comment on how easy it’d be to build from source beyond that (given how easy to build its friends and relations are) I’d expect it to be easy.
I suspect both of these suggestions could get me unblocked but wouldn’t help our other Ubuntu running pals. I appreciate the responses and will investigate but I am happy to wait to see if there’s a better more “global” solution.
You can switch to Debian (which is mostly compatible to Ubuntu, especially if you are using only server-type stuff) and then use Debian Backports repo which usually has new releases of Osmium within a week or so. You can also try to just copy over the osmium binary from the other system, chances are that it will work if the systems are similar enough. And compiling your own isn’t that complicated either.
If you mean the package that’s available in the ubuntu repos for an old ubuntu release should be updated, that’s not going to happen, especially not for an LTS release. New package versions are only shipped with new ubuntu releases.
If you need a recent osmium on ubuntu, you’re stuck with compiling it on your own or trying a pre-built binary from somewhere else that’s likely compatible (i.e. debian).
Just to expand a bit on that; some of the library differences between Ubuntu 24 and Debian 13 can be seen on the switch2osm pages here and here. The main one (which won’t affect you but may affect other people) is the Mapnik version and library location change.
For you, if you’re tied to Ubuntu 24.04, I’d definitely suggest that you build the latest osmium from source.