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

Andreas Tille andreas at fam-tille.de
Sun Jun 30 04:17:59 BST 2019


Hi,

thanks for this bug report.  Unfortunately it is to late for Buster to
fix it since we are in deep freeze.  You have to options to deal with
this on your local installation:

   1. apt get install dpkg-dev
   2. export JAVA_HOME=/usr/lib/jvm/java-1.11.0-openjdk-amd64
      (or whatever JDK you are using)

We'll come up with a proper fix once Buster is released but for the
moment this should help you on your installation.

Kind regards

     Andreas.

On Sun, Jun 30, 2019 at 12:57:05AM +0100, Keng Wooi Ng wrote:
> 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
> 
> _______________________________________________
> Debian-med-packaging mailing list
> Debian-med-packaging at alioth-lists.debian.net
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-packaging

-- 
http://fam-tille.de



More information about the Debian-med-packaging mailing list