Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 11/01/2017, à 14:12

loixou29

[Résolu] dpkg - grub/IDL - problèmes de dépendance

Bonjour à tous,

Je crée une autre discussion sur un sujet très semblable à ma précédente requête (ici). J'espère que cela ne pose pas de soucis à la communauté; je le fais par un soucis de clarté.

Depuis que j'ai installé IDL (logiciel de Harris) sur mon système Ubuntu 16.04LTS 64x (4.4.0-57-generic) fraîchement ré-installé en double-boot, je rencontre des problèmes de dépendance au niveau de grub. Cela se manifeste lorsque je fais un upgrade:

loic@loic-S301LP:~$ sudo apt-get upgrade
[sudo] Mot de passe de loic : 
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
Calcul de la mise à jour... Fait
0 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.
5 partiellement installés ou enlevés.
Après cette opération, 0 o d'espace disque supplémentaires seront utilisés.
Souhaitez-vous continuer ? [O/n] o
Paramétrage de grub-common (2.02~beta2-36ubuntu3.6) ...
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
insserv: warning: script 'K01sys5_idl_lmgrd' missing LSB tags and overrides
insserv: warning: script 'sys5_idl_lmgrd' missing LSB tags and overrides
insserv: There is a loop at service plymouth if started
insserv: There is a loop between service plymouth and procps if started
insserv:  loop involving service procps at depth 2
insserv:  loop involving service udev at depth 1
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Max recursions depth 99 reached
insserv:  loop involving service bluetooth at depth 1
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: There is a loop between service sys5_idl_lmgrd and hwclock if started
insserv:  loop involving service hwclock at depth 1
insserv: There is a loop at service sys5_idl_lmgrd if started
insserv: There is a loop between service plymouth and urandom if started
insserv:  loop involving service urandom at depth 4
insserv:  loop involving service mountdevsubfs at depth 2
insserv: There is a loop between service sys5_idl_lmgrd and udev if started
insserv:  loop involving service mountkernfs at depth 1
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv:  loop involving service checkroot at depth 4
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: There is a loop between service sys5_idl_lmgrd and dns-clean if started
insserv:  loop involving service dns-clean at depth 1
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: exiting now without changing boot order!
update-rc.d: error: insserv rejected the script header
dpkg: erreur de traitement du paquet grub-common (--configure) :
 le sous-processus script post-installation installé a retourné une erreur de sortie d'état 1
dpkg: des problèmes de dépendances empêchent la configuration de grub2-common :
 grub2-common dépend de grub-common (= 2.02~beta2-36ubuntu3.6) ; cependant :
 Le paquet grub-common n'est pas encore configuré.

dpkg: erreur de traitement du paquet grub2-common (--configure) :
 problèmes de dépendances - laissé non configuré
dpkg: des problèmes de dépendances empêchent la configuration de grub-efi-amd64-bin :
 grub-efi-amd64-bin dépend de grub-common (= 2.02~beta2-36ubuntu3.6) ; cependant :
 Le paquet grub-common n'est pas encore configuré.

dpkg: erreur de traitement du paquet grub-efi-amd64-bin (--configure) :
 problèmes de dépendances - laissé non configuré
dpkg: des problèmes de dépendances empêchent la configuration de grub-efi-amd64 :
 grub-efi-amd64 dépend de grub-common (= 2.02~beta2-36ubuntu3.6) ; cependant :
 Le paquet grub-common n'est pas encore configuré.
 grub-efi-amd64 dépend de grub2-common (= 2.02~beta2-36ubuntu3.6) ; cependant :
 Le paquet grAucun rapport « apport » n'a été créé car le message d'erreur indique une erreur consécutive à un échec précédent.
                                               Aucun rapport « apport » n'a été créé car le message d'erreur indique une erreur consécutive à un échec précédent.
 Aucun rapport « apport » écrit car MaxReports a déjà été atteint
                                                                 Aucun rapport « apport » écrit car MaxReports a déjà été atteint
                                                 ub2-common n'est pas encore configuré.
 grub-efi-amd64 dépend de grub-efi-amd64-bin (= 2.02~beta2-36ubuntu3.6) ; cependant :
 Le paquet grub-efi-amd64-bin n'est pas encore configuré.

dpkg: erreur de traitement du paquet grub-efi-amd64 (--configure) :
 problèmes de dépendances - laissé non configuré
dpkg: des problèmes de dépendances empêchent la configuration de grub-efi :
 grub-efi dépend de grub-common (= 2.02~beta2-36ubuntu3.6) ; cependant :
 Le paquet grub-common n'est pas encore configuré.
 grub-efi dépend de grub-efi-amd64 (= 2.02~beta2-36ubuntu3.6) ; cependant :
 Le paquet grub-efi-amd64 n'est pas encore configuré.

dpkg: erreur de traitement du paquet grub-efi (--configure) :
 problèmes de dépendances - laissé non configuré
Des erreurs ont été rencontrées pendant l'exécution :
 grub-common
 grub2-common
 grub-efi-amd64-bin
 grub-efi-amd64
 grub-efi
E: Sub-process /usr/bin/dpkg returned an error code (1)

Nous pouvons voir que ces paquets sont non configurés... Bien qu'ils le soient avant que j'installe IDL. J'ai essayé de désinstaller grub et de le remettre, sans grand succès.

Avez-vous des idées?

Je vous remercie,

Loïc

Dernière modification par loixou29 (Le 12/01/2017, à 18:25)

Hors ligne

#2 Le 11/01/2017, à 15:04

xabilon

Re : [Résolu] dpkg - grub/IDL - problèmes de dépendance

Salut

C'est quoi cet "IDL (logiciel de Harris)" et comment l'as-tu installé ?
Ton problème de dépendance n'est que la conséquence de l'impossibilité de configurer grub-common, laquelle découle apparemment d'un problème de insserv

Dernière modification par xabilon (Le 11/01/2017, à 15:06)


Pour passer un sujet en résolu : modifiez le premier message et ajoutez [Résolu] au titre.

Hors ligne

#3 Le 11/01/2017, à 16:24

loixou29

Re : [Résolu] dpkg - grub/IDL - problèmes de dépendance

Bonjour,

IDL est un logiciel de programmation (un peu comme matlab) que j'utilise pour le travail. Pour ce qui est de l'installation, j'ai téléchargé le logiciel tout droit de leur site commercial (pour ubuntu 64x) et ai lu le script à partir du terminal ./install
Il a ensuite fallu que j'active la licence, et que je télécharge manuellement libxp6 pour que ça marche (passage par la logithèque ubuntu).

Pour plus d'informations, regarder le site du logiciel ici. J'ai suivi les conseils pour installer la librairie.

Je te remercie de t'intéresser au problème ci-dessus.
Loïc

Dernière modification par loixou29 (Le 11/01/2017, à 16:35)

Hors ligne

#4 Le 11/01/2017, à 17:31

bruno

Re : [Résolu] dpkg - grub/IDL - problèmes de dépendance

Bonjour,

Tu devrais commencer par arrêter le service qui semble poser problème :

sudo service sys5_idl_lmgrd stop

et réessayer une mise à jour, puis une mise à niveau.

Je soupçonne ton logiciel de fournir un script d'init pourri…

Hors ligne

#5 Le 11/01/2017, à 17:35

xabilon

Re : [Résolu] dpkg - grub/IDL - problèmes de dépendance

Le paquet libxp6 n'existe pas pour Ubuntu 16.04, en tout cas pas dans les dépôts officiels. Si tu as suivi la doc d'IDL, tu as dû le télécharger depuis les dépôts Debian, puis cliquer dessus pour l'installer.
Mais je ne pense pas que ce soit la cause du problème.

Est-il possible d'avoir le contenu de ce fichier install ? si c'est un script, il peut être ouvert avec Gedit.
@bruno : oui, je soupçonne la même chose, que ce script d'install aie mis le souk dans les scripts de démarrage, ou qu'il soit simplement bugué.

Dernière modification par xabilon (Le 11/01/2017, à 17:37)


Pour passer un sujet en résolu : modifiez le premier message et ajoutez [Résolu] au titre.

Hors ligne

#6 Le 11/01/2017, à 18:54

loixou29

Re : [Résolu] dpkg - grub/IDL - problèmes de dépendance

@Bruno: le service est arrêté. Le logiciel se lance toujours, mais toujours le même soucis.

xabilon a écrit :

Le paquet libxp6 n'existe pas pour Ubuntu 16.04, en tout cas pas dans les dépôts officiels. Si tu as suivi la doc d'IDL, tu as dû le télécharger depuis les dépôts Debian, puis cliquer dessus pour l'installer.

C'est exactement ça. Mais sans ce paquet, le logiciel ne marche pas...


Voici le script install.sh que j'ai exécuté.

#!/bin/sh
#
#       $Id:
#
#  This script will install Exelis VIS products for Unix.
#

yesno()
{
#
# This script asks a y/n question of the user:
#
#	$* - The y/n question to ask, without the "(y/n) ?" at the end.
#
# A 0 is echoed for "no", a 1 for "yes".
#

if [ "`echo -n testing123`" = "testing123" ]; then
  ECHO_NONL="echo -n"
  ECHO_NONL_TAIL=
else
  ECHO_NONL=echo
  ECHO_NONL_TAIL=\\c
fi


RESP=""
while [ "$RESP" != y -a "$RESP" != n ]
do
  $ECHO_NONL "$*? (y/n): $ECHO_NONL_TAIL" > /dev/tty
  read RESP
  RESP=`echo $RESP | tr '[A-Z]' '[a-z]'`
  if [ "$RESP" != y -a "$RESP" != n ]; then
    echo "        <Please answer y for yes or n for no>" > /dev/tty
  fi
done
if [ "$RESP" = y ]; then
  return 1
else
  return 0
fi

}

tar_unpack()
{
#       This unpacks tar file
#       $1 - file to untar
#       $2 - String to echo

FILENAME=$1
DISPLAY_STRING=$2

echo "Unpacking $DISPLAY_STRING ..."

gunzip -c  $FILENAME | $TAR $TAR_OPTIONS  -

if [ $? != 0 ]; then
  echo "$SCRIPT: error untarring $FILENAME in $INSTALL_DIR."
fi

}

SILENT_INSTALL=0

while getopts ":s" opt; do
  case $opt in
    s)
      SILENT_INSTALL=1
      ;;
    \?)
      echo "Invalid option: -$OPTARG" >&2
      ;;
  esac
