Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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#
share|improve this question
    
Paste the output as I explained on the answer, please :) –  Addison Montgomery Jan 20 '13 at 13:29
add comment

1 Answer 1

up vote 0 down vote accepted

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.

share|improve this answer
    
paste.ubuntu.com/1552085 –  Lander Ghekiere Jan 20 '13 at 13:33
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.