1

I removed Nagios with sudo apt-get remove --purge nagios3-core nagios3-common and sudo apt-get autoremove but when I use Aptitude to install something else, It automatically installs Nagios again.

How do I prevent this from happening?

The output of both commands:

root@landerghekiere:~/airtime-2.2.0/install_full/ubuntu# apt-get remove --purge nagios3-core nagios3-common
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package nagios3-common is not installed, so not removed
Package nagios3-core is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@landerghekiere:~/airtime-2.2.0/install_full/ubuntu# apt-get autoremove --purge
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@landerghekiere:~/airtime-2.2.0/install_full/ubuntu#
1
  • Paste the output as I explained on the answer, please :) Jan 20, 2013 at 13:29

1 Answer 1

0

Have you tried this?

sudo apt-get purge nagios-agent
sudo apt-get autoremove

This will remove Nagios and its configuration files, and then it will remove the packages you won't need again after uninstalling Nagios, e.g. its dependences.

If the problem is still here, try to paste the output of those commands in your original question. Remember to select the output and press Ctrl+K to mark it as code.

1

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .