Erro ao instalar pacotes no Debian 6. [RESOLVIDO]

1. Erro ao instalar pacotes no Debian 6. [RESOLVIDO]

Arthur Neto
---Anonymous---

(usa Debian)

Enviado em 28/03/2011 - 22:12h

Olá galerinha, estou com um problema em que esta me deixando louco, eu não sei o que aconteceu que agora toda vez que vou instalar qualquer pacote, sempre dá erro no final da instalação, vejam:


root@akc-aneto:~# apt-get install vsftpd
Lendo listas de pacotes... Pronto
Construindo árvore de dependências
Lendo informação de estado... Pronto
Os NOVOS pacotes a seguir serão instalados:
vsftpd
0 pacotes atualizados, 1 pacotes novos instalados, 0 a serem removidos e 0 não atualizados.
2 pacotes não totalmente instalados ou removidos.
É preciso baixar 148 kB de arquivos.
Depois desta operação, 475 kB adicionais de espaço em disco serão usados.
Obter:1 http://ftp.br.debian.org/debian/ squeeze/main vsftpd amd64 2.3.2-3 [148 kB]
Baixados 148 kB em 0s (181 kB/s)
Pré-configurando pacotes ...
Selecionando pacote previamente não selecionado vsftpd.
(Lendo banco de dados ... 153188 ficheiros e directórios actualmente instalados.)
Desempacotando vsftpd (de .../vsftpd_2.3.2-3_amd64.deb) ...
Processando gatilhos para man-db ...
Configurando gdm3 (2.30.5-6squeeze2) ...
dpkg: erro processando gdm3 (--configure):
sub-processo script post-installation instalado retornou estado de saída de erro 1
configured to not write apport reports
Configurando rsync (3.0.7-2) ...
update-rc.d: using dependency based boot sequencing
insserv: warning: script 'K01smfpd' missing LSB tags and overrides
insserv: warning: script 'smfpd' missing LSB tags and overrides
insserv: Starting smfpd depends on stop-bootlogd and therefore on system facility `$all' which can not be true!
insserv: There is a loop between service smfpd and stop-bootlogd if started
insserv: loop involving service stop-bootlogd at depth 23
insserv: loop involving service smfpd at depth 1
insserv: Starting smfpd depends on stop-bootlogd and therefore on system facility `$all' which can not be true!
insserv: warning: script 'K01smfpd' missing LSB tags and overrides
insserv: warning: script 'smfpd' missing LSB tags and overrides
insserv: There is a loop at service stop-bootlogd if started
insserv: There is a loop between service stop-bootlogd and mountnfs if started
insserv: loop involving service mountnfs at depth 6
insserv: loop involving service nfs-common at depth 5
insserv: There is a loop between service stop-bootlogd and checkroot if started
insserv: loop involving service checkroot at depth 3
insserv: loop involving service mountdevsubfs at depth 2
insserv: loop involving service fuse at depth 10
insserv: Starting smfpd depends on stop-bootlogd and therefore on system facility `$all' which can not be true!
insserv: Max recursions depth 99 reached
insserv: loop involving service portmap at depth 7
insserv: There is a loop between service stop-bootlogd and mountall if started
insserv: loop involving service mountall at depth 5
insserv: loop involving service checkfs at depth 4
insserv: There is a loop between service smfpd and udev if started
insserv: loop involving service udev at depth 1
insserv: loop involving service saned at depth 11
insserv: loop involving service networking at depth 7
insserv: loop involving service mtab at depth 4
insserv: Starting smfpd depends on stop-bootlogd and therefore on system facility `$all' which can not be true!
insserv: There is a loop between service smfpd and ifupdown-clean if started
insserv: loop involving service ifupdown-clean at depth 4
insserv: There is a loop at service smfpd if started
insserv: loop involving service gdm3 at depth 11
insserv: Starting smfpd depends on stop-bootlogd and therefore on system facility `$all' which can not be true!
insserv: loop involving service avahi at depth 11
insserv: loop involving service mountkernfs at depth 1
insserv: Starting smfpd depends on stop-bootlogd and therefore on system facility `$all' which can not be true!
insserv: loop involving service hwclockfirst at depth 4
insserv: loop involving service hostname at depth 5
insserv: Starting smfpd depends on stop-bootlogd and therefore on system facility `$all' which can not be true!
insserv: There is a loop between service smfpd and bootlogd if started
insserv: loop involving service bootlogd at depth 4
insserv: loop involving service module-init-tools at depth 7
insserv: There is a loop between service stop-bootlogd and mountall-bootclean if started
insserv: loop involving service mountall-bootclean at depth 1
insserv: Starting smfpd depends on stop-bootlogd 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: erro processando rsync (--configure):
sub-processo script post-installation instalado retornou estado de saída de erro 1
configured to not write apport reports
Configurando vsftpd (2.3.2-3) ...
insserv: warning: script 'K01smfpd' missing LSB tags and overrides
insserv: warning: script 'smfpd' missing LSB tags and overrides
insserv: There is a loop at service stop-bootlogd if started
insserv: There is a loop between service stop-bootlogd and mountnfs if started
insserv: loop involving service mountnfs at depth 6
insserv: loop involving service nfs-common at depth 5
insserv: There is a loop between service stop-bootlogd and checkroot if started
insserv: loop involving service checkroot at depth 3
insserv: loop involving service mountdevsubfs at depth 2
insserv: loop involving service fuse at depth 10
insserv: Starting smfpd depends on stop-bootlogd and therefore on system facility `$all' which can not be true!
insserv: Max recursions depth 99 reached
insserv: loop involving service portmap at depth 7
insserv: There is a loop between service stop-bootlogd and mountall if started
insserv: loop involving service mountall at depth 5
insserv: loop involving service checkfs at depth 4
insserv: There is a loop between service smfpd and udev if started
insserv: loop involving service udev at depth 1
insserv: loop involving service saned at depth 11
insserv: loop involving service networking at depth 7
insserv: loop involving service mtab at depth 4
insserv: Starting smfpd depends on stop-bootlogd and therefore on system facility `$all' which can not be true!
insserv: There is a loop between service smfpd and ifupdown-clean if started
insserv: loop involving service ifupdown-clean at depth 4
insserv: There is a loop at service smfpd if started
insserv: loop involving service gdm3 at depth 11
insserv: Starting smfpd depends on stop-bootlogd and therefore on system facility `$all' which can not be true!
insserv: loop involving service avahi at depth 11
insserv: loop involving service mountkernfs at depth 1
insserv: Starting smfpd depends on stop-bootlogd and therefore on system facility `$all' which can not be true!
insserv: loop involving service hwclockfirst at depth 4
insserv: loop involving service hostname at depth 5
insserv: Starting smfpd depends on stop-bootlogd and therefore on system facility `$all' which can not be true!
insserv: There is a loop between service smfpd and bootlogd if started
insserv: loop involving service bootlogd at depth 4
insserv: loop involving service module-init-tools at depth 7
insserv: There is a loop between service stop-bootlogd and mountall-bootclean if started
insserv: loop involving service mountall-bootclean at depth 1
insserv: Starting smfpd depends on stop-bootlogd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on stop-bootlogd 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: erro processando vsftpd (--configure):
sub-processo script post-installation instalado retornou estado de saída de erro 1
configured to not write apport reports
Processando gatilhos para menu ...
Erros foram encontrados durante o processamento de:
gdm3
rsync
vsftpd
E: Sub-process /usr/bin/dpkg returned an error code (1)

