[pkg-netfilter-team] Bug#914074: ln: failed to create symbolic link '/sbin/iptables': File exists

Thorsten Glaser t.glaser at tarent.de
Mon Nov 19 02:16:26 GMT 2018


On Mon, 19 Nov 2018, Thorsten Glaser wrote:

> Setting up iptables (1.8.2-1) ...
> ln: failed to create symbolic link '/sbin/iptables': File exists
> dpkg: error processing package iptables (--configure):
>  installed iptables package post-installation script subprocess returned error exit status 1

Cause:

/usr/sbin/iptables also does not exist, while the symlink /sbin/iptables
already exists.

-e is *not* the right test for symlink existence in shell!


This is two bugs, then. The absence of iptables from the iptables
package (which probably ought to be grave) and the symlink check bug.



More information about the pkg-netfilter-team mailing list