done

#######################################################
# Installation
########################################################
USER=`whoami`
SCRIPT=`basename $0`
OSNAME=`uname`
MACHINENAME=`hostname`

WEB_INSTALL=0
INSTALL_DIR="/usr/local/exelis"
INSTALL_DICOM=0
INSTALL_LINUX=0
NO_SYMLINKS=0
INSTALL_SOLARIS_SPARC=0
INSTALL_SOLARIS_X86_64=0
INSTALL_DARWIN=0
INSTALL_AIX_64=0
INSTALL_ENVI_CLASSIC_HELP=0
INSTALL_ENVI_HELP=0
INSTALL_IDL_HELP=0
POST_UNPACK_OPTIONS=

INS_TYPE="ENVI"
INS_NAME="ENVI"

IDL_VERSION=85
IDL_VERSION_MAIN_NAME="8.5"
IDL_VERSION_NAME="8.5 SP1"
IDLBIN=idl$IDL_VERSION/bin

ENVI_VERSION=53
ENVI_VERSION_MAIN_NAME="5.3"
ENVI_VERSION_NAME="5.3 SP1"
ENVIBIN=envi$ENVI_VERSION/bin
LINUX_TEXT="    Linux - X86 (64-bit)"

ESE_VERSION=53
ESE_VERSION_MAIN_NAME="5.3"
ESE_VERSION_NAME="5.3 SP1"
ESEBIN=se$ESE_VERSION/bin

SUITE_NAME="IDL 8.5 & ENVI 5.3, SP1"
if [ "$INS_TYPE" = "FLEXLM" ]; then 
	SUITE_NAME="License Server"
fi
if [ "$INS_TYPE" = "ORTHO" ]; then 
	SUITE_NAME="ENVI Photogrammetry 5.3 SP1"
fi
if  [ "$INS_NAME" = "IDL for AIX" ]; then 
	SUITE_NAME="IDL 8.5 SP1"
fi

case $INS_TYPE in
  IDL) 
    PROD_VERSION=$IDL_VERSION
    PROD_VERSION_NAME=$IDL_VERSION_NAME
    PROD_VERSION_MAIN_NAME=$IDL_VERSION_MAIN_NAME
    PROD_NAME="IDL"
    PROD_BIN=$IDLBIN
    EXIST_TESTFILE=$IDLBIN/idl
       ;;
  ENVI)
    PROD_VERSION=$ENVI_VERSION
    PROD_VERSION_NAME=$ENVI_VERSION_NAME
    PROD_VERSION_MAIN_NAME=$ENVI_VERSION_MAIN_NAME
    PROD_NAME="ENVI"
    PROD_BIN=$ENVIBIN
    EXIST_TESTFILE=$ENVIBIN/envi
       ;;
   ESE) 
    PROD_VERSION=$ESE_VERSION
    PROD_VERSION_NAME=$ESE_VERSION_NAME
    PROD_VERSION_MAIN_NAME=$ESE_VERSION_MAIN_NAME
    PROD_NAME="ENVI Services Engine"
	SUITE_NAME="ENVI Services Engine"
    PROD_BIN=$ESEBIN
	PRODUCT="ese"
    EXIST_TESTFILE=$ESEBIN/EnviServicesEngine
	LINUX_TEXT="    Linux - 64-bit"
       ;;
esac


if [ -f /etc/chown ]; then
    CHOWN=/etc/chown
else
    CHOWN=/bin/chown
fi

if [ \(  -f /bin/dirname \) -o \(  -f /usr/5bin/dirname \) ]; then
   UDIR=`dirname $0`
else
   UDIR=`echo $0 | awk -F\/ '{if(NF==1)
   printf(".\n");else{for(i=1;i<NF;i++){if(i>1)printf("%s","/"); printf("%s",$i);}printf("\n")}}'`
fi

if [ "$UDIR" = "." ]; then 
   UDIR=`pwd`
fi

if [ -f "$UDIR/install/web" ]; then 
   WEB_INSTALL=1
fi

if [ \( "$OSNAME" = "SunOS" \) -o \( "$OSNAME" = "AIX" \) ]; then
	gtar --version > /dev/null 2>&1
	if [ $? != 0 ]; then 
		echo "gtar was not found. Please be sure gtar is installed on your system and included in your PATH."
		exit 1
	else
		TAR="gtar"
	fi
else
	TAR="tar"
fi

if [ \( "$WHOAMI" != "root" \) ]; then
   TAR_OPTIONS="-xf"
else
   TAR_OPTIONS="-xpf"
fi

#----------
#PLatform Files
#----------
TAR_DARWIN_X86_64="bin.darwin.x86_64.tar.gz"
TAR_LINUX="bin.linux.x86_64.tar.gz"
TAR_SOLARIS2="bin.solaris2.sparc64.tar.gz"
TAR_SOLARISX_64="bin.solaris2.x86_64.tar.gz"
TAR_AIX_64="bin.ibm.rs6000_64.tar.gz"
ENVI_TAR_DARWIN_X86_64="envi.bin.darwin.x86_64.tar.gz"
ENVI_TAR_LINUX="envi.bin.linux.x86_64.tar.gz"
ENVILIDAR_TAR_LINUX="envilidar.bin.linux.x86_64.tar.gz"
ENVI_TAR_SOLARIS2="envi.bin.solaris2.sparc64.tar.gz"
TAR_ENVI_MAC_APPLESCRIPTS="envi_mac_applescripts.tar.gz"
TAR_ORTHO_BASE="ortho_base.tar.gz"
TAR_FLEXLM_BASE="flexlm.tar.gz"
TAR_FLEXLM_DARWIN="f_dar_p.tar.gz"
TAR_FLEXLM_DARWIN_I386="f_dar_i.tar.gz"
TAR_FLEXLM_DARWIN_X86_64="f_darx64.tar.gz"
TAR_FLEXLM_LINUX="f_linux.tar.gz"
TAR_FLEXLM_LINUX_64="f_linx64.tar.gz"
TAR_FLEXLM_SOLARIS2_64="f_sol64.tar.gz"
TAR_FLEXLM_SOLARIS2="f_sol32.tar.gz"
TAR_FLEXLM_SOLARISX_64="f_solx64.tar.gz"

# Display Exelis EULA. Must accept to continue.
#-------------------------------------------
if [ \( "$INS_TYPE" != "ESE" \) -a \( "$INS_TYPE" != "FLEXLM" \) ]; then 
  if [ "$SILENT_INSTALL" = 1 ]; then	 
	cat "$UDIR"/install/exelis_eula.txt 
  else
	cat "$UDIR"/install/exelis_eula.txt |more
  fi 
  if  yesno "Do you accept all of the terms of the preceding license agreement"; then
	exit 1
  fi
fi

if [ "$INS_TYPE" = "FLEXLM" ]; then  
  cat "$UDIR"/exelis_eula.txt |more
  if  yesno "Do you accept all of the terms of the preceding license agreement"; then
	exit 1
  fi
fi

if [ "$INS_TYPE" = "ESE" ]; then  
  if [ "$SILENT_INSTALL" = 1 ]; then
    cat "$UDIR"/install/exelis_eula_enterprise.txt "$UDIR"/install/exelis_eula.txt
  else
    cat "$UDIR"/install/exelis_eula_enterprise.txt "$UDIR"/install/exelis_eula.txt | more
  fi 	
  if  yesno "Do you accept the terms of the license agreement"; then
	exit 1
  fi
fi

