appimagetool icon indicating copy to clipboard operation
appimagetool copied to clipboard

Can't start appimagetool

Open JakobDev opened this issue 1 year ago • 11 comments

I can't start the current build of appimagetool.

[jakob@PC tmp]$ wget https://github.com/AppImage/appimagetool/releases/download/continuous/appimagetool-x86_64.AppImage
--2023-12-12 09:24:06--  https://github.com/AppImage/appimagetool/releases/download/continuous/appimagetool-x86_64.AppImage
Loaded CA certificate '/etc/ssl/certs/ca-certificates.crt'
Resolving github.com (github.com)... 140.82.121.3
Connecting to github.com (github.com)|140.82.121.3|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://objects.githubusercontent.com/github-production-release-asset-2e65be/658450330/c2a3edef-9172-4b32-b030-65d09cd20e4e?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20231212%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20231212T082410Z&X-Amz-Expires=300&X-Amz-Signature=8e0d5be018a685e29f3d9a0fda4def6d54b4d1b444c7b6153dd58a2096987e90&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=658450330&response-content-disposition=attachment%3B%20filename%3Dappimagetool-x86_64.AppImage&response-content-type=application%2Foctet-stream [following]
--2023-12-12 09:24:07--  https://objects.githubusercontent.com/github-production-release-asset-2e65be/658450330/c2a3edef-9172-4b32-b030-65d09cd20e4e?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20231212%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20231212T082410Z&X-Amz-Expires=300&X-Amz-Signature=8e0d5be018a685e29f3d9a0fda4def6d54b4d1b444c7b6153dd58a2096987e90&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=658450330&response-content-disposition=attachment%3B%20filename%3Dappimagetool-x86_64.AppImage&response-content-type=application%2Foctet-stream
Resolving objects.githubusercontent.com (objects.githubusercontent.com)... 185.199.110.133, 185.199.109.133, 185.199.108.133, ...
Connecting to objects.githubusercontent.com (objects.githubusercontent.com)|185.199.110.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 12493216 (12M) [application/octet-stream]
Saving to: 'appimagetool-x86_64.AppImage'

appimagetool-x86_64.AppImage                        100%[=================================================================================================================>]  11.91M  11.0MB/s    in 1.1s    

2023-12-12 09:24:08 (11.0 MB/s) - 'appimagetool-x86_64.AppImage' saved [12493216/12493216]

[jakob@PC tmp]$ chmod +x ./appimagetool-x86_64.AppImage 
[jakob@PC tmp]$ ./appimagetool-x86_64.AppImage --help
execv error: No such file or directory
[jakob@PC tmp]$ sha256sum ./appimagetool-x86_64.AppImage 
536f682ea833ce426225a3c56279bad6a4ef11a84edef5b361f1048891135b5f  ./appimagetool-x86_64.AppImage
[jakob@PC tmp]$ 

JakobDev avatar Dec 12 '23 08:12 JakobDev

Does your /tmp happen to be mounted with noexec? You can check that with the mount command.

Edit: forgot to mention, it's working fine here.

TheAssassin avatar Dec 12 '23 10:12 TheAssassin

Does your /tmp happen to be mounted with noexec?

No

[jakob@PC ~]$ mount | grep /tmp
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,size=2169672k,nr_inodes=1048576,inode64)

Other AppImages e.g. the older continuous build of AppImageKit are working fine.

JakobDev avatar Dec 12 '23 11:12 JakobDev

Please add more details on your environment. For instance, what distro (release), how you installed it, ...

TheAssassin avatar Dec 12 '23 11:12 TheAssassin

Also, please try outside of /tmp as well.

TheAssassin avatar Dec 12 '23 11:12 TheAssassin

I'm using Manjaro stable. Please tell me what additional information you need.

Also, please try outside of /tmp as well.

That's a misunderstanding. I'm in a directory inside my home called tmp.

JakobDev avatar Dec 12 '23 11:12 JakobDev

I see. Please link a version of appimagetool that definitely works for you.

Edit: you already did, my bad!

TheAssassin avatar Dec 12 '23 12:12 TheAssassin

Do you have AppImageLauncher installled? If so, please uninstall temporarily, then try again. Your configuration will be preserved.

TheAssassin avatar May 05 '24 20:05 TheAssassin

Was getting same error as OP. Tried removing AppImageLauncher, then it started to give different error:

❯ ./appimagetool-x86_64.AppImage --help
zsh: no such file or directory: ./appimagetool-x86_64.AppImage
❯ file appimagetool-x86_64.AppImage
appimagetool-x86_64.AppImage: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, BuildID[sha1]=55c0b73522bdeaa1df1ac7a2e58ecd2b703aafac, stripped

after installing the launcher I am back to original error:

❯ ./appimagetool-x86_64.AppImage
execv error: No such file or directory
❯ l appimagetool-x86_64.AppImage
.rwxr-xr-x 13M xxx   8 srp 08:02 appimagetool-x86_64.AppImage

I tried redownloading the file which didn't help, other appimages from same directory seem to work (cursor one asks if I want to integrate it, unfortunately didn't find any non-deleted hello world appimage and I can't build my own for obvious reasons).

Current Manjaro (updated last week), zsh. Downloaded from https://github.com/AppImage/appimagetool/releases/download/continuous/appimagetool-x86_64.AppImage.

mnn avatar Aug 08 '24 06:08 mnn

For clarification, does this issue only occur on systems on which appimagelauncher either is or has previously been installed?

In other words, can this issue be reproduced on systems on which appimagelauncher never has been installed`? If not, then the issue should be discussed at https://github.com/TheAssassin/AppImageLauncher/issues please.

probonopd avatar Aug 09 '24 08:08 probonopd

Hello @mnn and @JakobDev. Can you please retest this with the latest continuous build? Thanks.

probonopd avatar Nov 24 '24 19:11 probonopd

Please report AppImageLauncher issues at https://github.com/TheAssassin/AppImageLauncher.

probonopd avatar Dec 16 '24 12:12 probonopd