Thread View: linux.debian.bugs.dist
1 messages
1 total messages
Started by Joenio Marques da Costa
Mon, 23 Nov 2026 20:10
Bug#1155052: ditaa: Can't run ditaa on the command-line: syntax error near unexpected token
Author: Joenio Marques da Costa
Date: Mon, 23 Nov 2026 20:10
Date: Mon, 23 Nov 2026 20:10
35 lines
4876 bytes
4876 bytes
Package: ditaa
Version: 0.10+ds1-2
Severity: important
Dear Maintainer,
When running ditaa from the command-line it fails with the following message.
$ย ditaa
/usr/bin/ditaa: line 1: $'PK\003\004': commande introuvable
/usr/bin/ditaa: line 2: syntax error near unexpected token `)'
/usr/bin/ditaa: line 2: Q]META-INF ...
The ditaa binary is a symlink to the ditaa.jar file:
$ ls -l /usr/bin/ditaa
lrwxrwxrwx 1 root root 24 18 out 01:54 /usr/bin/ditaa -> ../share/ditaa/ditaa.jar
A workaround is to run it using the java interpreter with the jar file as
argument, such as the example below.
$ java -jar /usr/share/ditaa/ditaa.jar
Running like that ditaa works as expected. Not sure why it was working until
recently and now it's failing. Could it be related to binfmt-support?
$ dpkg -l binfmt-support
ii binfmt-support 2.2.2-8 amd64 Support for extra binary formats
I'm running Debian testing.
-- System Information:
Debian Release: forky/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.10.9-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages ditaa depends on:
ii default-jre 2:1.25-77
ii default-jre-headless 2:1.25-77
ii jarwrapper 0.82
ii junit4 4.13.2-6
ii libbatik-java 1.20-1
ii libcommons-cli-java 1.11.0-1
ii libjericho-html-java 3.4+dfsg-1
ii libxml-commons-external-java 1.4.01-6
ii openjdk-17-jre [java9-runtime] 17.0.15+6-1
ii openjdk-21-jre [java9-runtime] 21.0.13.0.3+1-1
ditaa recommends no packages.
ditaa suggests no packages.
-- no debconf information
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads