Package: cli-common
Version: 0.5.7
Tags: patch
Severity: serious

        Hi,

 /usr/share/cli-common/gac-package-install is typically called from
 postinsts:
# Automatically added by dh_installcligac
if [ "$1" = "configure" ] && [ -x /usr/share/cli-common/gac-package-install ]; 
then
        /usr/share/cli-common/gac-package-install libevolution3.0-cil
fi
# End automatically added section

 But it wont fail the postinst if an assembly fails to install:
 sudo /usr/share/cli-common/gac-package-install libevolution3.0-cil; echo $?
 * Installing 1 assembly from libevolution3.0-cil into Mono
 E: installing Assembly /usr/lib/cli/evolution-sharp-3.0/evolution-sharp.dll 
failed
 0

 /usr/share/cli-common/gac-package-install calls the various runtimes in
 /usr/share/cli-common/runtimes.d; in my case the mono runtime properly
 reports an error:
 sudo /usr/share/cli-common/runtimes.d/mono install libevolution3.0-cil 
/usr/lib/cli/evolution-sharp-3.0/evolution-sharp.dll; echo $?
 E: installing Assembly /usr/lib/cli/evolution-sharp-3.0/evolution-sharp.dll 
failed
 9

 So this snippet in gac-package-install:
    system($clr, "install", $pkg, @install);
 should be changed to:
    system($clr, "install", $pkg, @install) == 0 or die "E: Installation of 
$pkg with $clr failed\n";


   Bye

-- System Information:
Debian Release: 5.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.28-1-686 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages cli-common depends on:
ii  perl-modules                  5.10.0-19  Core Perl modules

cli-common recommends no packages.

cli-common suggests no packages.

-- no debconf information

-- 
Loïc Minier



--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to