Iptables-persistent package fails to install on Ubuntu 12.04
From Notes_Wiki
Home > Ubuntu > Server or Desktop administration > Troubleshooting Ubuntu specific issues > iptables-persistent package fails to install on Ubuntu 12.04
To reproduce the problem (at least at the time of writing) use:
- sudo apt-get update
- sudo apt-get -y install iptables-persistent
To solve the problem use:
sudo sed -i 's/\(modprobe -q ip6\?table_filter\)/\1 || true/g' /var/lib/dpkg/info/iptables-persistent.postinst; sudo apt-get install iptables-persistent
Learned from https://forum.linode.com/viewtopic.php?t=9070&p=58732
Home > Ubuntu > Server or Desktop administration > Troubleshooting Ubuntu specific issues > iptables-persistent package fails to install on Ubuntu 12.04