AppImageCrafters / appimage-builder

GNU/Linux packaging solution using the AppImage format
MIT License
308 stars 58 forks source link

I'm haging this error #291

Closed lucasmz1 closed 1 year ago

lucasmz1 commented 1 year ago

I am using salix linux a derivated of slackware

lucas[Downloads]$ ./appimage-builder-1.1.1.dev32+g2709a3b-x86_64.AppImage --recipe AppImageBuilder.yml INFO:main:Running main script rm -rf "$TARGET_APPDIR" || true INFO:main:Running apt deploy Traceback (most recent call last): File "/tmp/.mount_appimahMuQBb/usr/bin/appimage-builder", line 8, in sys.exit(main()) File "/tmp/.mount_appimahMuQBb/usr/lib/python3.8/site-packages/appimagebuilder/main.py", line 50, in main invoker.execute(commands) File "/tmp/.mount_appimahMuQBb/usr/lib/python3.8/site-packages/appimagebuilder/invoker.py", line 29, in execute command() File "/tmp/.mount_appimahMuQBb/usr/lib/python3.8/site-packages/appimagebuilder/commands/apt_deploy.py", line 42, in call apt_venv = self._setup_apt_venv() File "/tmp/.mount_appimahMuQBb/usr/lib/python3.8/site-packages/appimagebuilder/commands/apt_deploy.py", line 60, in _setup_apt_venv apt_venv = Venv( File "/tmp/.mount_appimahMuQBb/usr/lib/python3.8/site-packages/appimagebuilder/modules/deploy/apt/venv.py", line 39, in init self._deps = shell.require_executables(DEPENDS_ON) File "/tmp/.mount_appimahMuQBb/usr/lib/python3.8/site-packages/appimagebuilder/utils/shell.py", line 16, in require_executables paths[dep] = require_executable(dep) File "/tmp/.mount_appimahMuQBb/usr/lib/python3.8/site-packages/appimagebuilder/utils/shell.py", line 23, in require_executable raise CommandNotFoundError("Could not find '{exe}' on $PATH.".format(exe=tool)) appimagebuilder.utils.shell.CommandNotFoundError: Could not find 'apt-get' on $PATH.

pzhlkj6612 commented 1 year ago

Hello!

appimagebuilder.utils.shell.CommandNotFoundError: Could not find 'apt-get' on $PATH.

This error meant that you may have to use the distro based on Debian (e.g., Ubuntu) to run appimage-builder since we need the "apt-get" package manager. It's not recommended to install "apt-get" on "salix linux" (slackware) since it might break your system.