You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
AppImage file won't execute on Ubuntu: "AppImages require FUSE to run." #18633
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
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.
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.
@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.
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
Activity
bkunda commentedon Jul 17, 2023
@igorkorsukov @shoogle when you get time can you please provide your assessment about what would be required to address this? Thanks!
ydalton commentedon 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 commentedon Jul 18, 2023
From what I see, there are two versions of
appimagetoolat 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 commentedon Jul 23, 2023
This was already the case with Ubuntu 22.04
see https://musescore.org/en/node/339543
Just install libfuse2
AntonioBL commentedon Jul 24, 2023
@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 commentedon Jul 24, 2023
Thanks @AntonioBL . The download you provided worked on my system, which doesn't have
libfuse2installed.AntonioBL commentedon Jul 24, 2023
@Flimm : thank you for testing.
I will thus proceed with a pull request
Flimm commentedon Jul 28, 2023
The latest release
./MuseScore-4.1.1.232071203-x86_64.AppImagethat was released two days ago still has this problem.AntonioBL commentedon Jul 28, 2023
@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 commentedon 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:
The workaround is:
sudo add-apt-repository universe # only needed in minimal environments (e.g. Docker, Live USB, etc.) sudo apt install libfuse2worldwideweary commentedon Aug 1, 2023
FWIW, by proxy, looks like Linux Mint will also have this problem...