ÈÐ Wïgê† Ðð† ñåmê

ïñ£ð§ê¢, ïñ£ðrmå†ïðñ §ê¢µr, Ðïgï†ål £ðrêñ§ï¢§, hå¢kïñg, §¥§†êm åÐmïñ阮rå†ïðñ, lïñµx ßlðg

kali: fix script ‘S85vpnagentd_init’ missing LSB tags and overrides

, ,

If you get these errors…..

[codesyntax lang=”bash”]

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!

[/codesyntax]

The fix is….

Find the location of the file references above:

[codesyntax lang=”bash”]

$ 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

[/codesyntax]

Move it to a different name by replace S85 with S21:

[codesyntax lang=”bash”]

$ 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

[/codesyntax]

Run insserv command and make sure the errors are gone:

[codesyntax lang=”bash”]

$ sudo insserv
insserv: warning: script 'S21vpnagentd_init' missing LSB tags and overrides
insserv: warning: script 'vpnagentd_init' missing LSB tags and overrides

[/codesyntax]

Now complete your upgrade:

[codesyntax lang=”bash”]

$ sudo apt-get upgrade

[/codesyntax]

Referencehttp://bugs.debian.org/cgi-bin/bugreport.cgi?bug=695751


Leave a Reply