While installing/removing any package in my Debian Squeeze box, I was getting the following error :
Setting up initscripts (2.88dsf-13.1+squeeze1) …
insserv: warning: script ‘oracle-xe’ missing LSB tags and overrides
insserv: There is a loop between service munin-node and oracle-xe if stopped
insserv: loop involving service oracle-xe at depth 2
insserv: loop involving service munin-node at depth 1
insserv: Stopping oracle-xe depends on munin-node 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 initscripts (–configure):
subprocess installed post-installation script returned error exit status 1
configured to not write apport reports
Errors were encountered while processing:
initscripts
N: Ignoring file ‘dropbox.list.save’ in directory ‘/etc/apt/sources.list.d/’ as it has an invalid filename extension
N: Ignoring file ‘google-talkplugin.list.save’ in directory ‘/etc/apt/sources.list.d/’ as it has an invalid filename extension
N: Ignoring file ‘opera.list.save’ in directory ‘/etc/apt/sources.list.d/’ as it has an invalid filename extension
N: Ignoring file ‘google-earth.list.save’ in directory ‘/etc/apt/sources.list.d/’ as it has an invalid filename extension
E: Sub-process /usr/bin/dpkg returned an error code (1)
I tried many things like
1. rebuilding apt-get cache
2. apt-get forcefully uninstallation
3. dpkg-reconfigure
But got no success then I asked for the solution on ILUGC mailing list and finally got the following solution :
4. As I have already uninstalled the oracle-xe and munin-node , but this uninstallation haven’t removed the oracle-xe and munin-node entry in the /etc/init.d. So , I have manually removed it and the problem is solved.