Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AppImage file won't execute on Ubuntu: "AppImages require FUSE to run." #18633

Closed
Flimm opened this issue Jul 16, 2023 · 11 comments · Fixed by #18785
Closed

AppImage file won't execute on Ubuntu: "AppImages require FUSE to run." #18633

Flimm opened this issue Jul 16, 2023 · 11 comments · Fixed by #18785
Assignees
Labels
needs info More information is required before action can be taken needs review The issue needs review to set priority, fix version or change status etc.

Comments

@Flimm
Copy link

Flimm commented Jul 16, 2023

Issue type

Other type of issue

Bug description

It looks like this version of MuseScore was compiled using an old version of AppImage. Because of this, it won't launch on Ubuntu 23.04. Newer versions of AppImage support newer versions of Ubuntu, like 23.04. For more information, read this article and its comments.

Steps to reproduce

I downloaded the MuseScore application for Linux, in the AppImage format, from the website (link). I made the file executable, and then I attempted to run it. Nothing happened. I'm running Ubuntu 23.04.

I attempted to run it from the terminal, and this is the error message that I saw:

$ ./MuseScore-4.1.0.231921359-x86_64\(1\).AppImage 
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

Screenshots/Screen recordings

No response

MuseScore Version

OS: Ubuntu 23.04, Arch.: x86_64, MuseScore version (64-bit): 4.1.0-231921359, revision: github-musescore-musescore-2e3a93a

Regression

I don't know

Operating system

Ubuntu 23.04 (x86_64)

@muse-bot muse-bot added the needs review The issue needs review to set priority, fix version or change status etc. label Jul 16, 2023
@bkunda bkunda assigned igorkorsukov and shoogle and unassigned bkunda and DmitryArefiev Jul 17, 2023
@bkunda
Copy link

bkunda commented Jul 17, 2023

@igorkorsukov @shoogle when you get time can you please provide your assessment about what would be required to address this? Thanks!

@bkunda bkunda added the needs info More information is required before action can be taken label Jul 17, 2023
@ydalton
Copy link

ydalton commented Jul 17, 2023

Last time I heard AppImages still required libfuse2 in order to run. The article you linked doesn't say anything about AppImages using libfuse3, and it even tells you to install libfuse2 to get AppImages working. I could be wrong, though.

@AntonioBL
Copy link
Contributor

From what I see, there are two versions of appimagetool at the moment: the "classic" one, distributed in the Github repository AppImage/AppImageKit, and a new static-build one from the repository AppImage/appimagetool (this repository was created 3 weeks ago).
MuseScore is using the up-to-date "classic" version of appimagetool, see here, but it could switch to the static version by chagning the repository at that line (maybe also a coouple of other changes in the packaging script). This new version is still probably labelled as experimental, but it should work without the additional libfuse2 dependency.

@diedeno
Copy link

diedeno commented Jul 23, 2023

This was already the case with Ubuntu 22.04
see https://musescore.org/en/node/339543
Just install libfuse2

@AntonioBL
Copy link
Contributor

@Flimm : you can try to see if the following test AppImage of master branch works even without libfuse2:
https://github.com/AntonioBL/MuseScore/suites/14517667739/artifacts/821079092
(the zip archive contains the test AppImage and other folders that are not needed: you can delete them)
I swapped the old appimagetool with the newer one, and the resulting AppImage should have all the required libraries (e.g. libfuse2) statically linked.

@Flimm
Copy link
Author

Flimm commented Jul 24, 2023

Thanks @AntonioBL . The download you provided worked on my system, which doesn't have libfuse2 installed.

@AntonioBL
Copy link
Contributor

@Flimm : thank you for testing.
I will thus proceed with a pull request

@Flimm
Copy link
Author

Flimm commented Jul 28, 2023

The latest release ./MuseScore-4.1.1.232071203-x86_64.AppImage that was released two days ago still has this problem.

@AntonioBL
Copy link
Contributor

@Flimm : indeed, the new AppImage format is used at the moment only in master branch (i.e. future 4.2 version).
However, there seem to be some problem with the new format, see #18830
I suspect it could be an interaction between the AppImageLauncher and the AppImage itself.

@shoogle
Copy link
Contributor

shoogle commented Jul 31, 2023

Sadly we had to revert this fix. See #18830 (comment) for an explanation.

Feel free to re-open this issue when TheAssassin/AppImageLauncher#585 has been resolved upstream.


In the meantime, when Ubuntu users see this message:

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

The workaround is:

sudo add-apt-repository universe   # only needed in minimal environments (e.g. Docker, Live USB, etc.)
sudo apt install libfuse2

@worldwideweary
Copy link
Contributor

FWIW, by proxy, looks like Linux Mint will also have this problem...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs info More information is required before action can be taken needs review The issue needs review to set priority, fix version or change status etc.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

10 participants