Sono giorni che non riesco più a fare l'aggiornamento di Debian Squeeze 6. O meglio, lo scaricamento dei files avviene, ma poi l'installazione non va a buon fine: si interrompe ad un certo punto. Mi pare che sia "util-linux" che interrompe l'installazione dei files scaricati: mi dà errore!.. Ci sono più di 40 aggiornamenti da fare. Come risolvere?
Grazie. Gino.
Squeeze non mi permette più l'aggiornamnento
Scusa, mcortese, hai perfettamente ragione: non ho postato gli errori. Adesso lo faccio e allego qui il tutto. Spero che con l'aiuto possa risolvere questo problema. Ecco il post degli errori:
root@debian:/home/gino# aptitude dist-upgrade
I seguenti pacchetti saranno aggiornati:
bsdutils cpp debconf-utils g++ gcc gcj-jre gcj-jre-headless kaffeine
keyboard-configuration libblas3gf libblkid1 libgcj-bc libgcj-common libgps19
libgssapi-krb5-2 libgssrpc4 libk5crypto3 libkadm5clnt-mit7 libkadm5srv-mit7 libkdb5-4
libkrb5-3 libkrb5support0 libperl5.10 libsdl1.2debian libsdl1.2debian-alsa
libservlet2.5-java libsysfs2 linux-base linux-headers-2.6.32-5-486
linux-headers-2.6.32-5-common linux-image-2.6.32-5-686 linux-libc-dev openssh-client
perl perl-base perl-modules python-numpy sun-java6-bin sun-java6-jre sun-java6-plugin
whois
I seguenti pacchetti parzialmente installati saranno configurati:
apache2 apache2-mpm-prefork apache2.2-common fuse-utils network-manager openvpn
util-linux
I seguenti pacchetti sono RACCOMANDATI ma NON verranno installati:
firmware-linux-free
41 pacchetti aggiornati, 0 installati, 0 da rimuovere e 0 non aggiornati.
È necessario prelevare 0 B/83,4 MB di archivi. Dopo l'estrazione, verranno liberati 10,8 MB.
Continuare? [Y/n/?] y
Lettura dei changelog... Fatto
Estrazione dei template dai pacchetti: 100%
Preconfigurazione dei pacchetti in corso
Configurazione di util-linux (2.17.2-3.3)...
insserv: warning: script 'K01smfpd' missing LSB tags and overrides
insserv: warning: script 'smfpd' missing LSB tags and overrides
insserv: Starting smfpd depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: There is a loop between service smfpd and rmnologin if started
insserv: loop involving service rmnologin at depth 19
insserv: loop involving service smfpd at depth 11
insserv: Starting smfpd depends on rmnologin and therefore on system facility `$configured to not write apport reports
all' which can not be true!
insserv: Starting smfpd depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: There is a loop between service smfpd and rmnologin if started
insserv: Starting smfpd depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on rmnologin 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: errore nell'elaborare util-linux (--configure):
il sottoprocesso vecchio script di post-installation ha restituito lo stato di errore 1
Si sono verificati degli errori nell'elaborazione:
util-linux
E: Sub-process /usr/bin/dpkg returned an error code (1)
Errore durante l'installazione di un pacchetto. Tentativo di ripristino:
Configurazione di openvpn (2.1.3-1)...
Restarting virtual private network daemon.:.
insserv: warning: script 'K01smfpd' missing LSB tags and overrides
insserv: warning: script 'smfpd' missing LSB tags and overrides
insserv: Starting smfpd depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: There is a loop between service smfpd and rmnologin if started
insserv: loop involving service rmnologin at depth 19
insserv: loop involving service smfpd at depth 11
insserv: Starting smfpd depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: There is a loop between service smfpd and rmnologin if started
insserv: Starting smfpd depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on rmnologin 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: errore nell'elaborare openvpn (--configure):
il sottoprocesso vecchio script di post-installation ha restituito lo stato di errore 1
Configurazione di network-manager (0.8.1-3)...
Reloading system message bus config...done.
Stopping network connection manager: NetworkManager already stopped.
insserv: warning: script 'K01smfpd' missing LSB tags and overrides
insserv: warning: script 'smfpd' missing LSB tags and overrides
insserv: Starting smfpd depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: There is a loop between service smfpd and rmnologin if started
insserv: loop involving service rmnologin at depth 19
insserv: loop involving service smfpd at depth 11
insserv: Starting smfpd depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: There is a loop between service smfpd and rmnologin if started
insserv: Starting smfpd depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on rmnologin 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: errore nell'elaborare network-manager (--configure):
il sottoprocesso vecchio script di post-installation ha restituito lo stato di errore 1
Configurazione di apache2.2-common (2.2.16-3)...
insserv: warning: script 'K01smfpd' missing LSB tags and overrides
insserv: warning: script 'smfpd' missing LSB tags and overrides
insserv: Starting smfpd depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: There is a loop between service smfpd and rmnologin if started
insserv: loop involving service rmnologin at depth 19
insserv: loop involving service smfpd at depth 11
insserv: Starting smfpd depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: There is a loop between service smfpd and rmnologin if started
insserv: Starting smfpd depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on rmnologin 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: errore nell'elaborare apache2.2-common (--configure):
il sottoprocesso vecchio script di post-installation ha restituito lo stato di errore 1
Configurazione di fuse-utils (2.8.4-1.1)...
creating fuse group...
udev active, skipping device node creation.
insserv: warning: script 'K01smfpd' missing LSB tags and overrides
insserv: warning: script 'smfpd' missing LSB tags and overrides
insserv: Starting smfpd depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: There is a loop between service smfpd and rmnologin if started
insserv: loop involving service rmnologin at depth 19
insserv: loop involving service smfpd at depth 11
insserv: Starting smfpd depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: There is a loop between service smfpd and rmnologin if started
insserv: Starting smfpd depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on rmnologin 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: errore nell'elaborare fuse-utils (--configure):
il sottoprocesso vecchio script di post-installation ha restituito lo stato di errore 1
Configurazione di util-linux (2.17.2-3.3)...
insserv: warning: script 'K01smfpd' missing LSB tags and overrides
insserv: warning: script 'smfpd' missing LSB tags and overrides
insserv: Starting smfpd depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: There is a loop between service smfpd and rmnologin if started
insserv: loop involving service rmnologin at depth 19
insserv: loop involving service smfpd at depth 11
insserv: Starting smfpd depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: There is a loop between service smfpd and rmnologin if started
insserv: Starting smfpd depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on rmnologin 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: errore nell'elaborare util-linux (--configure):
il sottoprocesso vecchio script di post-installation ha restituito lo stato di errore 1
dpkg: problemi con le dipendenze impediscono la configurazione di apache2-mpm-prefork:
apache2-mpm-prefork dipende da apache2.2-common (= 2.2.16-3); comunque:
Il pacchetto apache2.2-common non è ancora configurato.
dpkg: errore nell'elaborare apache2-mpm-prefork (--configure):
problemi con le dipendenze - lasciato non configurato
dpkg: problemi con le dipendenze impediscono la configurazione di apache2:
apache2 dipende da apache2-mpm-worker (= 2.2.16-3) | apache2-mpm-prefork (= 2.2.16-3) | apache2-mpm-event (= 2.2.16-3) | apache2-mpm-itk (= 2.2.16-3); comunque:
Il pacchetto apache2-mpm-worker non è installato.
Il pacchetto apache2-mpm-prefork non è ancora configurato.
Il pacchetto apache2-mpm-event non è installato.
Il pacchetto apache2-mpm-itk non è installato.
apache2 dipende da apache2.2-common (= 2.2.16-3); comunque:
Il pacchetto apache2.2-common non è ancora configurato.
dpkg: errore nell'elaborare apache2 (--configure):
problemi con le dipendenze - lasciato non configurato
Si sono verificati degli errori nell'elaborazione:
openvpn
network-manager
apache2.2-common
fuse-utils
util-linux
apache2-mpm-prefork
apache2
root@debian:/home/gino#
Io non ci capisco niente!
Gino
Hai una stampante Samsung?
Questa domanda ti sembrerà strana, ma spesso accade che la causa scatenante e la radice del problema sono distinti.
Nel tuo caso, la causa scatenante è il fatto che, durante la fase di configurazione del pacchetto apache, alcuni initscript vengono aggiornati. A qual punto interviene insserv, che io considero la zelante COLF degli initscript, che si preoccupa di mettere tutti gli script in ordine rispettando le mutue dipendenze. Nota che non sto parlando di dipendenze tra pacchetti, bensì delle dipendenze temporali tra i vari servizi da avviare al boot: queste ultime sono espresse tramite parole chiave all'inizio degli script stessi, in una sezione che prende il nome di "LSB header".
Ora, quando tra i tanti script in /etc/init.d ne trova uno (smfpd nel tuo caso) con un header LSB incasinato o assente, insserv si lamenta che non riesce a finire le pulizie di casa e fa fallire la configurazione di apache. Una breve ricerca su Google mi suggerisce che questo smfpd sia un programmino installato a parte per gestire le stampanti Samsung. Ed è la causa radice!
Tutto il resto non sono che conseguenze a cascata della fallita configurazione degli initscript di apache.
Soluzione: rimuovi 'sto programmino (compreso e soprattutto lo script in /etc/init.d) e rilancia aptitude. Quando tutto è a posto e il sistema è stabile, se proprio ti serve potrai reinstallarlo e ti aiuto io a correggere a mano l'header LSB errato.
Grazie, mcortese. Ho rimosso 'smfpd' e il problema si è risolto: adesso ho potuto fare l'aggiornamento di Debian Squeeze. Tutto mi sembra nella normalità!
Grazie. Gino.





Ginoza, sei iscritto dal 2005 e ancora non hai capito che nessuno ti può aiutare se non posti il messaggio d'errore? Se io ti dicessi che a casa mia non arriva più l'acqua calda, pensi di potermi dire come risolvere?