Aug 262013
If you get these errors…..
insserv: warning: script 'S85vpnagentd_init' missing LSB tags and overrides
insserv: warning: script 'vpnagentd_init' missing LSB tags and overrides
insserv: There is a loop between service rmnologin and mountnfs if started
insserv: loop involving service mountnfs at depth 7
insserv: loop involving service networking at depth 6
insserv: There is a loop between service rmnologin and mountnfs if started
insserv: Starting vpnagentd_init depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting vpnagentd_init depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting vpnagentd_init depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Max recursions depth 99 reached
insserv: loop involving service nfs-common at depth 4
insserv: loop involving service pulseaudio at depth 13
insserv: exiting now without changing boot order!
The fix is….
Find the location of the file references above:
$ find /etc -name '*vpnagentd_init' | sort | xargs ls -l
-rwxr-xr-x 1 root root 1153 Aug 13 13:58 /etc/init.d/vpnagentd_init
lrwxrwxrwx 1 root root 24 Aug 26 16:10 /etc/rc2.d/K01vpnagentd_init -> ../init.d/vpnagentd_init
lrwxrwxrwx 1 root root 26 Aug 13 13:58 /etc/rc2.d/S85vpnagentd_init -> /etc/init.d/vpnagentd_init
lrwxrwxrwx 1 root root 24 Aug 26 16:10 /etc/rc3.d/K01vpnagentd_init -> ../init.d/vpnagentd_init
lrwxrwxrwx 1 root root 26 Aug 13 13:58 /etc/rc3.d/S85vpnagentd_init -> /etc/init.d/vpnagentd_init
lrwxrwxrwx 1 root root 24 Aug 26 16:10 /etc/rc4.d/K01vpnagentd_init -> ../init.d/vpnagentd_init
lrwxrwxrwx 1 root root 26 Aug 13 13:58 /etc/rc4.d/S85vpnagentd_init -> /etc/init.d/vpnagentd_init
lrwxrwxrwx 1 root root 24 Aug 26 16:10 /etc/rc5.d/K01vpnagentd_init -> ../init.d/vpnagentd_init
lrwxrwxrwx 1 root root 26 Aug 13 13:58 /etc/rc5.d/S85vpnagentd_init -> /etc/init.d/vpnagentd_init
Move it to a different name by replace S85 with S21:
$ sudo mv /etc/rc2.d/S85vpnagentd_init /etc/rc2.d/S21vpnagentd_init
$ sudo mv /etc/rc3.d/S85vpnagentd_init /etc/rc3.d/S21vpnagentd_init
$ sudo mv /etc/rc4.d/S85vpnagentd_init /etc/rc4.d/S21vpnagentd_init
$ sudo mv /etc/rc5.d/S85vpnagentd_init /etc/rc5.d/S21vpnagentd_init
Run insserv command and make sure the errors are gone:
$ sudo insserv
insserv: warning: script 'S21vpnagentd_init' missing LSB tags and overrides
insserv: warning: script 'vpnagentd_init' missing LSB tags and overrides
Now complete your upgrade:
$ sudo apt-get upgrade
Reference: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=695751