It seems to be rather a problem of sasl2-bin. #1575757 says that (and how) nfs-kernel-server should run inside lxc. I therefore changed the config and tried to purge both problematic packages sasl2-bin and nfs-kernel-server.
I could remove nfs-kernel-server, but sasl2-bin does not even allow to remove it: # dpkg --purge sasl2-bin rmdir: failed to remove '/usr/lib/sasl2': No such file or directory insserv: warning: script 'K01iptdaemon' missing LSB tags and overrides insserv: warning: script 'iptdaemon' missing LSB tags and overrides insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: There is a loop between service iptdaemon and ondemand if started insserv: loop involving service ondemand at depth 6 insserv: loop involving service iptdaemon at depth 1 insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: exiting now without changing boot order! update-rc.d: error: insserv rejected the script header dpkg: error processing package sasl2-bin (--purge): subprocess installed post-removal script returned error exit status 1 Errors were encountered while processing: sasl2-bin ** Package changed: ubuntu => cyrus-sasl2 (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to cyrus-sasl2 in Ubuntu. https://bugs.launchpad.net/bugs/1581824 Title: nfs-kernel-server dependency loop Status in cyrus-sasl2 package in Ubuntu: New Bug description: Hi, I'm just trying to install nfs-kernel-server on a 16.04 machine running in lxc (seems odd, since lxc-machines don't have their own server, but there's several web pages claiming it works when lxc.aa_profile = unconfined is set). However, it fails directly at installation because of some dependency loop: # dpkg --configure --pending Setting up nfs-kernel-server (1:1.2.8-9ubuntu12) ... insserv: warning: script 'K20iptdaemon' missing LSB tags and overrides insserv: warning: script 'iptdaemon' missing LSB tags and overrides insserv: There is a loop between service ondemand and networking if started insserv: loop involving service networking at depth 5 insserv: loop involving service urandom at depth 4 insserv: There is a loop between service ondemand and mountdevsubfs if started insserv: loop involving service mountdevsubfs at depth 2 insserv: loop involving service udev at depth 1 insserv: There is a loop at service iptdaemon if started insserv: There is a loop at service ondemand if started insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Max recursions depth 99 reached insserv: loop involving service stunnel4 at depth 1 insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: loop involving service rpcbind at depth 7 insserv: loop involving service hwclock at depth 4 insserv: There is a loop between service iptdaemon and mountkernfs if started insserv: loop involving service mountkernfs at depth 1 insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: exiting now without changing boot order! update-rc.d: error: insserv rejected the script header dpkg: error processing package nfs-kernel-server (--configure): subprocess installed post-installation script returned error exit status 1 Setting up sasl2-bin (2.1.26.dfsg1-14build1) ... insserv: warning: script 'K20iptdaemon' missing LSB tags and overrides insserv: warning: script 'iptdaemon' missing LSB tags and overrides insserv: There is a loop between service ondemand and networking if started insserv: loop involving service networking at depth 5 insserv: loop involving service urandom at depth 4 insserv: There is a loop between service ondemand and mountdevsubfs if started insserv: loop involving service mountdevsubfs at depth 2 insserv: loop involving service udev at depth 1 insserv: There is a loop at service iptdaemon if started insserv: There is a loop at service ondemand if started insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Max recursions depth 99 reached insserv: loop involving service stunnel4 at depth 1 insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: loop involving service rpcbind at depth 7 insserv: loop involving service hwclock at depth 4 insserv: There is a loop between service iptdaemon and mountkernfs if started insserv: loop involving service mountkernfs at depth 1 insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: Starting iptdaemon depends on ondemand and therefore on system facility `$all' which can not be true! insserv: exiting now without changing boot order! update-rc.d: error: insserv rejected the script header dpkg: error processing package sasl2-bin (--configure): subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing: nfs-kernel-server sasl2-bin To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cyrus-sasl2/+bug/1581824/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp