19

I'm trying to run: sudo update-rc.d avahi-daemon defaults

But i get the error: insserv: warning: script 'mathkernel' missing LSB tags and overrides

I've read that it has something to do with the wolfram engine. Any solutions?

23

If look at the /etc/init.d/skeleton script, in the beginning of it there are two marks : ### BEGIN INIT INFO and ### END INIT INFO.

All the data inside those marks is the configuration for runtime dependences and you can look them up in the Debian Wiki.

Your script is missing these tags and configuration so insserv just uses some defaults.

This is just a warning and is not something to worry about, but you can fix it very easily and then you can be Linux Standards Base-compliant (That's what LSB means).

The easiest way to fix the warning, is to copy the LSB tags from the skeleton script to the beginning of your mathkernel script and just change skeleton to mathkernel.

  • 2
    This is not limited to RaspberryPI, for example I started seeing this error when upgrading to Ubuntu Server 16.04 LTS – svandragt May 4 '16 at 10:48
1

This is just a warning, your script will still work. But if you want to remove the warning too just try this command

sudo apt-get remove insserv

protected by Darth Vader Jan 31 at 11:35

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.