Comment 0 for bug 1605952

Revision history for this message
Mauricio Maluff Masi (mmaluff) wrote : dellctservice* init scripts are missing LSB headers

I upgraded my XPS 13 today from 14.04 to 16.04.1. After my upgrade, any time I ran one of the following commands:
apt-get upgrade
dpkg --configure -a
apt-get -f install

I would get a ton of dpkg errors that looked like this:

insserv: warning: script 'K01delllctservice' missing LSB tags and overrides
insserv: warning: script 'delllctservicecontent' missing LSB tags and overrides
insserv: warning: script 'delllctservice' missing LSB tags and overrides
insserv: Starting delllctservice depends on grub-common and therefore on system facility `$all' which can not be true!
insserv: There is a loop between service delllctservice and grub-common if started
insserv: loop involving service grub-common at depth 4
insserv: loop involving service delllctservice at depth 1
insserv: Starting delllctservice depends on grub-common and therefore on system facility `$all' which can not be true!
insserv: There is a loop between service delllctservice and grub-common if started
insserv: Starting delllctservice depends on grub-common 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

Somehow in the upgrade process, my runtime dependencies got messed up, at least in part because these scripts are missing LSB headers. dpkg failed to process most of my packages with init scripts. Moving dellctservice and dellctservicecontent out of /etc/init.d, then running the following seemed to fix the problem:
dpkg --configure -a
apt-get -f install

After everything was fixed, moving them back to /etc/init.d caused no further issues.

I'm sure this wasn't my only problem, there were a lot of other things that probably went wrong with my upgrade that led to this. But the lack of LSB headers in these scripts certainly contributed to my problem, and I think it'd be a good safeguard to add some.