Os programas funfam de boa, mas toda vez dá esse erro quando tento instalar algo, no meu caso, fui instalar o rsync, gdm3 e o vsftpd, e agora fica com essa frescura ae.

O que pode ser ??


  


2. MELHOR RESPOSTA

Avena
avena

(usa Debian)

Enviado em 29/03/2011 - 02:47h

isso problema de instalacao de pacotes...corrompido estao.

entao vamos em: /var/lib/dpkg/info/

ai dentro vai ter varios arquivo com info de cada pacote que esta instalado e que dpkg olha ai pra ver se esta tudo ok


como ele acusa erro nos 3 pacotes

Erros foram encontrados durante o processamento de:
gdm3
rsync
vsftpd


rm -f /var/lib/dpkg/info/gdm3*
rm -f /var/lib/dpkg/info/rsync*
rm -f /var/lib/dpkg/info/vsftpd*


depois execute o apt-get -f remove
e tente instalar novamente.

recomendo remover somente o
rm -f /var/lib/dpkg/info/vsftpd*
e -f remove e tentar instalar novamente...pois vi que problema esta acontecendo quando tu tenta instalar ele.

se nao quiser remover pode mover
por exemplo

mv /var/lib/dpkg/info/vsftpd* /opt/copia

assim se der problema pode voltar, remover info de outros pacotes pode dar problema.



3. Re: Erro ao instalar pacotes no Debian 6. [RESOLVIDO]

Arthur Neto
---Anonymous---

(usa Debian)

Enviado em 29/03/2011 - 17:04h

Avena, valeu cara, fiz o que vc disse e funfou de boa, agora instala qualquer coisa de boa.
Mais uma que aprendi com o Debian, valeu mesmo.

E valeu ao rapaz do primeiro comentário, faça exatamento o que o Avena disse, vai funcionar cara.

Fui.


4. resolveu o meu tanbem

Izaias
linus black

(usa Debian)

Enviado em 30/08/2011 - 14:47h

Show de bola!!!!!


5. Resolveu o meu também! (2)

Wadilson de Oliveira Filho
wadilson

(usa Ubuntu)

Enviado em 06/07/2012 - 17:58h

E pensar que quase reinstalei o sistema por causa desses problemas de dependências.

Obrigado


6. Aqui está o erro: missing LSB tags and overrides.

Anderson Bandeira
dheeoo

(usa Debian)

Enviado em 19/04/2013 - 21:10h

Olá a todos.
Já havia me deparado com este problema e fiz o que o amigo sugeriu e removi os pacotes que apresentavam o problema, mas chegou a um ponto que tudo que eu atualizava apresentava erro, então descobri que na verdade o problema está onde aparece insserv: warning: script ‘XXXXXXXX’ missing LSB tags and overrides.


A solução é encontrar o(s) script(s) com problema e adicionar:
### BEGIN INIT INFO
# Provides: "NOME DO PACOTE"
# Required-Start: $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Example initscript
# Description: This file should be used to construct scripts to be
# placed in /etc/init.d.
### END INIT INFO

No início do script e rodar o comando
#update-rc.d "NOME DO PACOTE" defaults

FONTE:
http://wiki.debian.org/LSBInitScripts/DependencyBasedBoot
http://www.siteduzero.com/forum/sujet/update-rc-d-message-d-erreur-insserv-14466

Abs,






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts