[Risolto] Errore aggiornamento lightdm (ubuntu 16.04)

Problemi riscontrati durante l'installazione di Ubuntu, degli aggiornamenti e degli avanzamenti del sistema.
ricciabo77
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 431
Iscrizione: giovedì 4 febbraio 2010, 1:48
Desktop: Unity
Distribuzione: Ubuntu 12.04.2 LTS 64/ 13.04
Località: Bologna

[Risolto] Errore aggiornamento lightdm (ubuntu 16.04)

Messaggio da ricciabo77 »

Dopo essere passato da ubuntu 14.04 a 16.04 (non ho fatto avanzamento di versione, ma nuova installazione del sistema, mantenendo la home esistente che e' posizionata su altra partizione) ho notato che in fase di aggiornamento mi si presenta un errore nella configurazione di lightdm.
Allego output di apt-get uprade, ma stesso errore con apt-get install -f e con apt-get autoremove

Codice: Seleziona tutto

ttura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze       
Lettura informazioni sullo stato... Fatto
Calcolo dell'aggiornamento... Fatto
0 aggiornati, 0 installati, 0 da rimuovere e 0 non aggiornati.
1 non completamente installati o rimossi.
Dopo quest'operazione, verranno occupati 0 B di spazio su disco.
Continuare? [S/n] s
Configurazione di lightdm (1.18.2-0ubuntu2)...
insserv: warning: script 'S90startrslx' missing LSB tags and overrides
insserv: warning: script 'S90startupssrv' missing LSB tags and overrides
insserv: warning: script 'x11vnc.sh' missing LSB tags and overrides
insserv: warning: script 'startupssrv' missing LSB tags and overrides
insserv: warning: script 'startrslx' missing LSB tags and overrides
insserv: There is a loop at service startrslx if started
insserv: There is a loop between service startrslx and procps if started
insserv:  loop involving service procps at depth 2
insserv:  loop involving service udev at depth 1
insserv: Starting startrslx depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting startupssrv depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting startrslx depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting startupssrv depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting startrslx depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting startupssrv depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting startrslx depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting startupssrv depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting startrslx depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting startupssrv depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting startrslx depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting startupssrv depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting startrslx depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting startupssrv depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting startrslx depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting startupssrv depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting startrslx depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting startupssrv depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting startrslx depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting startupssrv depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting startrslx depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting startupssrv depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting startrslx depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting startupssrv depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting startrslx depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting startupssrv depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting startrslx depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting startupssrv depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting startrslx depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting startupssrv depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting startrslx depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting startupssrv depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting startrslx depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting startupssrv depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting startrslx depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting startupssrv depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting startrslx depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting startupssrv depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting startrslx depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting startupssrv depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting startrslx depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting startupssrv depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting startrslx depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting startupssrv depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting startrslx depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting startupssrv depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting startrslx depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting startupssrv depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting startrslx depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting startupssrv depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting startrslx depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting startupssrv depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting startrslx depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting startupssrv depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting startrslx depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting startupssrv depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting startrslx depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting startupssrv depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting startrslx depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting startupssrv depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting startrslx depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting startupssrv depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting startrslx depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting startupssrv depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting startrslx depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting startupssrv depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting startrslx depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting startupssrv depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting startrslx depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting startupssrv depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting startrslx depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting startupssrv depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting startrslx depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting startupssrv depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting startrslx depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting startupssrv depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting startrslx depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting startupssrv depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting startrslx depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting startupssrv depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting startrslx depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting startupssrv depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting startrslx depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting startupssrv depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting startrslx depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting startupssrv depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting startrslx depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting startupssrv depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting startrslx depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting startupssrv depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting startrslx depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting startupssrv depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting startrslx depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting startupssrv depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting startrslx depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Starting startupssrv depends on plymouth and therefore on system facility `$all' which can not be true!
insserv: Max recursions depth 99 reached
insserv: There is a loop between service plymouth and hwclock if started
insserv:  loop involving service hwclock at depth 1
insserv:  loop involving service checkroot at depth 3
insserv:  loop involving service mountdevsubfs at depth 1
insserv: There is a loop at service plymouth if started
insserv:  loop involving service networking at depth 4
insserv:  loop involving service startrslx at depth 1
insserv: There is a loop between service plymouth and dns-clean if started
insserv:  loop involving service dns-clean at depth 1
insserv: exiting now without changing boot order!
update-rc.d: error: insserv rejected the script header
dpkg: errore nell'elaborare il pacchetto lightdm (--configure):
 il sottoprocesso installato script di post-installation ha restituito lo stato di errore 1
Si sono verificati degli errori nell'elaborazione:
 lightdm
E: Sub-process /usr/bin/dpkg returned an error code (1)
Ho provato a cercare informazioni, ma non sono riuscito a trovare nulla a riguardo.
Ultima modifica di ricciabo77 il giovedì 25 agosto 2016, 21:45, modificato 1 volta in totale.
Avatar utente
alessandro_psrt
Prode Principiante
Messaggi: 30
Iscrizione: domenica 31 luglio 2016, 0:07
Desktop: Mate/Gnome Shell
Distribuzione: Ubuntu/Debian/Fedora/CentOS
Sesso: Maschile

Re: Errore aggiornamento lightdm (ubuntu 16.04)

Messaggio da alessandro_psrt »

Se mantieni la home mantieni anche i file di configurazione, non è consigliato passando tra diverse versioni del sistema operativo. Io farei un installazione pulita. Se risolvi il problema con lightdm cancellando i file di configurazione nella home e reinstallando il pacchetto avrai problemi con altre configurazioni.
ricciabo77
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 431
Iscrizione: giovedì 4 febbraio 2010, 1:48
Desktop: Unity
Distribuzione: Ubuntu 12.04.2 LTS 64/ 13.04
Località: Bologna

Re: Errore aggiornamento lightdm (ubuntu 16.04)

Messaggio da ricciabo77 »

Se risulta indispensabile, faro' un'installazione pulita con nuova home. Ma, se possibile, preferisco evitarlo, come ho fatto fin'ora.
caturen
Tenace Tecnocrate
Tenace Tecnocrate
Messaggi: 17947
Iscrizione: giovedì 8 aprile 2010, 18:41
Desktop: diversi
Distribuzione: debian

Re: Errore aggiornamento lightdm (ubuntu 16.04)

Messaggio da caturen »

daigo

Re: Errore aggiornamento lightdm (ubuntu 16.04)

Messaggio da daigo »

Codice: Seleziona tutto

sudo rm /var/lib/dpkg/info/lightdm.postinst

Codice: Seleziona tutto

sudo apt-get install -f
ricciabo77
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 431
Iscrizione: giovedì 4 febbraio 2010, 1:48
Desktop: Unity
Distribuzione: Ubuntu 12.04.2 LTS 64/ 13.04
Località: Bologna

Re: Errore aggiornamento lightdm (ubuntu 16.04)

Messaggio da ricciabo77 »

ho risolto, nel link postato non c'era la soluzione al mio problema, ma mi ha fatto controllare meglio gli script incriminati. Che erano x11vnc ed i servizi dell'ups.
Il problema non era causato dal contenuto degli script, ma dall'avvio automatico che avevo fatto con rc.d init, ma ora con systemd cambia tutto. Quindi ho tolto quegli script da etc/init.d, li ho messi nella home e li ho inseriti nelle applicazioni d'avvio.

Questa discussione ed in particolare il commento di ste mi ha ndirizzato alla soluzione:http://forum.ubuntu-it.org/viewtopic.php?f=33&t=610830
Scrivi risposta

Ritorna a “Installazione e aggiornamento del sistema operativo”

Chi c’è in linea

Visualizzano questa sezione: 0 utenti iscritti e 22 ospiti