[Debian-med-packaging] Bug#931268: imagej: ImageJ does not launch

Keng Wooi Ng ngkengwooi at outlook.com
Sun Jun 30 00:57:05 BST 2019


Package: imagej
Version: 1.52j-1
Severity: important

Dear Maintainer,

Installed ImageJ from the repo on a fresh installation of Debian 10. Clicking
the launcher in GNOME should, but does not, launch ImageJ (no apparent response
shown). Launching it from the command line produces the following error:

/usr/bin/imagej: line 32: dpkg-architecture: command not found

This seems to be an issue with the way /usr/bin/imagej tries to detect the JVM
on line 32. It uses dpkg-architecture which isn't found on a default
installation.

Doing "apt search dpkg-architecture" indicates it's associated with dh-exec. I
installed dh-exec and it solved the problem, but that also pulled in a bunch of
other packages.

After some digging, it seems the dpkg-dev package is where dpkg-architecture is
found. However, dpkg-dev is not installed by default and is not listed as a
dependency for the imagej package.

Not sure if it's useful, but I used the netinst iso (Buster RC2) for this clean
install of Debian 10. GNOME is the only desktop environment selected during
installation.



-- System Information:
Debian Release: 10.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages imagej depends on:
ii  default-jre [java6-runtime]     2:1.11-71
ii  libij-java                      1.52j-1
ii  openjdk-11-jre [java6-runtime]  11.0.3+7-5

imagej recommends no packages.

imagej suggests no packages.

-- no debconf information



More information about the Debian-med-packaging mailing list