[Pkg-utopia-maintainers] Bug#1082121: libostree-1-1: `flatpak update` fails: src/libostree/ostree-fetcher-curl.c:534:sock_cb: code should not be reached
Simon McVittie
smcv at debian.org
Tue Oct 1 11:55:49 BST 2024
Control: found -1 2022.7-2
On Wed, 18 Sep 2024 at 16:39:42 +0100, Simon McVittie wrote:
> After upgrading curl to 8.10.0, `flatpak update` fails with:
>
> > OSTree:ERROR:src/libostree/ostree-fetcher-curl.c:534:sock_cb: code should not be reached
> > Bail out! OSTree:ERROR:src/libostree/ostree-fetcher-curl.c:534:sock_cb: code should not be reached
> > [1] 21258 IOT instruction (core dumped) flatpak update
(-backports cc'd for visibility)
This also affects bookworm if using libcurl3-gnutls from
bookworm-backports. I would suggest avoiding backports of core libraries
like libcurl unless you have a specific reason to need them.
Minimal reproducer:
$ podman run --rm -it debian:bookworm-slim
# echo "deb http://deb.debian.org/debian bookworm-backports main" > /etc/apt/sources.list.d/debian-backports.list
# apt update
# apt install --no-install-recommends flatpak ca-certificates
# apt install libcurl3-gnutls/bookworm-backports
# flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
# flatpak install flathub org.gnome.Recipes
If the upstream fix applies cleanly to bookworm's libostree 2022.7-2,
then I'm going to ask the stable release team for permission to include
it in the next bookworm point release.
smcv
More information about the Pkg-utopia-maintainers
mailing list