[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Wheezy LTS - apt error with recent apache2 update - monit issue?



Hello,

I saw that Apache2 had a Wheezy LTS update today and did the usual :

apt-get update && apt-get dist-upgrade

However, this gave me an error, and it seems to be "monit" :

Processing triggers for man-db ...
Setting up apache2.2-bin (2.2.22-13+deb7u7) ...
Setting up apache2-utils (2.2.22-13+deb7u7) ...
Setting up apache2.2-common (2.2.22-13+deb7u7) ...
insserv: warning: script 'K02klogd' missing LSB tags and overrides
insserv: warning: script 'K04sysklogd' missing LSB tags and overrides
insserv: warning: script 'sysklogd' missing LSB tags and overrides
insserv: warning: script 'modutils' missing LSB tags and overrides
insserv: warning: script 'klogd' missing LSB tags and overrides
insserv: There is a loop between service monit and modutils if stopped
insserv:  loop involving service modutils at depth 2
insserv:  loop involving service monit at depth 1
insserv: Stopping modutils depends on monit 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 apache2.2-common (--configure):
 subprocess installed post-installation script returned error exit
 status 1
dpkg: dependency problems prevent configuration of apache2-mpm-prefork:
 apache2-mpm-prefork depends on apache2.2-common (= 2.2.22-13+deb7u7);
 however:
  Package apache2.2-common is not configured yet.

dpkg: error processing apache2-mpm-prefork (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of apache2:
 apache2 depends on apache2-mpm-worker (= 2.2.22-13+deb7u7) |
 apache2-mpm-prefork (= 2.2.22-13+deb7u7) | apache2-mpm-event (=
 2.2.22-13+deb7u7) | apache2-mpm-itk (= 2.2.22-13+deb7u7); however
:
  Package apache2-mpm-worker is not installed.
  Package apache2-mpm-prefork is not configured yet.
  Package apache2-mpm-event is not installed.
  Package apache2-mpm-itk is not installed.
 apache2 depends on apache2.2-common (= 2.2.22-13+deb7u7); however:
  Package apache2.2-common is not configured yet.

dpkg: error processing apache2 (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 apache2.2-common
 apache2-mpm-prefork
 apache2
Log ended: 2016-07-21  13:44:57


I messed around a bit, trying to get Apache2 updated correctly and get
my server back up, and in the end just purged "monit". By this time, I
had completely purged Apache as well, but could then reinstall and get
stuff back in action from backups.

Monit was a recent install and no loss to me just now. But I was a
little surprised by this.

Thoughts?


Many Thanks,



-- 
Alastair Sherringham
http://www.sherringham.net


Reply to: