AppImage / AppImage/AppImageKit

Appimage does not launch (execv error: No such file or directory)

Đang mở
#1,004 10 bình luận 1 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Không có dữ liệu ngôn ngữ
Star
9.4k
Fork
588
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

**History :**
Hello, I am sure you know [Veracrypt](https://github.com/veracrypt/VeraCrypt) app. It has a very useful portable version for Windows (to make it executable from a USB device) but not for Linux.
Thank to the developer, there is a generic installer with tar.bz2 which can extract the files instead of installing on the computer (it means there is binaries, images, and desktop file included).

**Problem :**
AppImage is the ideal tool to make it executable as a portable app, but... I am not a developer (if only you knew about my job, it has nothing to do with it).

I followed step by step an excellent tutorial from @probonopd , everything goes well (I even have a `Success` message at the end). Unfortunately, when I launch `Veracrypt.AppImage`, absolutely nothing happens. From the CLI, the message is as bellow:
`execv error: No such file or directory`

What do you think of that? I can't find the reason for this bug, however, I'm sure I'm very close to succeeding, it's frustrating. Thank you very much for your help!

**Information about the step-by-step procedure I have followed :**

```
# 1. Make the AppDir :

cd ~/Documents
mkdir -p veracrypt/veracrypt.AppDir

# 2. Download the generic Veracrypt linux installer :

wget -c https://launchpad.net/veracrypt/trunk/1.24-hotfix1/+download/veracrypt-1.24-Hotfix1-setup.tar.bz2
tar -xf veracrypt-1.24-Hotfix1-setup.tar.bz2 -C veracrypt_archive/
cd veracrypt_archive
./veracrypt-1.24-Hotfix1-setup-gui-x64

# 3. Accept the license, select extract and go to /tmp to extract the tar.gz content into the AppDir :

cd /tmp
tar -xf veracrypt_1.24-Hotfix1_amd64.tar.gz -C ~/Documents/veracrypt/veracrypt.AppDir/

# 4. In "/usr/share/applications/veracrypt.desktop" file, add "Version=1.0" below "Encoding=UTF-8" line and edit "Categories" line as "Categories=Utility;". Otherwise, I have "deprecated" error messages.

# 5. Organize the AppDir and make the AppRun executable :

cd ~/Documents/veracrypt/veracrypt.AppDir/
cp ./usr/share/pixmaps/veracrypt.xpm .
cp ./usr/share/applications/veracrypt.desktop .
wget -c https://github.com/AppImage/AppImageKit/releases/download/12/AppRun-x86_64
chmod a+x AppRun-x86_64

# 6. Package the AppDir as an AppImage :

cd ..
wget -c https://github.com/AppImage/AppImageKit/releases/download/12/appimagetool-x86_64.AppImage
chmod a+x appimagetool-x86_64.AppImage
./appimagetool-x86_64.AppImage veracrypt.AppDir ./Veracrypt-x86_64.AppImage

# 7. Launch Veracrypt-x86_64.AppImage (this is where I have the error message : execv error: No such file or directory) :

./Veracrypt-x86_64.AppImage

```

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.