Package will also fail to install on IPv6 disabled: Aug 05 17:14:40 localhost xrdp-sesman[16878]: (16878)(-1222109440)[DEBUG] libscp initialized Aug 05 17:14:40 localhost xrdp-sesman[16879]: (16879)(-1222109440)[INFO ] starting xrdp-sesman with pid 16879 Aug 05 17:14:40 localhost xrdp-sesman[16879]: (16879)(-1222109440)[ERROR] bind error on port '3350': 22 (Invalid argument) Aug 05 17:14:40 localhost xrdp-sesman[16879]: (16879)(-1222109440)[DEBUG] Closed socket 7 (AF_INET6 :: port 0)
Even after temporary setting /proc/sys/net/ipv6/conf/all/disable_ipv6 to 0 repair will fail: Processing triggers for libc-bin (2.24-12) ... W: APT had planned for dpkg to do more than it reported back (0 vs 4). Affected packages: xrdp:i386 The package has to be purged and reinstalled before setting old /proc/sys/net/ipv6/conf/all/disable_ipv6 value.