Bug#914074: ln: failed to create symbolic link '/sbin/iptables': File exists

2018-11-19 Thread Chris Lamb
forcemerge 914074 914129
thanks

I believe this is a duplicate of:

  https://bugs.debian.org/914074

(Please continue any discussion there.)


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-



Bug#914074: ln: failed to create symbolic link '/sbin/iptables': File exists

2018-11-18 Thread Thorsten Glaser
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.



Bug#914074: ln: failed to create symbolic link '/sbin/iptables': File exists

2018-11-18 Thread Thorsten Glaser
Package: iptables
Version: 1.8.2-1
Severity: serious
Justification: not installable

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


-- System Information:
Debian Release: buster/sid
  APT prefers buildd-unstable
  APT policy: (500, 'buildd-unstable'), (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.18.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C (charmap=UTF-8)
Shell: /bin/sh linked to /bin/lksh
Init: sysvinit (via /sbin/init)

Versions of packages iptables depends on:
ii  libc62.27-8
ii  libip4tc01.8.2-1
ii  libip6tc01.8.2-1
ii  libiptc0 1.8.2-1
ii  libmnl0  1.0.4-2
ii  libnetfilter-conntrack3  1.0.7-1
ii  libnfnetlink01.0.1-3+b1
ii  libnftnl71.1.1-1
ii  libxtables12 1.8.2-1

iptables recommends no packages.

Versions of packages iptables suggests:
ii  kmod  25-2

-- no debconf information