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

Can't start appimagetool #40

Open
JakobDev opened this issue Dec 12, 2023 · 10 comments
Open

Can't start appimagetool #40

JakobDev opened this issue Dec 12, 2023 · 10 comments

Comments

@JakobDev
Copy link

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]$ 
@TheAssassin
Copy link
Member

TheAssassin commented Dec 12, 2023

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.

@JakobDev
Copy link
Author

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.

@TheAssassin
Copy link
Member

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

@TheAssassin
Copy link
Member

TheAssassin commented Dec 12, 2023

Also, please try outside of /tmp as well.

@JakobDev
Copy link
Author

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.

@TheAssassin
Copy link
Member

TheAssassin commented Dec 12, 2023

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

Edit: you already did, my bad!

@TheAssassin
Copy link
Member

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

@mnn
Copy link

mnn commented Aug 8, 2024

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.

@probonopd
Copy link
Member

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
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants