[Debian-med-packaging] Bug#726801: biomaj: fails to install with Recommends enabled

gregor herrmann gregoa at debian.org
Mon Nov 4 18:23:19 UTC 2013


Control: tag -1 unreproducible

On Sat, 19 Oct 2013 13:40:17 +0200, Andreas Beckmann wrote:

> during a test with piuparts I noticed your package failed to install. As
> per definition of the release team this makes the package too buggy for
> a release, thus the severity.
> 
> >>From the attached log (scroll to the bottom...):
> 
>   Setting up biomaj (1.2.2-2) ...
>   /var/lib/dpkg/info/biomaj.config: 17: [: =: unexpected operator

16    db_get biomaj/mysql
17    if [ $RET = "true" ]; then

In general, $RET should probably be put under quotes.
But the deeper problem seems to be that "Template: biomaj/mysql" in
the template doesn't have a Default: setting.

>   /var/lib/dpkg/info/biomaj.postinst: 30: /var/lib/dpkg/info/biomaj.postinst: java: not found


This seems strange. The line is

30      java -cp $biomaj_root/bin Configurator java_home:=...

but there should be something java-ish due to "Depends: ...
default-jre | java6-runtime ..."

>   dpkg: error processing biomaj (--configure):
>    subprocess installed post-installation script returned error exit status 127

For me biomaj installs; interesting observation:
# dpkg-reconfigure biomaj
/var/lib/dpkg/info/biomaj.config: 17: [: =: unexpected operator
# echo $?
0

But not the "java: not found" problem.

# which java
/usr/bin/java


IOW: I can't reproduce the installation failure (amd64 sid chroot,
DEBCONF_FRONTEND=noninteractive), neither with biomaj-watcher nor
with biomaj, neither with --with-recommends nor with
--without-recommends.

Cheers,
gregor

-- 
 .''`.  Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer  -  http://www.debian.org/
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Peter, Paul and Mary: Lemon Tree
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/debian-med-packaging/attachments/20131104/91da2109/attachment.sig>


More information about the Debian-med-packaging mailing list