apt-get dando erro

2

Quando tento executar a atualização, atualização ou instalação, sempre recebo um erro:

Setting up initscripts (2.88dsf-34) ...
Can't exec "insserv": No such file or directory at /usr/sbin/update-rc.d line 391.
update-rc.d: error: insserv rejected the script header
dpkg: error processing initscripts (--configure):
 subprocess installed post-installation script returned error exit status 255
configured to not write apport reports
                                      Errors were encountered while processing:
 initscripts
E: Sub-process /usr/bin/dpkg returned an error code (1)

Anteriormente, tentei atualizar e recebi um registro de erros enorme com esse tipo de erro:

Preconfiguring packages ...
Setting up initscripts (2.88dsf-34) ...
Can't exec "insserv": No such file or directory at /usr/sbin/update-rc.d line 391.
update-rc.d: error: insserv rejected the script header
dpkg: error processing initscripts (--configure):
 subprocess installed post-installation script returned error exit status 255
configured to not write apport reports
Errors were encountered while processing:
 initscripts
Error in function: 
Setting up acpi-fakekey (0.141-1) ...
Can't exec "insserv": No such file or directory at /usr/sbin/update-rc.d line 406.
update-rc.d: error: insserv rejected the script header
dpkg: error processing acpi-fakekey (--configure):
 subprocess installed post-installation script returned error exit status 255
Setting up kmod (9-2) ...
Can't exec "insserv": No such file or directory at /usr/sbin/update-rc.d line 406.
update-rc.d: error: insserv rejected the script header
dpkg: error processing kmod (--configure):
 subprocess installed post-installation script returned error exit status 255
Setting up dbus (1.6.8-1) ...
Can't exec "insserv": No such file or directory at /usr/sbin/update-rc.d line 406.
update-rc.d: error: insserv rejected the script header
dpkg: error processing dbus (--configure):
 subprocess installed post-installation script returned error exit status 255
dpkg: dependency problems prevent configuration of rhythmbox:
 rhythmbox depends on dbus; however:
  Package dbus is not configured yet.

O que há de errado?

    
por RegedUser00x 17.11.2012 / 16:05

1 resposta

4

Eu tive o mesmo problema aqui: Execute isso no terminal

sudo ln -s /usr/lib/insserv/insserv /sbin/insserv

Em seguida, execute o habitual

Resolveu o meu problema abaixo , espero que corrija o seu.

Setting up initscripts (2.88dsf-34) ...
Can't exec "insserv": No such file or directory at /usr/sbin/update-rc.d line 406.
 update-rc.d: error: insserv rejected the script header
dpkg: error processing initscripts (--configure):
 subprocess installed post-installation script returned error exit status 255
Errors were encountered while processing:
 initscripts

ln -s /usr/lib/insserv/insserv /sbin/insserv

Então eu corri sináptico novamente

Extracting templates from packages: 100%
Preconfiguring packages ...
Setting up initscripts (2.88dsf-34) ...

Eu tenho outro erro agora, embora

E: /var/cache/apt/archives/
gstreamer0.10-plugins-good_0.10.31-3+nmu1ubuntu1_i386.deb: 
trying to overwrite '/usr/lib/i386-linux-gnu/gstreamer-0.10/libgstcamerabin.so',
which is also in package gstreamer0.10-plugins-bad:i386 0.10.23-7

Então eu marquei gstreamer-bad-plugins para remoção no synaptic. Por enquanto, tudo bem. Atualização: terminou sem erros. : D

    
por user115281 17.12.2012 / 22:24