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

From Notes_Wiki
(Created page with "<yambe:breadcrumb>Troubleshooting_Ubuntu_specific_issues|Troubleshooting Ubuntu specific issues</yambe:breadcrumb> =iptables-persistent package fails to install on Ubuntu 12.0...")
 
m
Line 1: Line 1:
<yambe:breadcrumb>Troubleshooting_Ubuntu_specific_issues|Troubleshooting Ubuntu specific issues</yambe:breadcrumb>
[[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]]
=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 11: Line 10:
</pre>
</pre>
Learned from https://forum.linode.com/viewtopic.php?t=9070&p=58732
Learned from https://forum.linode.com/viewtopic.php?t=9070&p=58732
[[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]]

Revision as of 07:05, 31 March 2022

Home > Ubuntu > 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 > Troubleshooting Ubuntu specific issues > iptables-persistent package fails to install on Ubuntu 12.04