AppImage / appimagetool

A low-level tool to generate an AppImage from an existing AppDir
58 stars 11 forks source link

Can't start appimagetool #40

Open JakobDev opened 6 months ago

JakobDev commented 6 months ago

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 commented 6 months ago

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 commented 6 months ago

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 commented 6 months ago

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

TheAssassin commented 6 months ago

Also, please try outside of /tmp as well.

JakobDev commented 6 months ago

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 commented 6 months ago

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

Edit: you already did, my bad!

TheAssassin commented 1 month ago

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