Avalanche de problemas de dependência e erros insserv

1

Estou executando o Ubuntu 16.04.1 e um dist-upgrade falhou com problemas de dependência. Eu tentei consertá-lo com o sudo dpkg --configure -a e isso parece ter feito tudo muito pior - recebo o erro que copiei abaixo. Eu agora não faço ideia do que fazer - alguma sugestão muito apreciada!

Dan

Reading package lists...
Building dependency tree...
Reading state information...
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
9 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up udev (229-4ubuntu11) ...
addgroup: The group 'input' already exists as a system group. Exiting.
update-initramfs: deferring update (trigger activated)
insserv: warning: script 'K16mdns' missing LSB tags and overrides
insserv: warning: script 'mdns' missing LSB tags and overrides
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 mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Max recursions depth 99 reached
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: There is a loop at service plymouth if started
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: There is a loop at service mdns if started
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: There is a loop between service mdns and hwclock if started
insserv:  loop involving service hwclock at depth 1
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv:  loop involving service networking at depth 4
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: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv:  loop involving service checkroot at depth 4
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns 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: error processing package udev (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up lightdm (1.18.3-0ubuntu1) ...
insserv: warning: script 'K16mdns' missing LSB tags and overrides
insserv: warning: script 'mdns' missing LSB tags and overrides
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 mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Max recursions depth 99 reached
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: There is a loop at service plymouth if started
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: There is a loop at service mdns if started
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: There is a loop between service mdns and hwclock if started
insserv:  loop involving service hwclock at depth 1
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv:  loop involving service networking at depth 4
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: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv:  loop involving service checkroot at depth 4
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting mdns 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: error processing package lightdm (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of initramfs-tools-core:
 initramfs-tools-core depends on udev; however:
  Package udev is not configured yet.

dpkg: error processing package initramfs-tools-core (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of initramfs-tools:
 initramfs-tools depends on initramfs-tools-core (= 0.122ubuntu8.3); however:
  Package initramfs-tools-core is not configured yet.

dpkg: error processing package initramfs-tools (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-image-4.4.0-43-generic:
 linux-image-4.4.0-43-generic depends on initramfs-tools | linux-initramfs-tool; however:
  Package initramfs-tools is not configured yet.
  Package linux-initramfs-tool is not installed.
  Package initramfs-tools which provides linux-initramfs-tool is not configured yet.

dpkg: error processing package linux-image-4.4.0-43-generic (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-image-extra-4.4.0-43-generic:
 linux-image-extra-4.4.0-43-generic depends on linux-image-4.4.0-43-generic; however:
  Package linux-image-4.4.0-43-generic is not configured yet.

dpkg: error processing package linux-image-extra-4.4.0-43-generic (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-image-generic:
 linux-image-generic depends on linux-image-4.4.0-43-generic; however:
  Package linux-image-4.4.0-43-generic is not configured yet.
 linux-image-generic depends on linux-image-extra-4.4.0-43-generic; however:
  Package linux-image-extra-4.4.0-43-generic is not configured yet.

dpkg: error processing package linux-image-generic (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-generic:
 linux-generic depends on linux-image-generic (= 4.4.0.43.45); however:
  Package linux-image-generic is not configured yet.

dpkg: error processing package linux-generic (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of xserver-xorg-core:
 xserver-xorg-core depends on udev (>= 149); however:
  Package udev is not configured yet.

dpkg: error processing package xserver-xorg-core (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 udev
 lightdm
 initramfs-tools-core
 initramfs-tools
 linux-image-4.4.0-43-generic
 linux-image-extra-4.4.0-43-generic
 linux-image-generic
 linux-generic
 xserver-xorg-core
    
por Dan12345 17.10.2016 / 15:22

1 resposta

1

Eu responder-lhe em geral: quando você vê um tal impasse pode tentar algumas coisas, todos eles podem, eventualmente, causar-lhe problemas, então você provavelmente deve usá-los apenas temporariamente

.

1) Tente remover pacotes ofensivos . No seu caso, são mdns e plymouth. Eu não sei mdns (se ninguém depende disso você pode ter sorte para removê-lo, mas você pode perder algumas funcionalidades, então reinstalá-lo mais tarde); removendo plymouth você perderia animação de inicialização e outras coisas, você pode não querer fazê-lo.

2) tentar verificar os arquivos /etc/init.d/ e tente remover "$ all" de dependências (o bloco comentou sobre o topo do arquivo), especialmente a partir Obrigatório - linhas. * Nesse caso, eu verificaria /etc/init.d/mdns e removeria "$ all" da parte inicial. Isso fará com que o mdns comece mais tarde, o que - por suposição instruída - não deve quebrar o seu sistema (mas pode, com uma probabilidade muito baixa, ainda não ter garantias). Geralmente "$ all" não é justificado e pode ser um bug de empacotamento. Possivelmente atualizar até mesmo corrige isso para você.

Você pode testá-lo executando "insserv -n" manualmente.

    
por grin 17.10.2016 / 15:45