[Bug 1616368] Re: Unable to upgrade ubuntu server from 14.04.4 to 16.04.1
Benjamin Curtiss
1616368 at bugs.launchpad.net
Fri Feb 1 16:53:41 UTC 2019
I believe that I ran into the same issue while trying to run do-release-
upgrade to upgrade my machine from 14.04.5 to 16.04.5.
It would seem that the problem is that the plymouth package does not
properly depend on the udev package, so when both are being upgraded (as
is done during do-release-upgrade), the postinst script for plymouth is
run before the postinst script for udev. This causes the plymouth
postinst to complain about the udev service not being enabled, which
doesn't happen until after the udev postinst runs.
A log snippet from my do-release-upgrade run that shows udev postinst running after plymouth postinst:
```
Setting up plymouth (0.9.2-3ubuntu13.5) ...
update-initramfs: deferring update (trigger activated)
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
insserv: Service udev has to be enabled to start service plymouth
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
dpkg: error processing package plymouth (--configure):
subprocess installed post-installation script returned error exit status 1
Setting up libpython-stdlib:amd64 (2.7.12-1~16.04) ...
Setting up gir1.2-glib-2.0:amd64 (1.46.0-3ubuntu1) ...
Setting up udev (229-4ubuntu21.15) ...
```
I can see from
http://archive.ubuntu.com/ubuntu/pool/main/p/plymouth/plymouth_0.9.3-1ubuntu7.debian.tar.xz
that the bionic version of plymouth does indeed have a dependency on
udev. So perhaps this same dependency just needs to also be added to the
xenial version?
--
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:
Confirmed
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