I'm running Ubuntu 14.04 and I simply want to uninstall iptables-persistent to test something.
As suggested here (http://www.installion.co.uk/ubuntu/saucy/universe/i/iptables-persistent/uninstall.html) I tried:
sudo apt-get remove --auto-remove iptables-persistent
... but it's still there. I tried again and got the message:
Package 'iptables-persistent' is not installed, so not removed
But it isn't removed. I rebooted and still am able to run
/etc/init.d/iptables-persistent save
and /etc/init.d/iptables-persistent is still there. What am I missing? Shouldn't that file be gone after removing it as I did?
Files in /etc are config files and are kept around when you remove a package in case you reinstall it in the future. If you want to get rid of them, you have to purge the package: