Difference between revisions of "Iptables-persistent package fails to install on Ubuntu 12.04"

From Notes_Wiki
m
m
 
Line 1: Line 1:
[[Main Page|Home]] > [[Ubuntu]] > [[Troubleshooting Ubuntu specific issues]] > [[Iptables-persistent package fails to install on Ubuntu 12.04|iptables-persistent package fails to install on Ubuntu 12.04]]
[[Main Page|Home]] > [[Ubuntu]] > [[Ubuntu Server or Desktop administration|Server or Desktop administration]] > [[Troubleshooting Ubuntu specific issues]] > [[Iptables-persistent package fails to install on Ubuntu 12.04|iptables-persistent package fails to install on Ubuntu 12.04]]


To reproduce the problem (at least at the time of writing) use:
To reproduce the problem (at least at the time of writing) use:
Line 13: Line 13:




 
[[Main Page|Home]] > [[Ubuntu]] > [[Ubuntu Server or Desktop administration|Server or Desktop administration]] > [[Troubleshooting Ubuntu specific issues]] > [[Iptables-persistent package fails to install on Ubuntu 12.04|iptables-persistent package fails to install on Ubuntu 12.04]]
[[Main Page|Home]] > [[Ubuntu]] > [[Troubleshooting Ubuntu specific issues]] > [[Iptables-persistent package fails to install on Ubuntu 12.04|iptables-persistent package fails to install on Ubuntu 12.04]]

Latest revision as of 05:39, 15 February 2023

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:

  1. sudo apt-get update
  2. 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