For the avoidance of doubt: all shell file test operators act on the target
of symbolic links, except for -h/-L, the test for a file being a symbolic
link.
signature.asc
Description: This is a digitally signed message part
It looks like the postinst script is failing because the test -e on line
15 looks to a broken symlink at /sbin/iptables (at least on my system).
Changing the -e to -L to test for a symbolic link could work.
Changing the /var/lib/dpkg/info/iptables.postinst file on line 16 to add
the -f op
Dear Maintainer, hi Jon,
I got the same error updating the package.
In total this six links ip6tables, ip6tables-restore, ip6tables-save,
iptables, iptables-restore and iptables-save links in /sbin were the
culprits, so a fix should be easy.
Kind regards,
Martin
Package: iptables
Version: 1.8.2-1
Severity: important
Dear Maintainer,
During an upgrade from 1.8.1-2 to 1.8.2-1 I got the following error:
Setting up iptables (1.8.2-1) ...
ln: failed to create symbolic link '/sbin/iptables': File exists
dpkg: error processing package iptables (--configure):
4 matches
Mail list logo