Hello Sean, Thanks a lot for you reply.
I have purged the packages now but problem does still exits! Please see below: apt-get --purge remove nagios-text nagios-plugins nagios-common && apt-get install nagios-text Reading Package Lists... Done Building Dependency Tree... Done Package nagios-text is not installed, so not removed Package nagios-plugins is not installed, so not removed Package nagios-common is not installed, so not removed 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Reading Package Lists... Done Building Dependency Tree... Done The following extra packages will be installed: nagios-common nagios-plugins The following NEW packages will be installed: nagios-common nagios-plugins nagios-text 0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded. Need to get 0B/2473kB of archives. After unpacking 7025kB of additional disk space will be used. Do you want to continue? [Y/n] Preconfiguring packages ... Selecting previously deselected package nagios-text. (Reading database ... 43405 files and directories currently installed.) Unpacking nagios-text (from .../nagios-text_2%3a1.3-cvs.20050402-2.sarge.1_i386.deb) ... Selecting previously deselected package nagios-plugins. Unpacking nagios-plugins (from .../nagios-plugins_1.4-6_i386.deb) ... Selecting previously deselected package nagios-common. Unpacking nagios-common (from .../nagios-common_2%3a1.3-cvs.20050402-2.sarge.1_all.deb) ... Setting up nagios-plugins (1.4-6) ... Setting up nagios-text (1.3-cvs.20050402-2.sarge.1) ... Setting up nagios-common (1.3-cvs.20050402-2.sarge.1) ... Configuration syntax error detected. Not reloading. fopen: No such file or directory apache: could not open document config file /etc/apache/conf.d/nagios invoke-rc.d: initscript apache, action "reload" failed. Nagiosadmin already existing with password. To change the password, please use the /usr/bin/htpasswd command. Can't open /etc/nagios/nagios.cfg: No such file or directory. chmod: cannot access `/etc/nagios/cgi.cfg': No such file or directory chmod: cannot access `/etc/nagios/resource.cfg': No such file or directory dpkg: error processing nagios-common (--configure): subprocess post-installation script returned error exit status 1 Errors were encountered while processing: nagios-common E: Sub-process /usr/bin/dpkg returned an error code (1) off:~# I hope that you can find the error caus I don't get it :-( Best regards and a nice weekend, Gunther > -----Ursprüngliche Nachricht----- > Von: sean finney [mailto:[EMAIL PROTECTED] > Gesendet: Sonntag, 10. Juli 2005 17:24 > An: Gunther Stammwitz; [EMAIL PROTECTED] > Betreff: Re: [Pkg-nagios-devel] Bug#317646: nagios-common > fails to install on a (more or less) clean system > > hi gunther, > > On Sun, Jul 10, 2005 at 01:17:43PM +0200, Gunther Stammwitz wrote: > > # removing the packages.. > > apt-get remove nagios-text nagios-plugins nagios-common # > now we have > > a clean system > > off:/etc# rm -rf /etc/nagios > > this is not quite true. when you remove a package, the > configuration files are left on the system and preserved. > only when you "purge" a package will you be starting from a > "clean system". because of this conffiles on a "removed" but > not "purged" system are treated just as if the packages were > actually installed. > > debian policy requires packages to respect not only > modifications of files, but also respect the removal of > files. if you can reproduce the same problem by calling: > > apt-get --purge remove nagios-text nagios-plugins > nagios-common apt-get install nagios-text > > then we have a problem. > > so, i'm going to assume that this information resolves your > problem. if this is not the case, please reply and let me > know. otherwise i'll close out this bug in a week or two's time. > > > sean > > -- >

