nagios2 won't remove/reinstall if /etc/nagios2/apache2.conf is deleted
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nagios2 (Ubuntu) |
Won't Fix
|
Low
|
Unassigned | ||
nagios3 (Ubuntu) |
Fix Released
|
Low
|
aris pram |
Bug Description
Binary package hint: nagios2-common
This was a fresh install of 8.04 with all updates. Nagios wasn't working properly so I tried to uninstall and reinstall. There was an issue uninstalling and I had to just unpack the package and then it uninstalled. Now upon reinstall I get the following error message.
Setting up nagios2-common (2.11-1ubuntu1.2) ...
Not replacing deleted config file /etc/nagios2/
Not replacing deleted config file /etc/nagios2/
include file /etc/nagios2/
dpkg: error processing nagios2-common (--configure):
subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of nagios2:
nagios2 depends on nagios2-common (= 2.11-1ubuntu1.2); however:
Package nagios2-common is not configured yet.
dpkg: error processing nagios2 (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
nagios2-common
nagios2
E: Sub-process /usr/bin/dpkg returned an error code (1)
Related branches
Changed in nagios3: | |
assignee: | nobody → stefanlsd |
status: | Triaged → In Progress |
Changed in nagios2: | |
status: | Triaged → Fix Released |
Changed in nagios3 (Ubuntu): | |
assignee: | Emanuele Gentili (emgent) → aris pram (aris-pra04) |
Thank you for taking the time to report this bug and helping to make Ubuntu better.
I think the problem comes from the uninstall that left the system in an unstable state, rather than the reinstall.
Can you try purging nagios2 completely (sudo apt-get purge nagios2-common nagios2), then reinstall nagios2 ?
Do you remember what the original uninstall error was ?