[Bug 1616368] Re: Unable to upgrade ubuntu server from 14.04.4 to 16.04.1
Guillaume
1616368 at bugs.launchpad.net
Tue Mar 14 12:34:59 UTC 2017
And another fix i found on 2 others containers was to remove an old
init.d script from bind9, which only contained an exit 0 command
(without the proper headers).
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/1616368
Title:
Unable to upgrade ubuntu server from 14.04.4 to 16.04.1
Status in ubuntu-release-upgrader package in Ubuntu:
New
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_0.9.2-3ubuntu13.1_amd64.deb ...
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 .../libplymouth4_0.9.2-3ubuntu13.1_amd64.deb ...
Unpacking libplymouth4:amd64 (0.9.2-3ubuntu13.1) ...
Preparing to unpack .../mountall_2.54ubuntu1_amd64.deb ...
Unpacking mountall (2.54ubuntu1) over (2.53) ...
Preparing to unpack .../insserv_1.14.0-5ubuntu3_amd64.deb ...
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-rc_2.88dsf-59.3ubuntu2_all.deb ...
Unpacking sysv-rc (2.88dsf-59.3ubuntu2) over (2.88dsf-41ubuntu6.3) ...
Setting up sysvinit-utils (2.88dsf-59.3ubuntu2) ...
Removing obsolete conffile /etc/init/startpar-bridge.conf ...
Setting up sysv-rc (2.88dsf-59.3ubuntu2) ...
info: Reordering boot system, log to /var/lib/insserv/run-20160824T1014.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
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/dist-upgrade/main.log and /var/log/dist-upgrade/apt.log in
your report. The upgrade has aborted.
Your original sources.list was saved in
/etc/apt/sources.list.distUpgrade.
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://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+filebug
and attach the files in /var/log/dist-upgrade/ to the bug report.
installArchives() failed
* /var/lib/insserv/run-20160824T1014.log
[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-client' 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!
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 (20160104ubuntu0.14.04.1) ...
Updating certificates in /etc/ssl/certs... 0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d....done.
Errors were encountered while processing:
sysv-rc
And now i'm missing some important binairies (like halt, shutdown and runlevel) :
/usr/sbin/invoke-rc.d: 1: /usr/sbin/invoke-rc.d: /sbin/runlevel: not found
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1616368/+subscriptions
More information about the foundations-bugs
mailing list