[Pkg-nagios-devel] Bug#518625: Nagios2, can't uninstall
storm66 at club-internet.fr
storm66 at club-internet.fr
Sat Mar 7 15:00:12 UTC 2009
Package: nagios2
Version: 2.6-2+etch1
As I have installed I want to uninstall nagios2 packages,
the first packages were suppressed OK but I encounter a problem with
the last two :
nagios2-common
nagios2-doc
If I want to uninstall :
----------------------------------------------------------------------------
apt-get remove nagios2-common
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
nagios2-common
0 upgraded, 0 newly installed, 1 to remove and 21 not upgraded.
1 not fully installed or removed.
After this operation, 410kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 236282 files and directories currently installed.)
Removing nagios2-common ...
dpkg: error processing nagios2-common (--remove):
subprocess pre-removal script returned error exit status 1
Errors were encountered while processing:
nagios2-common
E: Sub-process /usr/bin/dpkg returned an error code (1)
-----------------------------------------------------------------------------
As the updates are impossible with a broken package I try to re-install
it,
(nagios2-common and nagios2-doc) but :
-----------------------------------------------------------------------------
dpkg -i nagios2-*
(Reading database ... 236284 files and directories currently installed.)
Preparing to replace nagios2-common 2.6-2+etch1 (using
nagios2-common_2.6-2+etch1_all.deb) ...
Unpacking replacement nagios2-common ...
Preparing to replace nagios2-doc 2.6-2+etch1 (using nagios2-doc_2.6-2
+etch1_all.deb) ...
Unpacking replacement nagios2-doc ...
Setting up nagios2-doc (2.6-2+etch1) ...
Setting up nagios2-common (2.6-2+etch1) ...
*** WARNING: ucf was run from a maintainer script that uses debconf, but
the script did not pass --debconf-ok to ucf. The maintainer
script should be fixed to not stop debconf before calling
ucf,
and pass it this parameter. For now, ucf will revert to
using
old-style, non-debconf prompting. Ugh!
Please inform the package maintainer about this problem.
Not replacing deleted config file /etc/nagios2/apache2.conf
*** WARNING: ucf was run from a maintainer script that uses debconf, but
the script did not pass --debconf-ok to ucf. The maintainer
script should be fixed to not stop debconf before calling
ucf,
and pass it this parameter. For now, ucf will revert to
using
old-style, non-debconf prompting. Ugh!
Please inform the package maintainer about this problem.
Not replacing deleted config
file /etc/nagios2/conf.d/host-gateway_nagios2.cfg
include file /etc/nagios2/apache2.conf does not exist!
dpkg: error processing nagios2-common (--install):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
nagios2-common
--------------------------------------------------------------------------------
Regards
JP Pozzi
More information about the Pkg-nagios-devel
mailing list