Ubuntu – Getting error with dpkg

14.10dpkgserver

I recently upgrade my 14.04 server to 14.10 and I got this error message during the upgrade:

Setting up sysv-rc (2.88dsf-41ubuntu18) ...
info: Reordering boot system, log to /var/lib/insserv/run-20141030T2142.log
error: Something failed while migrating.

error: Unable to migrate to dependency based boot sequencing.

See http://wiki.debian.org/LSBInitScripts/DependencyBasedBoot for
more information about dependency based boot sequencing. To
reattempt the migration process run 'dpkg --configure sysv-rc'.

dpkg: error processing package sysv-rc (--configure):
 subprocess installed post-installation script returned error exit status 1

Whenever I install packages/use dpkg I get a very similar error. This never happened on 14.04.

EDIT: Added below is a log that might contain more information

info: Converting rc0.d/S* and rc6.d/S* to K*.
ls: cannot access S*: No such file or directory
ls: cannot access S*: No such file or directory
info: running insserv
insserv: warning: script 'wide-dhcpv6-client' missing LSB tags and overrides
insserv: warning: script 'bind9' missing LSB tags and overrides
insserv: There is a loop between service bind9 and apache2 if stopped
insserv:  loop involving service apache2 at depth 2
insserv:  loop involving service bind9 at depth 1
insserv:  loop involving service sendsigs at depth 4
insserv: exiting now without changing boot order!

Best Answer

I had the exact same problem, but in my case it was caused by the virtuoso-nepomuk script.

Instead of removing bind9 and apache, I would suggest just moving their scripts out of the /etc/init.d directory. That should allow the process to complete, then you can do an apt-get install --reinstall ... on those packages after you're done updating to get their startup reconfigured properly.

Related Question