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 07/03/2017, à 11:35

wolf1

insserv: Starting AMPAgentBootup depends on rc.local and therefore on

Bonjour,
je suis donc plutot débutant avec Linux ... Et j'essaye d'installer des programmes sur un nouveau PC qui a un Ubuntu 16.04 LTS qui a été apraemment installé par DELL. Mes problèmes semblent être lié à la gestion/installation des packages ...

Initalment j'avais assayé d'installer Eclipse du Ubuntu-store, et ça terminé avec une message concernant binfmt-support.Ensuite je voulais preparer pour installer la dernièere version de R (qu'il faut domc compiler des sources). Pour cela j'ai fait :

sudo apt-get build-dep r-base-dev

Reading package lists... Done
Picking 'r-base' as source package instead of 'r-base-dev'
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  ant ant-optional aspectj eclipse-platform-data eclipse-rcp fastjar junit
  junit4 libapache-pom-java libasm3-java libasm4-java libaspectj-java
  libc6-i386 libcglib3-java libcommons-beanutils-java libcommons-cli-java
  libcommons-codec-java libcommons-collections3-java libcommons-compress-java
  libcommons-dbcp-java libcommons-digester-java libcommons-httpclient-java
  libcommons-logging-java libcommons-parent-java libcommons-pool-java
  libdb-java libdb-je-java libdb5.3-java libdb5.3-java-jni libeasymock-java
  libecj-java libequinox-osgi-java libfelix-bundlerepository-java
  libfelix-gogo-command-java libfelix-gogo-runtime-java
  libfelix-gogo-shell-java libfelix-osgi-obr-java libfelix-shell-java
  libfelix-utils-java libgeronimo-jpa-2.0-spec-java
  libgeronimo-osgi-support-java libhamcrest-java libicu4j-49-java
  libicu4j-java libirs141 libjetty8-java libjline-java libjsch-java
  libjtidy-java libkxml2-java liblucene2-java libobjenesis-java
  libosgi-annotation-java libosgi-compendium-java libosgi-core-java
  libosgi-foundation-ee-java libregexp-java libservlet3.0-java
  libservlet3.1-java libswt-cairo-gtk-3-jni libswt-glx-gtk-3-jni
  libswt-gnome-gtk-3-jni libswt-gtk-3-java libswt-gtk-3-jni
  libswt-webkit-gtk-3-jni libtomcat7-java
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up resolvconf (1.78ubuntu4) ...
insserv: Starting AMPAgentBootup depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting AMPAgentBootup depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting AMPAgentBootup depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting AMPAgentBootup depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: There is a loop between service AMPAgentBootup and rc.local if started
insserv:  loop involving service rc.local at depth 7
insserv:  loop involving service AMPAgentBootup at depth 3
insserv: Starting AMPAgentBootup depends on rc.local 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: error processing package resolvconf (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up ampagent (6.4.522-1) ...
insserv: Starting AMPAgentBootup depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting AMPAgentBootup depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting AMPAgentBootup depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting AMPAgentBootup depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: There is a loop between service AMPAgentBootup and rc.local if started
insserv:  loop involving service rc.local at depth 7
insserv:  loop involving service AMPAgentBootup at depth 3
insserv: Starting AMPAgentBootup depends on rc.local 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: error processing package ampagent (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 resolvconf
 ampagent
E: Sub-process /usr/bin/dpkg returned an error code (1)
E: Failed to process build dependencies

Ensuite j'ai essayé de nettoyer (comme sugeré dans les messages)

sudo apt autoremove

Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  ant ant-optional aspectj eclipse-platform-data eclipse-rcp fastjar junit
  junit4 libapache-pom-java libasm3-java libasm4-java libaspectj-java
  libc6-i386 libcglib3-java libcommons-beanutils-java libcommons-cli-java
  libcommons-codec-java libcommons-collections3-java libcommons-compress-java
  libcommons-dbcp-java libcommons-digester-java libcommons-httpclient-java
  libcommons-logging-java libcommons-parent-java libcommons-pool-java
  libdb-java libdb-je-java libdb5.3-java libdb5.3-java-jni libeasymock-java
  libecj-java libequinox-osgi-java libfelix-bundlerepository-java
  libfelix-gogo-command-java libfelix-gogo-runtime-java
  libfelix-gogo-shell-java libfelix-osgi-obr-java libfelix-shell-java
  libfelix-utils-java libgeronimo-jpa-2.0-spec-java
  libgeronimo-osgi-support-java libhamcrest-java libicu4j-49-java
  libicu4j-java libirs141 libjetty8-java libjline-java libjsch-java
  libjtidy-java libkxml2-java liblucene2-java libobjenesis-java
  libosgi-annotation-java libosgi-compendium-java libosgi-core-java
  libosgi-foundation-ee-java libregexp-java libservlet3.0-java
  libservlet3.1-java libswt-cairo-gtk-3-jni libswt-glx-gtk-3-jni
  libswt-gnome-gtk-3-jni libswt-gtk-3-java libswt-gtk-3-jni
  libswt-webkit-gtk-3-jni libtomcat7-java
0 upgraded, 0 newly installed, 66 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 130 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 342559 files and directories currently installed.)
Removing ant-optional (1.9.6-1ubuntu1) ...
Removing ant (1.9.6-1ubuntu1) ...
Removing libfelix-utils-java (1.6.0-1) ...
Removing eclipse-platform-data (3.8.1-8) ...
Removing eclipse-rcp (3.8.1-8) ...
Removing fastjar (2:0.98-6) ...
Removing junit (3.8.2-8build1) ...
Removing libfelix-gogo-command-java (0.14.0-2) ...
Removing libfelix-bundlerepository-java (2.0.6-1) ...
Removing libeasymock-java (3.3.1+ds-3) ...
Removing junit4 (4.12-4ubuntu1) ...
Removing libcommons-httpclient-java (3.1-12) ...
Removing libcommons-digester-java (1.8.1-4) ...
Removing libcommons-beanutils-java (1.9.2-3) ...
Removing libasm3-java (3.3.2-3) ...
Removing libcglib3-java (3.1+dfsg-1) ...
Removing libasm4-java (5.0.4-1) ...
Removing libc6-i386 (2.23-0ubuntu5) ...
Removing libcommons-cli-java (1.3.1-3ubuntu1) ...
Removing libcommons-codec-java (1.10-1) ...
Removing libtomcat7-java (7.0.68-1ubuntu0.1) ...
Removing libcommons-dbcp-java (1.4-5ubuntu2) ...
Removing libcommons-collections3-java (3.2.2-1) ...
Removing libcommons-compress-java (1.10-2) ...
Removing libcommons-pool-java (1.6-2) ...
Removing libdb-java (1:5.3.21~exp1ubuntu2) ...
Removing libdb-je-java (3.3.98-1) ...
Removing libdb5.3-java (5.3.28-11) ...
Removing libdb5.3-java-jni:amd64 (5.3.28-11) ...
Removing libecj-java (3.10.1-2ubuntu1) ...
Removing libequinox-osgi-java (3.8.1-8) ...
Removing libfelix-gogo-shell-java (0.12.0-1) ...
Removing libfelix-gogo-runtime-java (0.16.2-1) ...
Removing libfelix-osgi-obr-java (1.0.2-3fakesync1) ...
Removing libfelix-shell-java (1.4.3-1) ...
Removing libhamcrest-java (1.3-5ubuntu1) ...
Removing libicu4j-49-java (49.1-2) ...
Removing libicu4j-java (4.2.1.1-3) ...
Removing libirs141:amd64 (1:9.10.3.dfsg.P4-8ubuntu1.5) ...
Removing libjetty8-java (8.1.19-1) ...
Removing libjline-java (1.0-2) ...
Removing libjsch-java (0.1.53-1ubuntu1) ...
Removing libjtidy-java (7+svn20110807-4) ...
Removing libkxml2-java (2.3.0+ds1-2) ...
Removing liblucene2-java (2.9.4+ds1-4) ...
Removing libobjenesis-java (2.2-1) ...
Removing libregexp-java (1.5-3build1) ...
Removing libservlet3.0-java (7.0.68-1ubuntu0.1) ...
Removing libswt-cairo-gtk-3-jni (3.8.2-3) ...
Removing libswt-glx-gtk-3-jni (3.8.2-3) ...
Removing libswt-gnome-gtk-3-jni (3.8.2-3) ...
Removing libswt-gtk-3-java (3.8.2-3) ...
Removing libswt-webkit-gtk-3-jni (3.8.2-3) ...
Removing libswt-gtk-3-jni (3.8.2-3) ...
Removing libcommons-logging-java (1.2-1+build1) ...
Removing libcommons-parent-java (39-3) ...
Removing libapache-pom-java (10-2build1) ...
Removing libgeronimo-osgi-support-java (1.1-1) ...
Removing libosgi-compendium-java (5.0.0-3) ...
Removing libgeronimo-jpa-2.0-spec-java (1.1-2) ...
Removing aspectj (1.8.8-1) ...
Removing libaspectj-java (1.8.8-1) ...
Removing libosgi-core-java (6.0.0-1) ...
Removing libosgi-annotation-java (6.0.0-1) ...
Removing libosgi-foundation-ee-java (4.2.0-2) ...
Removing libservlet3.1-java (8.0.32-1ubuntu1.3) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for hicolor-icon-theme (0.15-0ubuntu1) ...
Processing triggers for install-info (6.1.0.dfsg.1-5) ...
Processing triggers for libc-bin (2.23-0ubuntu5) ...
Setting up resolvconf (1.78ubuntu4) ...
insserv: Starting AMPAgentBootup depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting AMPAgentBootup depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting AMPAgentBootup depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting AMPAgentBootup depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: There is a loop between service AMPAgentBootup and rc.local if started
insserv:  loop involving service rc.local at depth 7
insserv:  loop involving service AMPAgentBootup at depth 3
insserv: Starting AMPAgentBootup depends on rc.local 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: error processing package resolvconf (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up ampagent (6.4.522-1) ...
insserv: Starting AMPAgentBootup depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting AMPAgentBootup depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting AMPAgentBootup depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting AMPAgentBootup depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: There is a loop between service AMPAgentBootup and rc.local if started
insserv:  loop involving service rc.local at depth 7
insserv:  loop involving service AMPAgentBootup at depth 3
insserv: Starting AMPAgentBootup depends on rc.local 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: error processing package ampagent (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 resolvconf
 ampagent
E: Sub-process /usr/bin/dpkg returned an error code (1)

Si j'essaye de re-installer resolvconf (via synaptic) j'ai ce message

E: Internal Error, No file name for resolvconf:amd64

Mais ce PC n'a pas de processeur AMD !  Je ne comprends pas de tout ce qui ce passe.

Pour info :

 uname -r
4.8.0-39-generic

Et :

 more /etc/rc.local
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.

exit 0

Une discussion qui resemble (lointenement ? : http://unix.stackexchange.com/questions … f-insserv), s'adresse a insserv (qui est aussi dans mon cas partie du problème) et qui pointe sur les cups :
Donc je donne le resultat de

 more /etc/init.d/cups-browsed 
#! /bin/sh
### BEGIN INIT INFO
# Provides:          cups-browsed
# Required-Start:    $syslog $remote_fs $network $named $time
# Required-Stop:     $syslog $remote_fs $network $named $time
# Should-Start:      avahi-daemon
# Should-Stop:       avahi-daemon
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: cups-browsed - Make remote CUPS printers available locally
# Description: This daemon browses Bonjour broadcasts of shared remote CUPS

Mais selon la discussion sur stackexchange ca semble d'être normal.

Merci d'avance pour tous renseignements !
Wolfgang

Modération veuillez utiliser les balises code pour les retours de commande, explications ici. Merci.

Dernière modification par Ayral (Le 07/03/2017, à 12:49)

Hors ligne