update-rc.d: error: insserv rejected the script header dpkg: erreur de traitement du paquet util-linux (--configure) :
i try to install upgrade or some packages and i receive the error
E: Sub-process /usr/bin/dpkg returned an error code (1)
update-rc.d: error: insserv rejected the script header
dpkg: erreur de traitement du paquet util-linux (--configure) :
le sous-processus script post-installation installé a retourné une erreur de sortie d'état 1
Des erreurs ont été rencontrées pendant l'exécution :
util-linux
E: Sub-process /usr/bin/dpkg returned an error code (1)
Please help me, I'm using ubuntu 14.10 .. Thanks
Solution 1:
I think util-linux
init script in /etc/init.d is missing LSB information
As a temporary workaround you can locate that script and add something like at top
#!/bin/sh -e
### BEGIN INIT INFO
# Provides:
# Required-Start:
# Required-Stop:
# Default-Start:
# Default-Stop:
# Short-Description:
### END INIT INFO
But it's not a complete solution. You will keep getting such error messages whenever you install an application that adds init script into /etc/init.d
I had similar problem and I fixed it with applying the solution in the last post on this link https://bugs.launchpad.net/ubuntu/+source/insserv/+bug/467000
Note that it doesn't mean it will work in your case. And It might break your system
For LSB information check out https://wiki.debian.org/LSBInitScripts