echo "
----------------------------------------
$SUITE_NAME Installer
----------------------------------------"
#if [ "$INS_TYPE" != "ESE" ]; then  
  # Read in INSTALL_DIR 
  #-------------------------------------------
  echo ""
  echo "Please enter the directory to install in

  (e.g. \"/usr/local/exelis \")
  "
  read DIR_NAME

  if [ "$DIR_NAME" != "" ]; then
   INSTALL_DIR=$DIR_NAME
  fi
#else
  #--------------------------------------------------------------
#  if [ "$EXELIS_DIR" = "" ]; then
#   INSTALL_DIR=/usr/local/exelis
#  else
#   INSTALL_DIR=$EXELIS_DIR
#  fi

  # Check /usr/local/exelis first for ENVI
#  if [ -f $INSTALL_DIR/envi$ENVI_VERSION/bin/envi ]; then

#    echo ""
#    echo "An ENVI $ENVI_VERSION distribution has been located in $INSTALL_DIR.
#   "
#	if  yesno "Do you want to install ENVI Services Engine in $INSTALL_DIR"; then
#	  echo "Please enter the directory containing ENVI $ENVI_VERSION:

#      (e.g. \"/usr/local/exelis \")	  
#	  "
#      read INSTALL_DIR
#    fi
#  else
#    INSTALL_DIR=
#  fi

  #--------------------------------------------------------------
  # Read in INSTALL_DIR if it's not specified.
#  echo ""
#  if [ "$INSTALL_DIR" = "" ]; then
#	echo "Please enter the directory containing ENVI $ENVI_VERSION:

#    (e.g. \"/usr/local/exelis \")
#	"
#  read INSTALL_DIR
#  fi

#  if [ ! -f $INSTALL_DIR/envi$ENVI_VERSION/bin/envi ]; then
#		echo
#		echo "
#ENVI $ENVI_VERSION is required to be installed prior to installing ENVI Services Engine. This directory does not contain an ENVI distribution or the correct version of ENVI.  
#Please locate the directory containing ENVI $ENVI_VERSION and run this script again. If ENVI Platform installer is not installed, please install prior to running this script.
#"
#		exit 1	
#  fi	
#fi
   
   

if [ ! -d  "$INSTALL_DIR" ]; then
	mkdir -p $INSTALL_DIR
	if [ $? != 0 ]; then
         echo "
The $INSTALL_DIR directory does not exist and could not be created.  
Please create this directory prior to running this script."
    exit 1
	fi
fi

#---------------------------
#Check for write permissions
#---------------------------
if [ ! -w $INSTALL_DIR ]; then
    echo "
$SCRIPT: $INSTALL_DIR does not have write permissions.  
Please correct the permissions and run this script again.
"
exit 1
fi


# Change to the installation directory
#---------------------------
  cd $INSTALL_DIR
  
#---------------------------
# Check for existing envi installation for ortho installer
#---------------------------
if [ "$INS_TYPE" = "ORTHO" ]; then 
  if [ \( -d $INSTALL_DIR/envi$ENVI_VERSION \) ]; then
    ENVI_INST_VER=`cat $INSTALL_DIR/envi$ENVI_VERSION/version.txt`
    if [ $ENVI_INST_VER != "53SP1" ]; then
      echo "
Directory $INSTALL_DIR contains a version of ENVI that is not compatible with ENVI Photogrammetry. 
Please install ENVI 5.3 SP1 prior to this installation.
"
      exit 1
    fi
  else
    echo "ENVI $ENVI_VERSION is required to be installed prior to installing ENVI Photogrammetry. This directory does not contain an ENVI distribution or the correct version of ENVI.  
Please locate the directory containing ENVI $ENVI_VERSION and run this script again. If ENVI Platform installer is not installed, please install prior to running this script."
	exit 1
  fi
fi

if [ \( "$INS_TYPE" != "FLEXLM" \) -a \( "$INS_TYPE" != "ORTHO" \) ]; then
# Do a quick check to see if the CD ROM is really where we think it is.
  if [ \( ! -f $UDIR/install/required/base1.tar.gz \) ]; then
    echo "Unable to locate tar files. Please execute this script using a full path."
    exit 1
  fi

#---------------------------
# Check for product version compatibility
#---------------------------
# ENVI and IDL need to have the same version.
# Only checking for ENVI on an IDL install, since ENVI will install IDL (minus Sol x86).
  if [ "$INS_TYPE" = "IDL" ]; then 
   if [ \( -d $INSTALL_DIR/envi$ENVI_VERSION \) ]; then
      ENVI_INST_VER=`cat $INSTALL_DIR/envi$ENVI_VERSION/version.txt`
      if [ $ENVI_INST_VER != "53" ]; then
        echo "
Directory $INSTALL_DIR contains a version of ENVI that is not compatible with IDL 8.5. 
Please install ENVI 5.3 prior to this installation.
"
      exit 1
      fi
   fi
  fi

#---------------------------
# Check for an existing installation and give them a chance to abort.
#---------------------------
 if [ "$SILENT_INSTALL" = 0 ]; then	
  JUNK=`/bin/ls`
  if [ "$JUNK" != "" ]; then
  echo " "
  if [ \( -f $INSTALL_DIR/$EXIST_TESTFILE \) ]; then             # Existing IDL directory
      echo "This directory contains an existing version of $SUITE_NAME. 
If you continue, this installation will now be updated with $SUITE_NAME."
    yesno "Continue"
    if [ $? -eq 0 ]; then
      exit
    fi
    echo " "
  fi
  fi
 fi

  SELECTION_GOOD=0
  PLATFORM_SELECTED=0
  INSTALL_IDL=0
  INSTALL_ENVI=0
  while [ "$SELECTION_GOOD" = "0" ]; do
  #if [ -f $UDIR/install/required/base1.tar.gz ]; then
  #	 yesno "IDL Virtual Machine"
  #   if [ $? -eq 1 ]; then
  #     INSTALL_VM=1
  #   fi
  #fi

 if  [ "$INS_TYPE" = "ESE"  ]; then 
	INSTALL_IDL=1
	INSTALL_ENVI=1
	INSTALL_LINUX=1
    PLATFORM_SELECTED=1
 else 
  if [ "$INS_NAME" = "IDL for AIX" ]; then 
	INSTALL_IDL=1
	PLATFORM_SELECTED=1
	INSTALL_AIX_64=1		
  else
   echo " "
   echo "Please select the products for installation."
  
   while [ \( "$INSTALL_IDL" = "0" \) -a \( "$INSTALL_ENVI" = "0" \) ]; do
	if [ -f $UDIR/install/required/base2.tar.gz ]; then
      yesno "IDL"
      if [ $? -eq 1 ]; then
		INSTALL_IDL=1
	  fi
	fi
  
	if [ -f $UDIR/install/required/envi.tar.gz ]; then
      yesno "ENVI"
      if [ $? -eq 1 ]; then
		INSTALL_ENVI=1
	  fi
	fi
	echo " "
    if [ \( "$INSTALL_IDL" = "0" \) -a \( "$INSTALL_ENVI" = "0" \) ]; then
      yesno "You must select at least one product. Continue"
      if [ $? -eq 0 ]; then
        exit
      fi
    fi
   done		# PRODUCT_SELECTED
  
  #For web install, don't ask, but there will only be one platform.
   if [ "$WEB_INSTALL" = 0 ]; then
	echo " "
	echo "Please select the platforms for installation.
	"
   fi 

   while [ "$PLATFORM_SELECTED" = "0" ]; do
     if [  -f $UDIR/install/platforms/$TAR_LINUX ]; then
       if [ "$WEB_INSTALL" = "0" ]; then
         yesno $LINUX_TEXT
         if [ $? -eq 1 ]; then
           INSTALL_LINUX=1
           PLATFORM_SELECTED=1 
         fi
       else
         INSTALL_LINUX=1
         PLATFORM_SELECTED=1 
       fi
     fi
     if [ -f $UDIR/install/platforms/$TAR_DARWIN_X86_64 ]; then
       if [ "$WEB_INSTALL" = "0" ]; then
         yesno "Mac OS X - Intel (64-bit)"
         if [ $? -eq 1 ]; then
           INSTALL_DARWIN=1
           PLATFORM_SELECTED=1 
         fi
       else
         INSTALL_DARWIN=1
         PLATFORM_SELECTED=1 
       fi
     fi
     if [  -f $UDIR/install/platforms/$TAR_SOLARIS2 ]; then
       if [ "$WEB_INSTALL" = "0" ]; then
         yesno "Sun Solaris - Sparc (64-bit)"
         if [ $? -eq 1 ]; then
           INSTALL_SOLARIS_SPARC=1
           PLATFORM_SELECTED=1 
         fi
       else
         INSTALL_SOLARIS_SPARC=1
         PLATFORM_SELECTED=1 
       fi
     fi
	 
     if [ \( -f $UDIR/install/platforms/$TAR_SOLARISX_64 \) -a \( "$INSTALL_IDL" = "1" \) ]; then 
       if [ "$WEB_INSTALL" = "0" ]; then
         yesno "Sun Solaris - X86 (64-bit, IDL-only)"
         if [ $? -eq 1 ]; then
           INSTALL_SOLARIS_X86_64=1
           PLATFORM_SELECTED=1 
         fi
       else
         PLATFORM_SELECTED=1 
         INSTALL_SOLARIS_X86_64=1
       fi
     fi

     echo " "
     if [ "$PLATFORM_SELECTED" = "0" ]; then
        yesno "You must select at least one hardware platform. Continue"
        if [ $? -eq 0 ]; then
          exit
        fi
     fi
   done		# PLATFORM_SELECTED
  fi #!AIX 
 fi #!ESE
 
   echo "Please select the optional features for installation."
   echo " "
  
   if [ "$INSTALL_IDL" = "1" ]; then
	if [ -f $UDIR/install/optional/idl_help.tar.gz ]; then
	  yesno "IDL Help files"
	  if [ $? -eq 1 ]; then
		INSTALL_IDL_HELP=1
	  fi
	fi
   fi
    
   if [ "$INSTALL_ENVI" = "1" ]; then
    if [ -f $UDIR/install/optional/envi_classic_help.tar.gz ]; then
	  yesno "ENVI Classic Help files"
	  if [ $? -eq 1 ]; then
		INSTALL_ENVI_CLASSIC_HELP=1
      fi
	fi
  
	if [ -f $UDIR/install/optional/envi_help.tar.gz ]; then
      yesno "ENVI Help files"
	  if [ $? -eq 1 ]; then
		INSTALL_ENVI_HELP=1
	  fi
	fi
   fi
  
 if  [ "$INS_TYPE" != "ESE"  ]; then 
  if  [ "$INS_NAME" != "IDL for AIX" ]; then
   if [ -f $UDIR/install/optional/dicom ]; then
     yesno "DICOM Network Services"
     if [ $? -eq 1 ]; then
       INSTALL_DICOM=1
     fi
   fi
  fi # !AIX 
 fi # !ese

  echo "
---------------------
Installation Summary:
---------------------
    $SUITE_NAME
    Installation location: $INSTALL_DIR
    Login: $USER"
    
  if [ "$INS_TYPE" != "ESE" ]; then
	echo "Products:"
	#if [ "$INSTALL_VM" = 1 ]; then
    #  echo "    IDL Virtual Machine"
    #fi
	
	if [ "$INSTALL_IDL" = 1 ]; then
      echo "    IDL"
    fi

	if [ "$INSTALL_ENVI" = 1 ]; then
      echo "    ENVI"
    fi
	
	if [ "$INSTALL_IDL_HELP" = 1 ]; then
      echo "    IDL Help files"
    fi
	
	if [ -f $UDIR/install/optional/envi_classic_help.tar.gz ]; then
	  if [ "$INSTALL_ENVI_CLASSIC_HELP" = 1 ]; then
		echo "    ENVI Classic Help files"
      fi
	fi
	
	if [ -f $UDIR/install/optional/envi_help.tar.gz ]; then
	  if [ "$INSTALL_ENVI_HELP" = 1 ]; then
		echo "    ENVI Help files"
      fi
	fi
	
	if [ "$INSTALL_DICOM" = 1 ]; then
      echo "    DICOM Network Services"
    fi
  fi # !ese
   
    echo "Platforms:"
    if [ "$INSTALL_LINUX" = "1" ]; then
     echo "$LINUX_TEXT"
    fi
    if [ "$INSTALL_DARWIN" = "1" ]; then
     echo "    Mac OS X - Intel (64-bit)"
    fi
    if [ "$INSTALL_SOLARIS_SPARC" = "1" ]; then
     echo "    Sun Solaris - Sparc (64-bit)"
    fi
    if [ "$INSTALL_SOLARIS_X86_64" = "1" ]; then
     echo "    Sun Solaris - X86 (64-bit, IDL-only)"
    fi
    if [ "$INSTALL_AIX_64" = "1" ]; then
     echo "    IBM AIX RS6000 (64-bit, IDL-only)"
    fi

    echo " "
    yesno "Install the above configuration"
    if [ $? -eq 1 ]; then
      echo " "
      echo "Installation continuing..."
      SELECTION_GOOD=1
    else
      if [ "$WEB_INSTALL" = 0 ]; then
        yesno "Re-select configuration"
        if [ $? -eq 1 ]; then
          SELECTION_GOOD=0
          PLATFORM_SELECTED=0
		  INSTALL_IDL=0
		  INSTALL_ENVI=0
          INSTALL_DICOM=0
          INSTALL_LINUX=0
          INSTALL_DARWIN=0
          INSTALL_SOLARIS_SPARC=0
          INSTALL_SOLARIS_X86_64=0
		  INSTALL_ENVI_CLASSIC_HELP=0
		  INSTALL_ENVI_HELP=0
		  INSTALL_IDL_HELP=0
        else
          echo "$INS_NAME installation aborted."
          exit 0
        fi
      else
          echo "$INS_NAME installation aborted."
          exit 0
      fi
    fi
    echo " "

  done		# SELECTION_GOOD


  #check for existance of the "idl" link and remove if present.  This link was 
  #used in installations prior to IDL 8.0/ENVI 5.0
  if [ -L idl ]; then 
	rm -f idl
  fi

  if [ "$INS_NAME" = "ENVI" ]; then 
	if [ -L envi ]; then 
		rm -f envi
	fi
  fi

  # Preserve the file modes in the source tar files
  umask 022
  if [ "$INSTALL_ENVI" = "1" ]; then
	FILES=`echo $UDIR/install/required/*.tar.gz`
	# Uncompress any compress (.gz) files
	if [ "$FILES" != '*.tar.gz' ]; then
	  for FILE in $FILES; do
		tar_unpack $FILE `basename $FILE`
		if [ $? != 0 ]; then
		  echo "$SCRIPT: error untarring $FILE in $INSTALL_DIR."
		fi
	  done
	fi
  fi

  if [ \( "$INSTALL_IDL" = "1" \) -a \( "$INSTALL_ENVI" != "1" \) ]; then
		INS_TYPE="IDL"
        tar_unpack $UDIR/install/required/base1.tar.gz base1.tar.gz
        tar_unpack $UDIR/install/required/base2.tar.gz base2.tar.gz
        tar_unpack $UDIR/install/required/idl_demo.tar.gz idl_demo.tar.gz
	tar_unpack $UDIR/install/required/maps_high.tar.gz maps_high.tar.gz
        if  [ "$INS_NAME" != "IDL for AIX" ]; then 
          tar_unpack $UDIR/install/required/idl_workbench.tar.gz idl_workbench.tar.gz
        fi  
  fi

  #if [ \( "$INSTALL_VM" = "1" \) -a \( "$INSTALL_IDL" != "1" \) -a \( "$INSTALL_ENVI" != "1" \) ]; then
  #        tar_unpack $UDIR/install/required/base1.tar.gz base1.tar.gz
  #fi

  if [ \( -f $UDIR/install/platforms/$TAR_DARWIN_X86_64 \) -a  \( "$INSTALL_DARWIN" = "1" \) ]; then
   tar_unpack $UDIR/install/platforms/$TAR_DARWIN_X86_64 $TAR_DARWIN_X86_64
   if [ "$INSTALL_ENVI" = "1" ]; then
	   tar_unpack $UDIR/install/platforms/$TAR_ENVI_MAC_APPLESCRIPTS $TAR_ENVI_MAC_APPLESCRIPTS
   fi
  fi
  if [ \( -f $UDIR/install/platforms/$TAR_LINUX \) -a  \( "$INSTALL_LINUX" = "1" \) ]; then
   tar_unpack $UDIR/install/platforms/$TAR_LINUX $TAR_LINUX
  fi
  if [ \( -f $UDIR/install/platforms/$TAR_SOLARIS2 \) -a  \( "$INSTALL_SOLARIS_SPARC" = "1" \) ]; then
   tar_unpack $UDIR/install/platforms/$TAR_SOLARIS2 $TAR_SOLARIS2
  fi
  if [ \( -f $UDIR/install/platforms/$TAR_SOLARISX_64 \) -a  \( "$INSTALL_SOLARIS_X86_64" = "1" \) ]; then
   tar_unpack $UDIR/install/platforms/$TAR_SOLARISX_64 $TAR_SOLARISX_64
  fi

  if [ \( -f $UDIR/install/platforms/$TAR_AIX_64 \) -a  \( "$INSTALL_AIX_64" = "1" \) ]; then
   tar_unpack $UDIR/install/platforms/$TAR_AIX_64 $TAR_AIX_64
  fi

  if [ "$INSTALL_ENVI" = "1" ]; then
	if [ \( -f $UDIR/install/platforms/$ENVI_TAR_LINUX \) -a  \( "$INSTALL_LINUX" = "1" \) ]; then
		tar_unpack $UDIR/install/platforms/$ENVI_TAR_LINUX $ENVI_TAR_LINUX
	fi
	if [ \( -f $UDIR/install/platforms/$ENVILIDAR_TAR_LINUX \) -a  \( "$INSTALL_LINUX" = "1" \) ]; then
		tar_unpack $UDIR/install/platforms/$ENVILIDAR_TAR_LINUX $ENVILIDAR_TAR_LINUX
	fi
	if [ \( -f $UDIR/install/platforms/$ENVI_TAR_SOLARIS2 \) -a  \( "$INSTALL_SOLARIS_SPARC" = "1" \) ]; then
		tar_unpack $UDIR/install/platforms/$ENVI_TAR_SOLARIS2 $ENVI_TAR_SOLARIS2
	fi
	if [ \( -f $UDIR/install/platforms/$ENVI_TAR_DARWIN_X86_64 \) -a  \( "$INSTALL_DARWIN" = "1" \) ]; then
		tar_unpack $UDIR/install/platforms/$ENVI_TAR_DARWIN_X86_64 $ENVI_TAR_DARWIN_X86_64
	fi
  fi

  if [ \( -f $UDIR/install/optional/envi_help.tar.gz \) -a  \( "$INSTALL_ENVI_HELP" = "1" \) ]; then
   tar_unpack $UDIR/install/optional/envi_help.tar.gz envi_help.tar.gz
  fi
  if [ \( -f $UDIR/install/optional/envi_help.tar.gz \) -a  \( "$INSTALL_ENVI_CLASSIC_HELP" = "1" \) ]; then
   tar_unpack $UDIR/install/optional/envi_classic_help.tar.gz envi_classic_help.tar.gz
  fi
  if [ \( -f $UDIR/install/optional/idl_help.tar.gz \) -a  \( "$INSTALL_IDL_HELP" = "1" \) ]; then
   tar_unpack $UDIR/install/optional/idl_help.tar.gz idl_help.tar.gz
  fi

  # Finish the unpack operation for IDL.
  sh ./$IDLBIN/post_unpack $POST_UNPACK_OPTIONS

  # Call Envi post installation script
  if [ \( "$INSTALL_ENVI" = "1" \) -o \( "$INS_TYPE" = "ESE" \) ] ; then
	sh ./$ENVIBIN/post_unpack
  fi
  
  # logged in as root and files writable? Make files  belong to this account.
  if [ "$USER" = "root" -a -w . ]; then
          $CHOWN -R root idl$IDL_VERSION > /dev/null 2>&1
		  $CHOWN -R root envi$ENVI_VERSION > /dev/null 2>&1
		  $CHOWN -R root license > /dev/null 2>&1
  fi

fi

if [ "$INS_TYPE" = "ORTHO" ]; then
  echo "
---------------------
Installation Summary:
---------------------
    Product: $SUITE_NAME
    Installation location: $INSTALL_DIR
    Login: $USER"

  echo " "
    yesno "Install ENVI Photogrammetry"
  if [ $? -eq 1 ]; then
    echo " "
    echo "Installation continuing..."
  else
    echo "$INS_NAME installation aborted."
    exit 0
  fi

  if [ -f $UDIR/install/required/$TAR_ORTHO_BASE ]; then
	tar_unpack $UDIR/install/required/$TAR_ORTHO_BASE $TAR_ORTHO_BASE
  fi
fi

if [ "$INS_TYPE" = "FLEXLM" ]; then
  PLATFORM_SELECTED=0
  SELECTION_GOOD=0
  while [ "$SELECTION_GOOD" = "0" ]; do
   #For web install, don't ask, but there will only be one platform.
   if [ "$WEB_INSTALL" = 0 ]; then
	echo " "
	echo "Please select the platforms for installation.
	"
   fi
   while [ "$PLATFORM_SELECTED" = "0" ]; do
     if [  -f $UDIR/platforms/$TAR_FLEXLM_LINUX_64 ]; then
       if [ "$WEB_INSTALL" = "0" ]; then
         yesno $LINUX_TEXT
         if [ $? -eq 1 ]; then
           INSTALL_LINUX=1
           PLATFORM_SELECTED=1 
         fi
       else
         INSTALL_LINUX=1
         PLATFORM_SELECTED=1 
       fi
     fi
     if [ -f $UDIR/platforms/$TAR_FLEXLM_DARWIN_X86_64 ]; then
       if [ "$WEB_INSTALL" = "0" ]; then
         yesno "Mac OS X - Intel (64-bit)"
         if [ $? -eq 1 ]; then
           INSTALL_DARWIN=1
           PLATFORM_SELECTED=1 
         fi
       else
         INSTALL_DARWIN=1
         PLATFORM_SELECTED=1 
       fi
     fi
     if [  -f $UDIR/platforms/$TAR_FLEXLM_SOLARIS2_64 ]; then
       if [ "$WEB_INSTALL" = "0" ]; then
         yesno "Sun Solaris - Sparc (64-bit)"
         if [ $? -eq 1 ]; then
           INSTALL_SOLARIS_SPARC=1
           PLATFORM_SELECTED=1 
         fi
       else
         INSTALL_SOLARIS_SPARC=1
         PLATFORM_SELECTED=1 
       fi
     fi
	 
     if [ -f $UDIR/platforms/$TAR_FLEXLM_SOLARISX_64 ]; then 
       if [ "$WEB_INSTALL" = "0" ]; then
         yesno "Sun Solaris - X86 (64-bit)"
         if [ $? -eq 1 ]; then
           INSTALL_SOLARIS_X86_64=1
           PLATFORM_SELECTED=1 
         fi
       else
         PLATFORM_SELECTED=1 
         INSTALL_SOLARIS_X86_64=1
       fi
     fi
     echo " "
     if [ "$PLATFORM_SELECTED" = "0" ]; then
        yesno "You must select at least one hardware platform. Continue"
        if [ $? -eq 0 ]; then
          exit
        fi
     fi
   done		# PLATFORM_SELECTED
   
   echo "
---------------------
Installation Summary:
---------------------
    Product: $SUITE_NAME
    Installation location: $INSTALL_DIR
    Login: $USER"
    
   echo "Platforms:"
   if [ "$INSTALL_LINUX" = "1" ]; then
     echo "$LINUX_TEXT"
   fi
   if [ "$INSTALL_DARWIN" = "1" ]; then
     echo "    Mac OS X - Intel (64-bit)"
   fi
   if [ "$INSTALL_SOLARIS_SPARC" = "1" ]; then
     echo "    Sun Solaris - Sparc (64-bit)"
   fi
   if [ "$INSTALL_SOLARIS_X86_64" = "1" ]; then
     echo "    Sun Solaris - X86 (64-bit)"
   fi

   echo " "
   yesno "Install the above configuration"
   if [ $? -eq 1 ]; then
      echo " "
      echo "Installation continuing..."
      SELECTION_GOOD=1
   else
      if [ "$WEB_INSTALL" = 0 ]; then
        yesno "Re-select configuration"
        if [ $? -eq 1 ]; then
          SELECTION_GOOD=0
          PLATFORM_SELECTED=0
          INSTALL_LINUX=0
          INSTALL_DARWIN=0
          INSTALL_SOLARIS_SPARC=0
          INSTALL_SOLARIS_X86_64=0
        else
          echo "$INS_NAME installation aborted."
          exit 0
        fi
      else
          echo "$INS_NAME installation aborted."
          exit 0
      fi
   fi
   echo " "
  done		# SELECTION_GOOD
   
  if [ -f $UDIR/required/$TAR_FLEXLM_BASE ]; then
	tar_unpack $UDIR/required/$TAR_FLEXLM_BASE $TAR_FLEXLM_BASE
  fi
   
  if [ \( -f $UDIR/platforms/$TAR_FLEXLM_DARWIN_X86_64 \) -a  \( "$INSTALL_DARWIN" = "1" \) ]; then
	tar_unpack $UDIR/platforms/$TAR_FLEXLM_DARWIN_X86_64 $TAR_FLEXLM_DARWIN_X86_64
  fi
  if [ \( -f $UDIR/platforms/$TAR_FLEXLM_LINUX_64 \) -a  \( "$INSTALL_LINUX" = "1" \) ]; then
   tar_unpack $UDIR/platforms/$TAR_FLEXLM_LINUX_64 $TAR_FLEXLM_LINUX_64
  fi
  if [ \( -f $UDIR/platforms/$TAR_FLEXLM_SOLARIS2_64 \) -a  \( "$INSTALL_SOLARIS_SPARC" = "1" \) ]; then
   tar_unpack $UDIR/platforms/$TAR_FLEXLM_SOLARIS2_64 $TAR_FLEXLM_SOLARIS2_64
  fi
  if [ \( -f $UDIR/platforms/$TAR_FLEXLM_SOLARISX_64 \) -a  \( "$INSTALL_SOLARIS_X86_64" = "1" \) ]; then
   tar_unpack $UDIR/platforms/$TAR_FLEXLM_SOLARISX_64 $TAR_FLEXLM_SOLARISX_64
  fi
  
  sh ./$IDLBIN/post_unpack
 
  if  [ "$INS_NAME" != "IDL for AIX" ]; then
    echo " "
    if [ `sh $INSTALL_DIR/$IDLBIN/yesno "Do you want to run the License Wizard"` = "1" ]; then
      IDL_DIR=
      export IDL_DIR
      $INSTALL_DIR/idl$IDL_VERSION/bin/exelislicense > /dev/null 2>&1
    fi
  fi # AIX
  
  PRODUCT="idl"
fi # enf of "$INS_TYPE" = "FLEXLM"

# Read in userid_to_run_daemon 
#-------------------------------------------
if [ "$INS_TYPE" = "ESE" ]; then
	if [ -f $UDIR/install/optional/ese.tar.gz ]; then
		tar_unpack $UDIR/install/optional/ese.tar.gz ese.tar.gz
	fi
		
	if [ \( "$USER" = "root" \) ]; then
		echo "
Please enter the name of the user account under which to run ESE. 
This should be an account with limited privileges."
		read userid_to_run_daemon
		echo "
Please enter the location in which to install the ESE working directory.
The user selected above needs write access to this directory. 
If you are going to setup a clustered environment, select a directory 
that all machines can access."
		read ESE_WORK_DIR
		if [ ! -d  "$ESE_WORK_DIR" ]; then
			mkdir -p $ESE_WORK_DIR
			if [ $? != 0 ]; then
				echo "
The $ESE_WORK_DIR directory does not exist and could not be created.  
Please create this directory prior to running this script."
				exit 1
			fi
		fi	
		cd $ESE_WORK_DIR
	fi
	
	echo ""
	if [ -f $UDIR/install/optional/ese_base.tar.gz ]; then
		tar_unpack $UDIR/install/optional/ese_base.tar.gz ese_base.tar.gz
	fi
	
	if [ -f $UDIR/install/optional/ese_help.tar.gz ]; then
		tar_unpack $UDIR/install/optional/ese_help.tar.gz ese_help.tar.gz
	fi
	
#	if [ -f $UDIR/install/optional/ese_enviweb.tar.gz ]; then
#		tar_unpack $UDIR/install/optional/ese_enviweb.tar.gz ese_enviweb.tar.gz
#	fi
	
	if [ "$USER" = "root" ]; then
		chmod -R 775 $ESE_WORK_DIR
		$CHOWN -R $userid_to_run_daemon $ESE_WORK_DIR > /dev/null 2>&1
		
 		if [ -w ./$ESEBIN/post_unpack ]; then
			sed "s|EXELIS_DIR=.*|EXELIS_DIR=$INSTALL_DIR|; s|UDIR=.*|UDIR=$ESE_WORK_DIR|" ./$ESEBIN/post_unpack.orig > ./$ESEBIN/post_unpack
        fi
		if [ -w ./$ESEBIN/esehelp ]; then
			sed "s|ESE_HELP_DIR=.*|ESE_HELP_DIR=$ESE_WORK_DIR|" ./$ESEBIN/esehelp.orig > ./$ESEBIN/esehelp
        fi
	fi

	sh ./$ESEBIN/post_unpack

	echo "
Please enter the hostname of the machine which will serve as the 
master in a clustered environment. If not setting up ESE on a cluster, 
this should be the name of the localhost. e.g. $MACHINENAME"
	read master_machine
	if [ "$master_machine" = "" ]; then 
		master_machine=$MACHINENAME
	fi
	if [ -w ./$ESEBIN/server.cfg ]; then
		sed "s|your_machine_name|$master_machine|" ./$ESEBIN/server.cfg.orig > ./$ESEBIN/server.cfg
	fi
	if [ \( "$USER" = "root" \) -a \( "$SILENT_INSTALL" != 1 \) ]; then
		echo " "
		if [ `sh $INSTALL_DIR/$IDLBIN/yesno "Do you want to create the symbolic links in /usr/local/bin"` = "1" ]; then
			if [ \( "$INS_TYPE" = "ESE" \) -a \( "$USER" = "root" \) ]; then
				if [ -w $ESE_WORK_DIR/$PROD_BIN/create_symlinks ]; then
					sed "s|ESE_WORK_DIR=.*|ESE_WORK_DIR=$ESE_WORK_DIR|" $ESE_WORK_DIR/$PROD_BIN/create_symlinks.orig > $ESE_WORK_DIR/$PROD_BIN/create_symlinks	
				fi
				cd $INSTALL_DIR
				$ESE_WORK_DIR/$PROD_BIN/create_symlinks
			else
				$INSTALL_DIR/$PROD_BIN/create_symlinks
			fi 
		else
			NO_SYMLINKS=1	
		fi	
	fi
	
	#$INSTALL_DIR/idl$IDL_VERSION/bin/idl -em=$ESE_WORK_DIR/se$ESE_VERSION/lib/ese_wrapenvitasksforese.sav -arg $ESE_WORK_DIR/se$ESE_VERSION/plugins/ > /dev/null 2>&1
		   
#	if [ `sh $INSTALL_DIR/$IDLBIN/yesno "Do you want to run the License Wizard"` = "1" ]; then
#          IDL_DIR=
#          export IDL_DIR
#          $INSTALL_DIR/idl$IDL_VERSION/bin/exelislicense > /dev/null 2>&1
#    	fi

	DO_LICENSE_PROMPT=1
	LICENSE_FILE_NAME=
	INSTALLED_LICENSE_FILE=$INSTALL_DIR/license/license.dat

	if [ `sh $INSTALL_DIR/$IDLBIN/yesno "Do you have a license file to install now"` = "1" ]; then
		while [ "$DO_LICENSE_PROMPT" = "1" ]
		do
			echo ""
			echo "Please enter the full path to the license file you wish to install.

 (e.g. \"/tmp/my_license.dat \")
  "

  			read LICENSE_FILE_NAME
  			if [ -f	"$LICENSE_FILE_NAME" ]; then
   				cp -f $LICENSE_FILE_NAME $INSTALLED_LICENSE_FILE
				DO_LICENSE_PROMPT=0
			else
				echo ""
				if [ `sh $INSTALL_DIR/$IDLBIN/yesno "$LICENSE_FILE_NAME does not exist, try again"` = "0" ]; then
					DO_LICENSE_PROMPT=0	
				fi	
  			fi
		done
	else
		DO_LICENSE_PROMPT=0	
    	fi

  	if [ -f	"$INSTALLED_LICENSE_FILE" ]; then
		echo ""
		if [ "$LICENSE_FILE_NAME" = "" ]; then
			echo "A license file was previously installed. You may need to update it to use ENVI Services Engine."
		else
			echo "$LICENSE_FILE_NAME was successfully installed."
		fi
	else
		echo ""
		echo "WARNING: No license file is installed. Please install a valid license after completing this installation."
	fi
	
	if [ "$USER" = "root" ]; then
		# Update INSTALL_DIR in EnviServicesEngine
		cd $ESE_WORK_DIR
		if [ -w ./$ESEBIN/ese ]; then
			sed "s|EXELIS_INSTALLDIR=.*|EXELIS_INSTALLDIR=$INSTALL_DIR|; s|EXELIS_WORKDIR=.*|EXELIS_WORKDIR=$ESE_WORK_DIR|" ./$ESEBIN/ese.orig > ./$ESEBIN/ese			
		fi

		if [ -w ./$ESEBIN/ese-install-initd ]; then
            sed "s|exelisdir=.*|exelisdir=$ESE_WORK_DIR|" ./$ESEBIN/ese-install-initd.orig > ./$ESEBIN/ese-install-initd
        fi

		if [ "$userid_to_run_daemon" != "" ]; then
			echo ""
			if [ `sh $INSTALL_DIR/$IDLBIN/yesno "Would you like to install ENVI Services Engine as
a service to start at boot time on this machine"` = "1" ]; then
				./$ESEBIN/ese-install-initd -u $userid_to_run_daemon
				echo ""
				if [ `sh $INSTALL_DIR/$IDLBIN/yesno "Do you want to start the ENVI Services Engine now"` = "1" ]; then
					if [ -f /usr/sbin/service ] ; then
						sudo    /usr/sbin/service ese start
					else
                        sudo    /sbin/service ese start
					fi
				fi
			fi
		fi
	fi	
fi # enf of "$INS_TYPE" = "ESE"

# Offer to run the install command now
if [ \( "$INS_TYPE" != "ESE" \) -a \( "$INS_TYPE" != "FLEXLM" \) ]; then 
  if [ "$INSTALL_ENVI" = "1" ]; then
	PROD_BIN=$ENVIBIN
	PRODUCT="envi"
  else
	PROD_BIN=$IDLBIN
	PRODUCT="idl"
  fi
 
  if [ \( "$USER" = "root" \) -a \( "$SILENT_INSTALL" != 1 \) -a \( "$INS_TYPE" != "ORTHO" \) ]; then
  echo " "
	if [ `sh $INSTALL_DIR/$IDLBIN/yesno "Do you want to create the symbolic links in /usr/local/bin"` = "1" ]; then
		./$PROD_BIN/create_symlinks
	else
		NO_SYMLINKS=1
	fi
  fi  

  if [ "$INSTALL_DICOM" = "1" ]; then
	echo " "
	if [ `sh $INSTALL_DIR/$IDLBIN/yesno "Do you want to start the DICOM Network Services at boot time"` = "1" ]; then
          $INSTALL_DIR/idl$IDL_VERSION/bin/dicomexstorscp_install
	fi
  fi
  echo " "

 if  [ \( "$INS_NAME" != "IDL for AIX" \) -a \( "$SILENT_INSTALL" != 1 \) ]; then
  if [ `sh $INSTALL_DIR/$IDLBIN/yesno "Do you want to run the License Wizard"` = "1" ]; then
    IDL_DIR=
    export IDL_DIR
    $INSTALL_DIR/idl$IDL_VERSION/bin/exelislicense > /dev/null 2>&1
  fi
 fi
fi   

# Clean up Web install
if [ "$WEB_INSTALL" = 1 ]; then
   rm -f $UDIR/install/exelis_eula.txt
   rm -rf $UDIR/install/required
   rm -rf $UDIR/install/optional
   rm -rf $UDIR/install/platforms
   rm -f $UDIR/install/web
   rmdir install
fi 

if [ \( "$INS_TYPE" = "ESE" \) -a \( "$USER" = "root" \) ]; then
   # For a clustered environment, the path should be set to ESE_WORK_DIR
   if [ "$ESE_WORK_DIR" != "" ]; then
      INSTALL_DIR=$ESE_WORK_DIR
   fi
fi
if [ \( "$INS_TYPE" != "ORTHO" \) ]; then
  if [ \( "$USER" != "root" \) -o \( "$NO_SYMLINKS" = "1" \) ]; then
	echo "
----------------------
Installation Complete:
----------------------

Setup files exist in the installation to run the product.  
Have users set up their accounts as shown below:

Have your C-shell users add the following line to their .cshrc files:

	source $INSTALL_DIR/$PROD_BIN/${PRODUCT}_setup

Have your Korn shell users add the following line to their .profile files:

	. $INSTALL_DIR/$PROD_BIN/${PRODUCT}_setup.ksh

 Have your Bash shell users add the following line to their .bashrc files:

	. $INSTALL_DIR/$PROD_BIN/${PRODUCT}_setup.bash
"
  fi	
fi
echo " "
echo "The installation has successfully been completed."
exit 0 

Hors ligne

#7 Le 12/01/2017, à 00:05

xabilon

Re : [Résolu] dpkg - grub/IDL - problèmes de dépendance

Que donne :

sudo service sys5_idl_lmgrd stop
sudo dpkg --configure -a

Pour passer un sujet en résolu : modifiez le premier message et ajoutez [Résolu] au titre.

Hors ligne

#8 Le 12/01/2017, à 10:14

loixou29

Re : [Résolu] dpkg - grub/IDL - problèmes de dépendance

J'ai l'impression que cela ne stop pas la procédure sys5_idl_lmgrd...

loic@loic-S301LP:~$ sudo service sys5_idl_lmgrd stop
[sudo] Mot de passe de loic : 

loic@loic-S301LP:~$ sudo dpkg --configure -a
Paramétrage de grub-common (2.02~beta2-36ubuntu3.6) ...
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
insserv: warning: script 'K01sys5_idl_lmgrd' missing LSB tags and overrides
insserv: warning: script 'sys5_idl_lmgrd' missing LSB tags and overrides
insserv: There is a loop at service plymouth if started
insserv: There is a loop between service plymouth and procps if started
insserv:  loop involving service procps at depth 2
insserv:  loop involving service udev at depth 1
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Max recursions depth 99 reached
insserv:  loop involving service bluetooth at depth 1
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: There is a loop between service sys5_idl_lmgrd and hwclock if started
insserv:  loop involving service hwclock at depth 1
insserv: There is a loop at service sys5_idl_lmgrd if started
insserv: There is a loop between service plymouth and urandom if started
insserv:  loop involving service urandom at depth 4
insserv:  loop involving service mountdevsubfs at depth 2
insserv: There is a loop between service sys5_idl_lmgrd and udev if started
insserv:  loop involving service mountkernfs at depth 1
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv:  loop involving service checkroot at depth 4
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: There is a loop between service sys5_idl_lmgrd and dns-clean if started
insserv:  loop involving service dns-clean at depth 1
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: exiting now without changing boot order!
update-rc.d: error: insserv rejected the script header
dpkg: erreur de traitement du paquet grub-common (--configure) :
 le sous-processus script post-installation installé a retourné une erreur de sortie d'état 1
dpkg: des problèmes de dépendances empêchent la configuration de grub-efi :
 grub-efi dépend de grub-common (= 2.02~beta2-36ubuntu3.6) ; cependant :
 Le paquet grub-common n'est pas encore configuré.

dpkg: erreur de traitement du paquet grub-efi (--configure) :
 problèmes de dépendances - laissé non configuré
dpkg: des problèmes de dépendances empêchent la configuration de grub-efi-amd64-bin :
 grub-efi-amd64-bin dépend de grub-common (= 2.02~beta2-36ubuntu3.6) ; cependant :
 Le paquet grub-common n'est pas encore configuré.

dpkg: erreur de traitement du paquet grub-efi-amd64-bin (--configure) :
 problèmes de dépendances - laissé non configuré
dpkg: des problèmes de dépendances empêchent la configuration de grub-efi-amd64 :
 grub-efi-amd64 dépend de grub-common (= 2.02~beta2-36ubuntu3.6) ; cependant :
 Le paquet grub-common n'est pas encore configuré.
 grub-efi-amd64 dépend de grub-efi-amd64-bin (= 2.02~beta2-36ubuntu3.6) ; cependant :
 Le paquet grub-efi-amd64-bin n'est pas encore configuré.

dpkg: erreur de traitement du paquet grub-efi-amd64 (--configure) :
 problèmes de dépendances - laissé non configuré
dpkg: des problèmes de dépendances empêchent la configuration de grub2-common :
 grub2-common dépend de grub-common (= 2.02~beta2-36ubuntu3.6) ; cependant :
 Le paquet grub-common n'est pas encore configuré.

dpkg: erreur de traitement du paquet grub2-common (--configure) :
 problèmes de dépendances - laissé non configuré
Des erreurs ont été rencontrées pendant l'exécution :
 grub-common
 grub-efi
 grub-efi-amd64-bin
 grub-efi-amd64
 grub2-common

Hors ligne

#9 Le 12/01/2017, à 11:30

bruno

Re : [Résolu] dpkg - grub/IDL - problèmes de dépendance

Le responsable est probablement le script /etc/init/sys5_idl_lmgrd. Ce serait bien de voir ce qu'il contient.

Tu peux  voir l'état du service avec :

sudo systemctl status sys5_idl_lmgrd

Sinon pour désactiver ce service :

sudo update-rc.d -f sys5_idl_lmgrd remove

et redémarrage du système.

Hors ligne

#10 Le 12/01/2017, à 14:01

loixou29

Re : [Résolu] dpkg - grub/IDL - problèmes de dépendance

@Bruno: je crois que tu as touché le problème du doigt!

...skipping...
● sys5_idl_lmgrd.service - SYSV: This script is used to start and stop the IDL network license manager.
   Loaded: loaded (/etc/init.d/sys5_idl_lmgrd; bad; vendor preset: enabled)
   Active: failed (Result: exit-code) since lun. 2017-01-09 09:04:08 CET; 3 days ago
     Docs: man:systemd-sysv-generator(8)

janv. 09 09:04:08 loic-S301LP systemd[1]: Starting SYSV: This script is used to start and stop the IDL network license manager....
janv. 09 09:04:08 loic-S301LP sys5_idl_lmgrd[1087]: /etc/init.d/sys5_idl_lmgrd: Can't find the idl license file: /usr/local/exelis/license
janv. 09 09:04:08 loic-S301LP systemd[1]: sys5_idl_lmgrd.service: Control process exited, code=exited status=1
janv. 09 09:04:08 loic-S301LP systemd[1]: Failed to start SYSV: This script is used to start and stop the IDL network license manager..
janv. 09 09:04:08 loic-S301LP systemd[1]: sys5_idl_lmgrd.service: Unit entered failed state.
janv. 09 09:04:08 loic-S301LP systemd[1]: sys5_idl_lmgrd.service: Failed with result 'exit-code'.
janv. 11 17:52:45 loic-S301LP systemd[1]: Stopped SYSV: This script is used to start and stop the IDL network license manager..
janv. 12 09:13:13 loic-S301LP systemd[1]: Stopped SYSV: This script is used to start and stop the IDL network license manager..
~
~
~
~
~
~
~

C'est quand même étrange qu'il dise ne pas trouver la licence, puisque le logiciel marche correctement... Et que la licence est à l'endroit indiqué.
Dois-je toujours supprimer le service?

Hors ligne

#11 Le 12/01/2017, à 15:31

bruno

Re : [Résolu] dpkg - grub/IDL - problèmes de dépendance

Le retour de :

ls -l /usr/local/exelis/license

Mais le mieux serait de désactiver le service comme je l'ai indiqué en #9 et redémarrer la machine. Car je ne pense pas que tu aies besoins de « the IDL network license manager ».

Hors ligne

#12 Le 12/01/2017, à 15:36

loixou29

Re : [Résolu] dpkg - grub/IDL - problèmes de dépendance

Voici le retour:

loic@loic-S301LP:~$ ls -l /usr/local/exelis/license
total 8
-rw-r--r-- 1 root root  1861 janv.  4 20:43 license.lic
-rw-r--r-- 1 root users  264 nov.  17  2015 readme.txt

Hors ligne

#13 Le 12/01/2017, à 16:37

bruno

Re : [Résolu] dpkg - grub/IDL - problèmes de dépendance

Apparemment les droits en lecture sont bons, il faudrait vérifier que les dossiers parents sont bien r-x pour tout le monde…

Désactive ce service, de toute façon il ne fonctionne pas !

Hors ligne

#14 Le 12/01/2017, à 16:53

loixou29

Re : [Résolu] dpkg - grub/IDL - problèmes de dépendance

Voilà le retour que j'obtiens lorsque j'essaye de le désactiver avec la commande que vous m'avez donnée en #9.

loic@loic-S301LP:~$ sudo update-rc.d -f sys5_idl_lmgrd remove
[sudo] Mot de passe de loic : 
insserv: warning: script 'K01sys5_idl_lmgrd' missing LSB tags and overrides
insserv: warning: script 'sys5_idl_lmgrd' missing LSB tags and overrides
insserv: There is a loop at service plymouth if started
insserv: There is a loop between service plymouth and procps if started
insserv:  loop involving service procps at depth 2
insserv:  loop involving service udev at depth 1
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Max recursions depth 99 reached
insserv:  loop involving service bluetooth at depth 1
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: There is a loop between service sys5_idl_lmgrd and hwclock if started
insserv:  loop involving service hwclock at depth 1
insserv: There is a loop at service sys5_idl_lmgrd if started
insserv: There is a loop between service plymouth and urandom if started
insserv:  loop involving service urandom at depth 4
insserv:  loop involving service mountdevsubfs at depth 2
insserv: There is a loop between service sys5_idl_lmgrd and udev if started
insserv:  loop involving service mountkernfs at depth 1
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv:  loop involving service checkroot at depth 4
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: There is a loop between service sys5_idl_lmgrd and dns-clean if started
insserv:  loop involving service dns-clean at depth 1
insserv: Starting sys5_idl_lmgrd depends on plymouth and therefore on system facility `$all' which can not be true!

Dernière modification par loixou29 (Le 12/01/2017, à 16:54)

Hors ligne

#15 Le 12/01/2017, à 17:07

bruno

Re : [Résolu] dpkg - grub/IDL - problèmes de dépendance

Dans ce cas il va falloir faire cela à la main et supprimer tous les liens symboliques qui se trouvent dans les dossiers /etc/rc*.d/ (où * = 0,1,2,3,4,5,6,S). Autrement dit :

sudo rm /etc/rc0.d/K01sys5_idl_lmgrd
sudo rm /etc/rc1.d/K01sys5_idl_lmgrd
sudo rm /etc/rc2.d/K01sys5_idl_lmgrd
sudo rm /etc/rc3.d/K01sys5_idl_lmgrd
sudo rm /etc/rc4.d/K01sys5_idl_lmgrd
sudo rm /etc/rc5.d/K01sys5_idl_lmgrd
sudo rm /etc/rc6.d/K01sys5_idl_lmgrd
sudo rm /etc/rcS.d/S01sys5_idl_lmgrd

Certains liens n'existent peut-être pas, mais au moins on est sûr de tout enlever.
Puis redémarrer l'ordinateur  et refaire une tentative de mise à niveau.

Hors ligne

#16 Le 12/01/2017, à 17:32

loixou29

Re : [Résolu] dpkg - grub/IDL - problèmes de dépendance

Aucun lien n'existe:

loic@loic-S301LP:~$ sudo rm /etc/rc0.d/K01sys5_idl_lmgrd
rm: impossible de supprimer '/etc/rc0.d/K01sys5_idl_lmgrd': Aucun fichier ou dossier de ce type
loic@loic-S301LP:~$ sudo rm /etc/rc1.d/K01sys5_idl_lmgrd
rm: impossible de supprimer '/etc/rc1.d/K01sys5_idl_lmgrd': Aucun fichier ou dossier de ce type
loic@loic-S301LP:~$ sudo rm /etc/rc2.d/K01sys5_idl_lmgrd
rm: impossible de supprimer '/etc/rc2.d/K01sys5_idl_lmgrd': Aucun fichier ou dossier de ce type
loic@loic-S301LP:~$ sudo rm /etc/rc3.d/K01sys5_idl_lmgrd
rm: impossible de supprimer '/etc/rc3.d/K01sys5_idl_lmgrd': Aucun fichier ou dossier de ce type
loic@loic-S301LP:~$ sudo rm /etc/rc4.d/K01sys5_idl_lmgrd
rm: impossible de supprimer '/etc/rc4.d/K01sys5_idl_lmgrd': Aucun fichier ou dossier de ce type
loic@loic-S301LP:~$ sudo rm /etc/rc5.d/K01sys5_idl_lmgrd
rm: impossible de supprimer '/etc/rc5.d/K01sys5_idl_lmgrd': Aucun fichier ou dossier de ce type
loic@loic-S301LP:~$ sudo rm /etc/rc6.d/K01sys5_idl_lmgrd
rm: impossible de supprimer '/etc/rc6.d/K01sys5_idl_lmgrd': Aucun fichier ou dossier de ce type
loic@loic-S301LP:~$ sudo rm /etc/rcS.d/S01sys5_idl_lmgrd
rm: impossible de supprimer '/etc/rcS.d/S01sys5_idl_lmgrd': Aucun fichier ou dossier de ce type

Et voulant vérifier ce que donnait un update/upgrade, le problème semble avoir disparu!

loic@loic-S301LP:~$ sudo apt-get upgrade
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
Calcul de la mise à jour... Fait
Les paquets suivants seront mis à jour :
  apt apt-transport-https apt-utils bind9-host dnsutils libapt-inst2.0
  libapt-pkg5.0 libbind9-140 libdns-export162 libdns162 libisc-export160
  libisc160 libisccc140 libisccfg140 liblwres141 libvncclient1
16 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.
5 partiellement installés ou enlevés.
Il est nécessaire de prendre 4 234 ko dans les archives.
Après cette opération, 14,3 ko d'espace disque supplémentaires seront utilisés.
Souhaitez-vous continuer ? [O/n] o
Réception de:1 http://security.ubuntu.com/ubuntu xenial-security/main amd64 libisc-export160 amd64 1:9.10.3.dfsg.P4-8ubuntu1.4 [152 kB]
Réception de:2 http://fr.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libapt-pkg5.0 amd64 1.2.18 [707 kB]
Réception de:3 http://security.ubuntu.com/ubuntu xenial-security/main amd64 libdns-export162 amd64 1:9.10.3.dfsg.P4-8ubuntu1.4 [666 kB]
Réception de:4 http://fr.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libapt-inst2.0 amd64 1.2.18 [55,6 kB]
Réception de:5 http://fr.archive.ubuntu.com/ubuntu xenial-updates/main amd64 apt amd64 1.2.18 [1 042 kB]
Réception de:6 http://security.ubuntu.com/ubuntu xenial-security/main amd64 dnsutils amd64 1:9.10.3.dfsg.P4-8ubuntu1.4 [88,8 kB]
Réception de:7 http://security.ubuntu.com/ubuntu xenial-security/main amd64 bind9-host amd64 1:9.10.3.dfsg.P4-8ubuntu1.4 [38,3 kB]
Réception de:8 http://security.ubuntu.com/ubuntu xenial-security/main amd64 libisc160 amd64 1:9.10.3.dfsg.P4-8ubuntu1.4 [214 kB]
Réception de:9 http://security.ubuntu.com/ubuntu xenial-security/main amd64 libdns162 amd64 1:9.10.3.dfsg.P4-8ubuntu1.4 [881 kB]
Réception de:10 http://security.ubuntu.com/ubuntu xenial-security/main amd64 libisccc140 amd64 1:9.10.3.dfsg.P4-8ubuntu1.4 [16,3 kB]
Réception de:11 http://security.ubuntu.com/ubuntu xenial-security/main amd64 libisccfg140 amd64 1:9.10.3.dfsg.P4-8ubuntu1.4 [40,5 kB]
Réception de:12 http://security.ubuntu.com/ubuntu xenial-security/main amd64 liblwres141 amd64 1:9.10.3.dfsg.P4-8ubuntu1.4 [33,2 kB]
Réception de:13 http://security.ubuntu.com/ubuntu xenial-security/main amd64 libbind9-140 amd64 1:9.10.3.dfsg.P4-8ubuntu1.4 [23,6 kB]
Réception de:14 http://fr.archive.ubuntu.com/ubuntu xenial-updates/main amd64 apt-utils amd64 1.2.18 [196 kB]
Réception de:15 http://fr.archive.ubuntu.com/ubuntu xenial-updates/main amd64 apt-transport-https amd64 1.2.18 [26,0 kB]
Réception de:16 http://fr.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libvncclient1 amd64 0.9.10+dfsg-3ubuntu0.16.04.1 [54,3 kB]
4 234 ko réceptionnés en 1s (3 129 ko/s) 
(Lecture de la base de données... 232186 fichiers et répertoires déjà installés.)
Préparation du dépaquetage de .../libapt-pkg5.0_1.2.18_amd64.deb ...
Dépaquetage de libapt-pkg5.0:amd64 (1.2.18) sur (1.2.15ubuntu0.2) ...
Traitement des actions différées (« triggers ») pour libc-bin (2.23-0ubuntu5) ...
Paramétrage de libapt-pkg5.0:amd64 (1.2.18) ...
Traitement des actions différées (« triggers ») pour libc-bin (2.23-0ubuntu5) ...
(Lecture de la base de données... 232186 fichiers et répertoires déjà installés.)
Préparation du dépaquetage de .../libapt-inst2.0_1.2.18_amd64.deb ...
Dépaquetage de libapt-inst2.0:amd64 (1.2.18) sur (1.2.15ubuntu0.2) ...
Préparation du dépaquetage de .../archives/apt_1.2.18_amd64.deb ...
Dépaquetage de apt (1.2.18) sur (1.2.15ubuntu0.2) ...
Traitement des actions différées (« triggers ») pour libc-bin (2.23-0ubuntu5) ...
Traitement des actions différées (« triggers ») pour man-db (2.7.5-1) ...
Paramétrage de apt (1.2.18) ...
Traitement des actions différées (« triggers ») pour libc-bin (2.23-0ubuntu5) ...
(Lecture de la base de données... 232186 fichiers et répertoires déjà installés.)
Préparation du dépaquetage de .../apt-utils_1.2.18_amd64.deb ...
Dépaquetage de apt-utils (1.2.18) sur (1.2.15ubuntu0.2) ...
Préparation du dépaquetage de .../libisc-export160_1%3a9.10.3.dfsg.P4-8ubuntu1.4_amd64.deb ...
Dépaquetage de libisc-export160 (1:9.10.3.dfsg.P4-8ubuntu1.4) sur (1:9.10.3.dfsg.P4-8ubuntu1.3) ...
Préparation du dépaquetage de .../libdns-export162_1%3a9.10.3.dfsg.P4-8ubuntu1.4_amd64.deb ...
Dépaquetage de libdns-export162 (1:9.10.3.dfsg.P4-8ubuntu1.4) sur (1:9.10.3.dfsg.P4-8ubuntu1.3) ...
Préparation du dépaquetage de .../apt-transport-https_1.2.18_amd64.deb ...
Dépaquetage de apt-transport-https (1.2.18) sur (1.2.15ubuntu0.2) ...
Préparation du dépaquetage de .../dnsutils_1%3a9.10.3.dfsg.P4-8ubuntu1.4_amd64.deb ...
Dépaquetage de dnsutils (1:9.10.3.dfsg.P4-8ubuntu1.4) sur (1:9.10.3.dfsg.P4-8ubuntu1.3) ...
Préparation du dépaquetage de .../bind9-host_1%3a9.10.3.dfsg.P4-8ubuntu1.4_amd64.deb ...
Dépaquetage de bind9-host (1:9.10.3.dfsg.P4-8ubuntu1.4) sur (1:9.10.3.dfsg.P4-8ubuntu1.3) ...
Préparation du dépaquetage de .../libisc160_1%3a9.10.3.dfsg.P4-8ubuntu1.4_amd64.deb ...
Dépaquetage de libisc160:amd64 (1:9.10.3.dfsg.P4-8ubuntu1.4) sur (1:9.10.3.dfsg.P4-8ubuntu1.3) ...
Préparation du dépaquetage de .../libdns162_1%3a9.10.3.dfsg.P4-8ubuntu1.4_amd64.deb ...
Dépaquetage de libdns162:amd64 (1:9.10.3.dfsg.P4-8ubuntu1.4) sur (1:9.10.3.dfsg.P4-8ubuntu1.3) ...
Préparation du dépaquetage de .../libisccc140_1%3a9.10.3.dfsg.P4-8ubuntu1.4_amd64.deb ...
Dépaquetage de libisccc140:amd64 (1:9.10.3.dfsg.P4-8ubuntu1.4) sur (1:9.10.3.dfsg.P4-8ubuntu1.3) ...
Préparation du dépaquetage de .../libisccfg140_1%3a9.10.3.dfsg.P4-8ubuntu1.4_amd64.deb ...
Dépaquetage de libisccfg140:amd64 (1:9.10.3.dfsg.P4-8ubuntu1.4) sur (1:9.10.3.dfsg.P4-8ubuntu1.3) ...
Préparation du dépaquetage de .../liblwres141_1%3a9.10.3.dfsg.P4-8ubuntu1.4_amd64.deb ...
Dépaquetage de liblwres141:amd64 (1:9.10.3.dfsg.P4-8ubuntu1.4) sur (1:9.10.3.dfsg.P4-8ubuntu1.3) ...
Préparation du dépaquetage de .../libbind9-140_1%3a9.10.3.dfsg.P4-8ubuntu1.4_amd64.deb ...
Dépaquetage de libbind9-140:amd64 (1:9.10.3.dfsg.P4-8ubuntu1.4) sur (1:9.10.3.dfsg.P4-8ubuntu1.3) ...
Préparation du dépaquetage de .../libvncclient1_0.9.10+dfsg-3ubuntu0.16.04.1_amd64.deb ...
Dépaquetage de libvncclient1:amd64 (0.9.10+dfsg-3ubuntu0.16.04.1) sur (0.9.10+dfsg-3build1) ...
Traitement des actions différées (« triggers ») pour man-db (2.7.5-1) ...
Traitement des actions différées (« triggers ») pour libc-bin (2.23-0ubuntu5) ...
Paramétrage de grub-common (2.02~beta2-36ubuntu3.6) ...
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
insserv: warning: script 'sys5_idl_lmgrd' missing LSB tags and overrides
Paramétrage de grub2-common (2.02~beta2-36ubuntu3.6) ...
Paramétrage de grub-efi-amd64-bin (2.02~beta2-36ubuntu3.6) ...
Paramétrage de grub-efi-amd64 (2.02~beta2-36ubuntu3.6) ...

Creating config file /etc/default/grub with new version
Installation pour la plate-forme x86_64-efi
Installation terminée, sans erreur.
Création du fichier de configuration GRUB…
Attention : Définir GRUB_TIMEOUT à une valeur non nulle si GRUB_HIDDEN_TIMEOUT est définie n’est plus possible.
Image Linux trouvée : /boot/vmlinuz-4.4.0-59-generic
Image mémoire initiale trouvée : /boot/initrd.img-4.4.0-59-generic
Image Linux trouvée : /boot/vmlinuz-4.4.0-57-generic
Image mémoire initiale trouvée : /boot/initrd.img-4.4.0-57-generic
Windows Boot Manager trouvé sur /dev/sda1@/EFI/Microsoft/Boot/bootmgfw.efi
Adding boot menu entry for EFI firmware configuration
fait
Paramétrage de grub-efi (2.02~beta2-36ubuntu3.6) ...
Paramétrage de libapt-inst2.0:amd64 (1.2.18) ...
Paramétrage de apt-utils (1.2.18) ...
Paramétrage de libisc-export160 (1:9.10.3.dfsg.P4-8ubuntu1.4) ...
Paramétrage de libdns-export162 (1:9.10.3.dfsg.P4-8ubuntu1.4) ...
Paramétrage de apt-transport-https (1.2.18) ...
Paramétrage de libisc160:amd64 (1:9.10.3.dfsg.P4-8ubuntu1.4) ...
Paramétrage de libdns162:amd64 (1:9.10.3.dfsg.P4-8ubuntu1.4) ...
Paramétrage de libisccc140:amd64 (1:9.10.3.dfsg.P4-8ubuntu1.4) ...
Paramétrage de libisccfg140:amd64 (1:9.10.3.dfsg.P4-8ubuntu1.4) ...
Paramétrage de libbind9-140:amd64 (1:9.10.3.dfsg.P4-8ubuntu1.4) ...
Paramétrage de liblwres141:amd64 (1:9.10.3.dfsg.P4-8ubuntu1.4) ...
Paramétrage de bind9-host (1:9.10.3.dfsg.P4-8ubuntu1.4) ...
Paramétrage de dnsutils (1:9.10.3.dfsg.P4-8ubuntu1.4) ...
Paramétrage de libvncclient1:amd64 (0.9.10+dfsg-3ubuntu0.16.04.1) ...
Traitement des actions différées (« triggers ») pour libc-bin (2.23-0ubuntu5) ...

Le logiciel semble toujours marcher correctement. Je vous remercie de tout coeur. Néanmoins, j'aimerai savoir ce qui l'a fait marcher. Le fait d'arréter le processus en #4?

PS: il y a quand même ces morceaux, que signifient-ils?

update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
insserv: warning: script 'sys5_idl_lmgrd' missing LSB tags and overrides

et

Attention : Définir GRUB_TIMEOUT à une valeur non nulle si GRUB_HIDDEN_TIMEOUT est définie n’est plus possible.

Dernière modification par loixou29 (Le 12/01/2017, à 17:35)

Hors ligne

#17 Le 12/01/2017, à 17:36

bruno

Re : [Résolu] dpkg - grub/IDL - problèmes de dépendance

La commande lancée en #14 a du fonctionner malgré les messages d'avertissement, ce qui explique qu'ensuite les commandes de suppression des leins indiquaient qu'aucun fichier n'existait.
C'est cette commande qui a désactivé le service et a permis aux mises à jour de fonctionner à nouveau

Hors ligne

#18 Le 12/01/2017, à 17:39

loixou29

Re : [Résolu] dpkg - grub/IDL - problèmes de dépendance

Merci à vous tous, et en particulier à toi Bruno.
Je vous souhaite de passer une agréable fin de journée!

Hors ligne

#19 Le 12/01/2017, à 17:55

bruno

Re : [Résolu] dpkg - grub/IDL - problèmes de dépendance

Avec plaisir wink
Pense à modifier ton premier message pour mettre [Résolu] devant le titre wink

Hors ligne

#20 Le 12/01/2017, à 21:36

melixgaro

Re : [Résolu] dpkg - grub/IDL - problèmes de dépendance

salut,

en passant, je signale qu'il y a GDL (paquet gdl) qui peut dans certains cas être un très bon équivalent à IDL


Linux depuis ~2007. Xubuntu seulement.

Hors ligne