Unable to upgrade ubuntu server from 14.04.4 to 16.04.1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-release-upgrader (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I'm trying to upgrade an ubuntu 14.04.4 server in a lxc container, running mainly request-tracker, apache2, bind and mysql.
(Reading database ... 33111 files and directories currently installed.)
Preparing to unpack .../plymouth_
Unpacking plymouth (0.9.2-3ubuntu13.1) over (0.8.8-0ubuntu17.1) ...
Replacing files in old package libplymouth2:amd64 (0.8.8-0ubuntu17.1) ...
Selecting previously unselected package libplymouth4:amd64.
Preparing to unpack .../libplymouth
Unpacking libplymouth4:amd64 (0.9.2-3ubuntu13.1) ...
Preparing to unpack .../mountall_
Unpacking mountall (2.54ubuntu1) over (2.53) ...
Preparing to unpack .../insserv_
Unpacking insserv (1.14.0-5ubuntu3) over (1.14.0-5ubuntu2) ...
Setting up insserv (1.14.0-5ubuntu3) ...
(Reading database ... 33170 files and directories currently installed.)
Preparing to unpack .../sysv-
Unpacking sysv-rc (2.88dsf-
Setting up sysvinit-utils (2.88dsf-
Removing obsolete conffile /etc/init/
Setting up sysv-rc (2.88dsf-
info: Reordering boot system, log to /var/lib/
error: Something failed while migrating.
error: Unable to migrate to dependency based boot sequencing.
See http://
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
Errors were encountered while processing:
sysv-rc
Error in function:
A fatal error occurred
Please report this as a bug and include the files
/var/log/
your report. The upgrade has aborted.
Your original sources.list was saved in
/etc/apt/
SystemError: E:Sub-process /usr/bin/dpkg returned an error code (1)
Could not install the upgrades
The upgrade has aborted. Your system could be in an unusable state. A
recovery will run now (dpkg --configure -a).
Please report this bug in a browser at
http://
and attach the files in /var/log/
installArchives() failed
* /var/lib/
[CODE]info: Converting rc0.d/S* and rc6.d/S* to K*.
info: running insserv
insserv: warning: script 'bind9' missing LSB tags and overrides
insserv: warning: script 'wide-dhcpv6-
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!
So, i removed bind9 and apache2 from init.d and tried to fix it :
~# dpkg --configure sysv-rc
dpkg: error processing package sysv-rc (--configure):
package sysv-rc is already installed and configured
Processing triggers for libc-bin (2.23-0ubuntu3) ...
Processing triggers for ca-certificates (20160104ubuntu
Updating certificates in /etc/ssl/certs... 0 added, 0 removed; done.
Running hooks in /etc/ca-
Errors were encountered while processing:
sysv-rc
And now i'm missing some important binairies (like halt, shutdown and runlevel) :
/usr/sbin/
tags: | removed: upgrade-software-version |
I have been able to reproduce this issue several time by restoring a backup of this container and trying again.