Page 1 of 1

Can't Upgrade distro

Posted: Mon Aug 04, 2014 12:06 am
by pianunix
Hi,

Today i was run an upgrade distro such as apt-get upgrade, and having error like this :

" apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? y
Setting up nagios-nrpe-server (2.12-4) ...
insserv: Service pdns has to be enabled to start service nagios-nrpe-server
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
dpkg: error processing nagios-nrpe-server (--configure):
subprocess installed post-installation script returned error exit status 1
configured to not write apport reports
Errors were encountered while processing:
nagios-nrpe-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
"

Can you give us the best solution for this ? because the only way i have to remove the nagios-nrpe-server. :(

Thanks.

Re: Can't Upgrade distro

Posted: Mon Aug 04, 2014 3:42 pm
by lmiltchev
What is the distro/architecture? Did you install nrpe from repo?

Re: Can't Upgrade distro

Posted: Mon Aug 04, 2014 9:39 pm
by pianunix
i'm using debian squeeze.

Yes we using repo when installing this.

Re: Can't Upgrade distro

Posted: Wed Aug 06, 2014 10:48 am
by lmiltchev
We have no control over the Ubuntu/Debian nagios repos. Most of the "solutions" I was able to find were removing and reinstalling nagios after the upgrade. :(
Before taking this route, you could post a question on the Debian support forums. They may be able to help you with the upgrade.

Re: Can't Upgrade distro

Posted: Tue Aug 12, 2014 3:25 am
by pianunix
This issue has been fixed by doing purge or removing all pdns package. Thanks for all.