Upgrading Ubuntu from 14.04 LTS to 15.04
I am changing from an Ubuntu LTS release to a normal release channel.
I followed the prompts by update-manager to upgrade Ubuntu, and during the upgrade, I noticed that a large number of packages fails to upgrade (including systemd, init, but also many others), I then realized that update-manager was trying to upgrade me to 15.04 and upgrading directly from 14.04 to 15.04 wasn't supported. I presume update-manager didn't offer 14.10 upgrade since it's already EOL, but I was expecting that update-manager should not skip 14.10 upgrade even if it is EOL, as it is a required upgrade to change from LTS release to normal release.
apt-get now claims that there are a bunch of unmet dependencies. Trying to fix it with apt-get install -f:
...
Errors were encountered while processing:
initscripts
util-linux
dmsetup
procps
udev
systemd
libdevmapp
libcryptsetup4
E: Sub-process /usr/bin/dpkg returned an error code (1)
or dpkg --configure -a:
...
Setting up initscripts (2.88dsf-
insserv: warning: script 'S85vpnagentd_init' missing LSB tags and overrides
insserv: warning: script 'vpnagentd_init' missing LSB tags and overrides
insserv: There is a loop between service rc.local and procps if started
insserv: loop involving service procps at depth 2
insserv: loop involving service udev at depth 1
insserv: There is a loop at service rc.local if started
insserv: Starting vpnagentd_init depends on rc.local and therefore on system facility `$all' which can not be true!
... a bunch of these ...
insserv: Starting vpnagentd_init depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: warning: script 'S85vpnagentd_init' missing LSB tags and overrides
insserv: warning: script 'vpnagentd_init' missing LSB tags and overrides
insserv: There is a loop between service grub-common and procps if started
insserv: loop involving service procps at depth 2
insserv: loop involving service udev at depth 1
insserv: There is a loop at service grub-common if started
... many others ...
insserv: exiting now without changing boot order!
update-rc.d: error: insserv rejected the script header
dpkg: error processing package initscripts (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of util-linux:
util-linux depends on initscripts; however:
Package initscripts is not configured yet.
... more ...
dpkg: too many errors, stopping
Processing triggers for libc-bin (2.21-0ubuntu4) ...
Errors were encountered while processing:
binfmt-support
kmod
... about 50 package names ...
virtualbox
gnome
Processing was halted because there were too many errors.
neither fixes the issue.
Is there a way to back out the upgrade or am I doomed to do a clean reinstall?
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Lie Ryan
- Solved:
- Last query:
- Last reply: