LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 09-22-2007, 07:28 PM   #1
namit
Member
 
Registered: Aug 2005
Distribution: Debian
Posts: 355

Rep: Reputation: 30
apt-get remove nagios-text not working


Hey just wondering how do i uninstall nagios its not working working. just running apt-get remove nagios.

also tried this.
Quote:
Reading package lists... Done
Building dependency tree... Done
The following packages will be REMOVED
nagios2-common
0 upgraded, 0 newly installed, 1 to remove and 1 not upgraded.
Need to get 0B of archives.
After unpacking 410kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 49921 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)

Quote:
namit@mailman:~/stat_everything$ sudo apt-get remove nagios* --purge
Reading package lists... Done
Building dependency tree... Done
Note, selecting nagios-plugins-basic for regex 'nagios*'
Note, selecting nagios-plugins-standard for regex 'nagios*'
....
Note, selecting nagios-statd-server for regex 'nagios*'
Note, selecting nagios-nrpe-doc for regex 'nagios*'
The following packages will be REMOVED
nagios-common* nagios-plugins-basic* nagios-text* nagios2-common* nagios2-doc*
0 upgraded, 0 newly installed, 5 to remove and 1 not upgraded.
Need to get 0B of archives.
After unpacking 10.2MB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 50305 files and directories currently installed.)
Removing nagios-text ...
Stopping nagios monitoring daemon: nagios.
Removing nagios-common ...
Reloading web server config...2720
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
.
Purging configuration files for nagios-common ...
dpkg - warning: while removing nagios-common, directory `/etc/nagios' not empty so not removed.
Removing nagios2-common ...
dpkg: error processing nagios2-common (--purge):
subprocess pre-removal script returned error exit status 1
dpkg: nagios-plugins-basic: dependency problems, but removing anyway as you request:
nagios2-common depends on nagios-plugins-basic.
Removing nagios-plugins-basic ...
Purging configuration files for nagios-plugins-basic ...
dpkg: nagios2-doc: dependency problems, but removing anyway as you request:
nagios2-common depends on nagios2-doc; however:
Package nagios2-doc is to be removed.
Removing nagios2-doc ...
Errors were encountered while processing:
nagios2-common
E: Sub-process /usr/bin/dpkg returned an error code (1)
namit@mailman:~/stat_everything$
Thanks

Last edited by namit; 09-22-2007 at 07:30 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
lm-sensors not working with nagios hondo Linux - Server 9 11-17-2010 04:54 PM
apt-get remove chrony doesn't remove all? asgerhallas Debian 3 06-05-2007 06:37 AM
LXer: Apt-get remove SUSE; apt-get install Etch LXer Syndicated Linux News 0 05-26-2007 08:46 PM
Nagios GD related CGIs not working! masterJ Linux - Software 3 01-05-2005 12:39 PM
HELP with apt-getHow come when I tried to use apt-get to remove a package to regain redss Linux - Newbie 1 08-23-2004 12:59 AM


All times are GMT -5. The time now is 04:43 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration