[BUG] appimage-builder will fail on trixie #323

Open
opened 2026-05-25 10:20:23 +00:00 by markusro · 0 comments
Owner

Current behavior

Currently, AppimageBuilder 1.1.0 will not readily work on trixie because apt-key is not shipped anymore. A suitable workaround is an empty apt-key dummy tool.
See github issue: Reliance on apt-key which has been removed in Debian Trixie #372

Version

Build tool problem, exists for all versions

Expected behavior

No response

Steps to reproduce

  1. Run trixie
  2. Build Appimage: ./appimage-builder-1.1.0-x86_64.AppImage

Log messages

markusro@ursuletz:~/sources/nmreval.gitea$ ./appimage-builder-1.1.0-x86_64.AppImage 
INFO:main:Running main script
rm -rf $TARGET_APPDIR  | true
mkdir -p $TARGET_APPDIR/usr/src
mkdir -p $TARGET_APPDIR/usr/bin
mkdir -p $TARGET_APPDIR/usr/share/icons
mkdir -p $TARGET_APPDIR/usr/share/applications
cp src/resources/logo.png $TARGET_APPDIR/usr/share/icons/
cp bin/evaluate.py  $TARGET_APPDIR/usr/bin/
cp -r src/*  $TARGET_APPDIR/usr/src/
cp src/resources/pkm.vogel.nmreval.desktop $TARGET_APPDIR/usr/share/applications
sed -i "s/CURRENT_DATE/$(date +'%Y-%m-%d')/" $TARGET_APPDIR/usr/src/nmreval/version.py
INFO:main:Running apt deploy
Traceback (most recent call last):
  File "/tmp/.mount_appima8lTnnR/usr/bin/appimage-builder", line 8, in <module>
    sys.exit(__main__())
  File "/tmp/.mount_appima8lTnnR/usr/lib/python3.8/site-packages/appimagebuilder/__main__.py", line 50, in __main__
    invoker.execute(commands)
  File "/tmp/.mount_appima8lTnnR/usr/lib/python3.8/site-packages/appimagebuilder/invoker.py", line 29, in execute
    command()
  File "/tmp/.mount_appima8lTnnR/usr/lib/python3.8/site-packages/appimagebuilder/commands/apt_deploy.py", line 42, in __call__
    apt_venv = self._setup_apt_venv()
  File "/tmp/.mount_appima8lTnnR/usr/lib/python3.8/site-packages/appimagebuilder/commands/apt_deploy.py", line 60, in _setup_apt_venv
    apt_venv = Venv(
  File "/tmp/.mount_appima8lTnnR/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_appima8lTnnR/usr/lib/python3.8/site-packages/appimagebuilder/utils/shell.py", line 16, in require_executables
    paths[dep] = require_executable(dep)
  File "/tmp/.mount_appima8lTnnR/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-key' on $PATH.

Anything else?

No response

### Current behavior Currently, AppimageBuilder 1.1.0 will not readily work on trixie because apt-key is not shipped anymore. A suitable workaround is an empty apt-key dummy tool. See github issue: [Reliance on apt-key which has been removed in Debian Trixie #372](https://github.com/AppImageCrafters/appimage-builder/issues/372) ### Version Build tool problem, exists for all versions ### Expected behavior _No response_ ### Steps to reproduce 1. Run trixie 2. Build Appimage: `./appimage-builder-1.1.0-x86_64.AppImage ` ### Log messages ```shell markusro@ursuletz:~/sources/nmreval.gitea$ ./appimage-builder-1.1.0-x86_64.AppImage INFO:main:Running main script rm -rf $TARGET_APPDIR | true mkdir -p $TARGET_APPDIR/usr/src mkdir -p $TARGET_APPDIR/usr/bin mkdir -p $TARGET_APPDIR/usr/share/icons mkdir -p $TARGET_APPDIR/usr/share/applications cp src/resources/logo.png $TARGET_APPDIR/usr/share/icons/ cp bin/evaluate.py $TARGET_APPDIR/usr/bin/ cp -r src/* $TARGET_APPDIR/usr/src/ cp src/resources/pkm.vogel.nmreval.desktop $TARGET_APPDIR/usr/share/applications sed -i "s/CURRENT_DATE/$(date +'%Y-%m-%d')/" $TARGET_APPDIR/usr/src/nmreval/version.py INFO:main:Running apt deploy Traceback (most recent call last): File "/tmp/.mount_appima8lTnnR/usr/bin/appimage-builder", line 8, in <module> sys.exit(__main__()) File "/tmp/.mount_appima8lTnnR/usr/lib/python3.8/site-packages/appimagebuilder/__main__.py", line 50, in __main__ invoker.execute(commands) File "/tmp/.mount_appima8lTnnR/usr/lib/python3.8/site-packages/appimagebuilder/invoker.py", line 29, in execute command() File "/tmp/.mount_appima8lTnnR/usr/lib/python3.8/site-packages/appimagebuilder/commands/apt_deploy.py", line 42, in __call__ apt_venv = self._setup_apt_venv() File "/tmp/.mount_appima8lTnnR/usr/lib/python3.8/site-packages/appimagebuilder/commands/apt_deploy.py", line 60, in _setup_apt_venv apt_venv = Venv( File "/tmp/.mount_appima8lTnnR/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_appima8lTnnR/usr/lib/python3.8/site-packages/appimagebuilder/utils/shell.py", line 16, in require_executables paths[dep] = require_executable(dep) File "/tmp/.mount_appima8lTnnR/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-key' on $PATH. ``` ### Anything else? _No response_
markusro added the Kind/Bug label 2026-05-25 10:20:23 +00:00
dominik was assigned by markusro 2026-05-25 10:20:24 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: IPKM/nmreval#323