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.
Can't Upgrade distro
Re: Can't Upgrade distro
What is the distro/architecture? Did you install nrpe from repo?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Can't Upgrade distro
i'm using debian squeeze.
Yes we using repo when installing this.
Yes we using repo when installing this.
Re: Can't Upgrade distro
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.
Before taking this route, you could post a question on the Debian support forums. They may be able to help you with the upgrade.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Can't Upgrade distro
This issue has been fixed by doing purge or removing all pdns package. Thanks for all.