Skip to content

Upgrade Appimage runtime? #76

@lalten

Description

@lalten

The latest zsync2 releases fail on Ubuntu 22+ because of the Fuse 2 thing.

❯ wget https://github.com/AppImageCommunity/zsync2/releases/download/2.0.0-alpha-1-20230304/zsync2-63-1608115-x86_64.AppImage
❯ chmod +x zsync2-63-1608115-x86_64.AppImage
❯ ./zsync2-63-1608115-x86_64.AppImage --version
dlopen(): error loading libfuse.so.2

AppImages require FUSE to run. 
You might still be able to extract the contents of this AppImage 
if you run it with the --appimage-extract option. 
See https://github.com/AppImage/AppImageKit/wiki/FUSE 
for more information

Would be nice to switch to a newer statically linked AppImage runtime.

Workaround:

❯ wget https://github.com/lalten/type2-runtime/releases/download/build-2022-10-03-f216acf/runtime-fuse3-x86_64
❯ wget https://github.com/AppImageCommunity/zsync2/releases/download/2.0.0-alpha-1-20230304/zsync2-63-1608115-x86_64.AppImage
❯ chmod +x zsync2-63-1608115-x86_64.AppImage
❯ offset=$(( $(./zsync2-63-1608115-x86_64.AppImage --appimage-offset) + 1 ))
❯ tail -c +$offset zsync2-63-1608115-x86_64.AppImage > zsync2.sqfs
❯ cat runtime-fuse3-x86_64 zsync2.sqfs > zsync2.appimage
❯ chmod +x zsync2.appimage
❯ ./zsync2.appimage --version
zsync2 version 2.0.0-alpha-1 (commit 1608115), build 63 built on 2023-03-04 00:30:21 UTC

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions