Hola, no sé si esto va bien aquí, pero estoy teniendo un pequeño problema a la hora de desinstalar el paquete apache2.2-common.
Estoy en Debian Wheezy (testing) y, el otro día, cuando actualicé (#aptitude update && aptitude safe-upgrade) se actualizó el apache2, aptitude me preguntó si quería sustituir los archivos de configuración por los nuevos y acepté, pero entonces se me jodió el apache: no podía acceder al localhost y cuando hacía cualquier cosa con aptitude, éste intentaba configurar bien el apache2 y unos cuantos paquetes más relacionados, dando siempre un montón de errores y sin hacer nada. Para solucionarlo, lo primero que se me ocurrió fue hacer un #aptitude -f install, pero dio los mismos resultados, así que hoy me he dispuesto a eliminar todo lo que tenga relación con el apache y volver a instalarlo. Tras unos cuantos problemas, entre aptitude, apt-get y dpkg conseguí purgar todos los paquetes problemáticos (y sus archivos de configuración), pero no puedo decir lo mismo del paquete apache2.2-common. Lo he intentado con #apt-get remove --purge apache2.2-common; #aptitude purge apache2.2-common; y #dpkg --purge apache2.2-common. En todos los casos me da los mismos errores y, aunque se ha desinstalado el paquete, los archivos de configuración siguen ahí. Pego el resultado aquí:
#dpkg --purge apache2.2-common
(Leyendo la base de datos ... 306684 ficheros o directorios instalados actualmente.)
Desinstalando apache2.2-common ...
Purgando ficheros de configuración de apache2.2-common ...
insserv: warning: script 'K07smfpd' missing LSB tags and overrides
insserv: script apache2 is not an executable regular file, skipped!
insserv: warning: script 'smfpd' missing LSB tags and overrides
insserv: There is a loop between service stop-bootlogd and udev if started
insserv: loop involving service udev 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: Max recursions depth 99 reached
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 keyboard-setup at depth 2
insserv: loop involving service alsa-utils at depth 9
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: loop involving service mtab at depth 4
insserv: loop involving service networking at depth 7
insserv: There is a loop between service stop-bootlogd and mountoverflowtmp if started
insserv: loop involving service mountoverflowtmp at depth 1
insserv: There is a loop at service stop-bootlogd if started
insserv: loop involving service module-init-tools at depth 4
insserv: loop involving service hdparm at depth 3
insserv: loop involving service rpcbind at depth 9
insserv: There is a loop between service stop-bootlogd and ifupdown if started
insserv: loop involving service ifupdown at depth 8
insserv: loop involving service ifupdown-clean at depth 7
insserv: There is a loop between service smfpd and mountkernfs if started
insserv: loop involving service mountkernfs at depth 1
insserv: There is a loop at service smfpd if started
insserv: loop involving service mountall-bootclean at depth 1
insserv: exiting now without changing boot order!
update-rc.d: error: insserv rejected the script header
dpkg: error al procesar apache2.2-common (--purge):
el subproceso instalado el script post-removal devolvió el código de salida de error 1
Se encontraron errores al procesar:
apache2.2-common
Con aptitude y apt-get el resultado es el mismo y eyendo por ahí no he encontrado nada que me sirva. Mi pregunta es, ¿hay alguna otra forma de eliminar todo lo que tenga relación con este paquete para poder volverlo a instalar de 0 (a ser posible, sin tener que ir borrando manualmente todos los archivos con #rm -f lo_que_sea)? Muchas gracias por adelantado.
EDITO: Más o menos solucioné lo del apache... Pude reinstalarlo de 0 con el siguiente comando (por si a alguien le sirve):
apt-get -o DPkg::Options::="--force-confmiss" --reinstall install apache2.2-common
Peeero... ahora me pasa lo mismo con otros paquetes: el CUPS (¡me he quedado sin impresoras!
![a lágrima viva [buuuaaaa]](/images/smilies/nuevos/triste_ani3.gif)
) y, tras volver a hacer un aptitude safe-upgrade, el acpid. Y con estos no funciona de ninguna de las formas: no puedo purgarlos, ni puedo resolver las dependencias con aptitude -f install... nada, me salen más o menos los mismos errores que con lo del apache:
# aptitude purge cups
Se ELIMINARÁN los siguientes paquetes:
cups{p}
Se configurarán los siguientes paquetes que están ahora parcialmente instalados:
acpid
0 paquetes actualizados, 0 nuevos instalados, 1 para eliminar y 1 sin actualizar.
Necesito descargar 0 B de ficheros. Después de desempaquetar se usarán 0 B.
¿Quiere continuar? [Y/n/?] y
(Leyendo la base de datos ... 308496 ficheros o directorios instalados actualmente.)
Desinstalando cups ...
Purgando ficheros de configuración de cups ...
insserv: warning: script 'K07smfpd' missing LSB tags and overrides
insserv: warning: script 'smfpd' missing LSB tags and overrides
insserv: There is a loop between service stop-bootlogd and udev if started
insserv: loop involving service udev 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: Max recursions depth 99 reached
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 keyboard-setup at depth 2
insserv: loop involving service alsa-utils at depth 9
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: loop involving service mtab at depth 4
insserv: loop involving service networking at depth 7
insserv: There is a loop between service stop-bootlogd and mountoverflowtmp if started
insserv: loop involving service mountoverflowtmp at depth 1
insserv: There is a loop at service stop-bootlogd if started
insserv: loop involving service module-init-tools at depth 4
insserv: loop involving service hdparm at depth 3
insserv: loop involving service rpcbind at depth 9
insserv: There is a loop between service stop-bootlogd and ifupdown if started
insserv: loop involving service ifupdown at depth 8
insserv: loop involving service ifupdown-clean at depth 7
insserv: There is a loop between service smfpd and mountkernfs if started
insserv: loop involving service mountkernfs at depth 1
insserv: There is a loop at service smfpd if started
insserv: loop involving service mountall-bootclean at depth 1
insserv: exiting now without changing boot order!
update-rc.d: error: insserv rejected the script header
dpkg: error al procesar cups (--purge):
el subproceso instalado el script post-removal devolvió el código de salida de error 1
configured to not write apport reports
Se encontraron errores al procesar:
cups
Updating Debian Packages of System Configurations (dpsyco).
E: Sub-process /usr/bin/dpkg returned an error code (1)
Un paquete no se pudo instalar. Intentado recuperarse:
Configurando acpid (1:2.0.12-1) ...
insserv: warning: script 'K07smfpd' missing LSB tags and overrides
insserv: warning: script 'smfpd' missing LSB tags and overrides
insserv: There is a loop between service stop-bootlogd and udev if started
insserv: loop involving service udev 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: Max recursions depth 99 reached
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 keyboard-setup at depth 2
insserv: loop involving service alsa-utils at depth 9
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: loop involving service mtab at depth 4
insserv: loop involving service networking at depth 7
insserv: There is a loop between service stop-bootlogd and mountoverflowtmp if started
insserv: loop involving service mountoverflowtmp at depth 1
insserv: There is a loop at service stop-bootlogd if started
insserv: loop involving service module-init-tools at depth 4
insserv: loop involving service hdparm at depth 3
insserv: loop involving service rpcbind at depth 9
insserv: There is a loop between service stop-bootlogd and ifupdown if started
insserv: loop involving service ifupdown at depth 8
insserv: loop involving service ifupdown-clean at depth 7
insserv: There is a loop between service smfpd and mountkernfs if started
insserv: loop involving service mountkernfs at depth 1
insserv: There is a loop at service smfpd if started
insserv: loop involving service mountall-bootclean at depth 1
insserv: exiting now without changing boot order!
update-rc.d: error: insserv rejected the script header
dpkg: error al procesar acpid (--configure):
el subproceso instalado el script post-installation devolvió el código de salida de error 1
Se encontraron errores al procesar:
acpid
La verdad, ya estoy un poco desesperado y no sé si tal vez los errores vengan de otra cosa (algún fallo del dpkg u otro paquete... no sé). Además, el jodido del apache no se me inicia automáticamente al encender el pc (antes sí lo hacía) y, cuando lo intento con #/etc/init.d/apache2 start; me devuelve el mensaje "Permiso denegado" (¡siendo root!) y tengo que iniciarlo manualmente cada vez con #apache2ctl start. Gracias por adelantado.
VUELVO A EDITAR: Tras mucho buscar, me encontré con
este informe de bug y logré solucionar-lo todo añadiendo algo parecido a
esto al archivo /etc/init.d/smfpd. El apache sigue sin iniciarse automáticamente, pero ya me buscaré la vida o, en el peor de los casos, lo iniciaré a mano con #apache2ctl start cuando lo necesite.