Closed nook24 closed 2 months ago
that is unfortunate, indeed. we switched to ubuntu22 for the runners. I guess aptly should be build per distribution, not just a generic "nightly"..
I updated the pipeline to build for focal and other distributions separately (PR pending).
The APT repository you were using should be updated as well, and work again. Could you confirm ?
Additionally, the following new APT source should be used from now on:
deb http://repo.aptly.info/nightly-focal focal main
Would be nice if you could also confirm the same packages is available here and that it works :)
website updated: https://www.aptly.info/download/
nightly-jammy and nightly-focal seem to work for me.
The jammy one was dynamically linked with libc, focal was static build. Makes sense to me.
Hi @neolynx I can confirm that the focal nightly builds are working perfectly fine :)
Many thanks, I will close the issue as resolved
I am using the nightly repository of aptly
deb http://repo.aptly.info/ nightly main
and noticed, that the current version is not running on Ubuntu Focal 20.04 anymore:Detailed Description
I guess the issue is caused by a change in the build environment. Probably the current version got build on a newer version of Linux, such as Ubuntu 22.04 or Debian 12 for example.
Ubuntu 20.04 on the other hand uses
GLIBC 2.31
. The latest known nightly build that is running on GLIB 2.31 systems is1.5.0+64+gf1649a64
which can be installed viaapt-get install aptly=1.5.0+64+gf1649a64
Context
I know that the nightly repository is not for production and the stable repository still ships a version that runs fine on Ubuntu 20.04. With that said, I guess there is no benefit in requiring
GLIBC_2.32
and the issue is just due to the fact, that the current version of aptly is getting build on a more modern system.Ubuntu 20.04 has still active support until Apr 2025, having still support for it would be nice.
Possible Implementation
To be as compatible as possible, I would recommend to use an older version of Debian/Ubuntu to build aptly. I personally use Docker for this. For example the official golang docker image
1.22.0-bullseye
should resolve this issue.Your Environment
Ubuntu 20.04, amd64
I'm using the nightly version because there where some missing features in the stable, cant remember which feature it was exactly. I know this is an edge case, noting to important.