Upgrade problem from Ubuntu 14.04 to 15.04

klor

I tried to upgrade from Ubuntu 14.04 to 15.04, but I got error:

@ubuntu14:/etc/apt$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
 perl : Depends: perl-modules (>= 5.20.2-2ubuntu0.1) but 5.18.2-2ubuntu1.1 is installed
        Recommends: rename but it is not installed
E: Unmet dependencies. Try using -f.

Then trying "sudo apt-get -f install":

@ubuntu14:/etc/apt$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  libguice-java libidl-common libidl0 liborbit2
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  libalgorithm-c3-perl libcgi-fast-perl libcgi-pm-perl libclass-c3-perl
  libclass-c3-xs-perl libcpan-meta-perl libdata-optlist-perl
  libdata-section-perl libfcgi-perl libmodule-build-perl
  libmodule-signature-perl libmro-compat-perl libpackage-constants-perl
  libparams-util-perl libpod-readme-perl libregexp-common-perl
  libsoftware-license-perl libsub-exporter-perl libsub-install-perl
  libtext-template-perl perl-modules
Suggested packages:
  libb-lint-perl libcpanplus-dist-build-perl libcpanplus-perl
  libfile-checktree-perl liblog-message-perl libobject-accessor-perl
The following NEW packages will be installed:
  libalgorithm-c3-perl libcgi-fast-perl libcgi-pm-perl libclass-c3-perl
  libclass-c3-xs-perl libcpan-meta-perl libdata-optlist-perl
  libdata-section-perl libfcgi-perl libmodule-build-perl
  libmodule-signature-perl libmro-compat-perl libpackage-constants-perl
  libparams-util-perl libpod-readme-perl libregexp-common-perl
  libsoftware-license-perl libsub-exporter-perl libsub-install-perl
  libtext-template-perl
The following packages will be upgraded:
  perl-modules
1 upgraded, 20 newly installed, 0 to remove and 208 not upgraded.
23 not fully installed or removed.
Need to get 0 B/3,585 kB of archives.
After this operation, 2,588 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Setting up util-linux (2.25.2-4ubuntu3) ...
insserv: Service mountdevsubfs has to be enabled to start service hwclock
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
dpkg: error processing package util-linux (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 util-linux
E: Sub-process /usr/bin/dpkg returned an error code (1)

cat /etc/lsb-release

ubuntu14:/etc/apt$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=15.04
DISTRIB_CODENAME=vivid
DISTRIB_DESCRIPTION="Ubuntu 15.04"

Any idea how to fix?

klor

Solved by downloading Ubuntu Server 16.04 ISO, and installed over the old bad Ubuntu installation.

Did not format /dev/sda1 system partition, reassigned as root partition, so I kept the /home/user content, did not lose them. I had to recreate the /etc/fstab, because it got overwritten.

So I saved almost all data, except the settings in /etc and earlier installed packages, which had to be installed again.

I hope this solution helps others with similar problems.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Error installing ubuntu server 14:04 / 15:04

From Dev

Dual boot ubuntu 14 .04LTS

From Dev

How do I install Muvizu on Ubuntu 14,04 LTS?

From Dev

Ubuntu 14.04 - 14.10 - 15,04 wifi disconnection

From Dev

Ubuntu 14 upgrade problem , because i installed ROS in Ubuntu

From Dev

Upgrade of dell laptop screen size from 14'' to 15''

From Dev

How to fix upgrade issue from nexus 2.14.1-01 to 3.1.0-04

From Dev

Problem to upgrade from Ubuntu 19.10 to 20.04

From Dev

My Prolific Technology, Inc. PL2303 Serial Port adapter doesn't work in either ubuntu 13:10 or 14:04

From Dev

how to install nmap in ubuntu 12;04

From Dev

how to install nmap in ubuntu 12;04

From Dev

Since this morning the network is unreachable Ubuntu 18:04

From Dev

Installing opencv on Ubuntu 16-04

From Dev

Ubuntu-16-04 : How to remove wifi adaptor from wifi tray

From Dev

Ubuntu 16,04 GUI only updates when switching to and from tty

From Dev

Origin of "Mon Jan 2 15:04:05 MST 2006" in golang

From Dev

Is Lubuntu Daily Build on 15-04-2014 = Lubuntu 14.04

From Dev

New problem-on-12-04-with-gimp-2-8

From Dev

How can I get current time as 09:04:15 instead of 9:4:15 when using Date?

From Dev

Why do I get these .vimrc errors in Ubuntu 14 after upgrade from Ubuntu 13?

From Dev

Touchpad buttons on a HP Elitebook with Ubuntu-20-04 are not working

From Dev

Why has Ubuntu minor version number 04 or 10 only?

From Dev

ubuntu-minimal 18:04 how to login via ssh?

From Dev

WSL, Ubuntu 16,04: apt-cache in broken state

From Dev

Problem with my ssh in ubuntu 14?

From Dev

Ubuntu 14 display problem on Virtualbox

From Dev

Stuck at fsck "/dev/sda1: clean xxx/xxx files [...] " after upgrade to Ubuntu 16 from 14

From Dev

Stuck at fsck "/dev/sda1: clean xxx/xxx files [...] " after upgrade to Ubuntu 16 from 14

From Dev

How to do a Vagrant upgrade from Ubuntu 12 to 14 (precise64 to trusty64)

Related Related

  1. 1

    Error installing ubuntu server 14:04 / 15:04

  2. 2

    Dual boot ubuntu 14 .04LTS

  3. 3

    How do I install Muvizu on Ubuntu 14,04 LTS?

  4. 4

    Ubuntu 14.04 - 14.10 - 15,04 wifi disconnection

  5. 5

    Ubuntu 14 upgrade problem , because i installed ROS in Ubuntu

  6. 6

    Upgrade of dell laptop screen size from 14'' to 15''

  7. 7

    How to fix upgrade issue from nexus 2.14.1-01 to 3.1.0-04

  8. 8

    Problem to upgrade from Ubuntu 19.10 to 20.04

  9. 9

    My Prolific Technology, Inc. PL2303 Serial Port adapter doesn't work in either ubuntu 13:10 or 14:04

  10. 10

    how to install nmap in ubuntu 12;04

  11. 11

    how to install nmap in ubuntu 12;04

  12. 12

    Since this morning the network is unreachable Ubuntu 18:04

  13. 13

    Installing opencv on Ubuntu 16-04

  14. 14

    Ubuntu-16-04 : How to remove wifi adaptor from wifi tray

  15. 15

    Ubuntu 16,04 GUI only updates when switching to and from tty

  16. 16

    Origin of "Mon Jan 2 15:04:05 MST 2006" in golang

  17. 17

    Is Lubuntu Daily Build on 15-04-2014 = Lubuntu 14.04

  18. 18

    New problem-on-12-04-with-gimp-2-8

  19. 19

    How can I get current time as 09:04:15 instead of 9:4:15 when using Date?

  20. 20

    Why do I get these .vimrc errors in Ubuntu 14 after upgrade from Ubuntu 13?

  21. 21

    Touchpad buttons on a HP Elitebook with Ubuntu-20-04 are not working

  22. 22

    Why has Ubuntu minor version number 04 or 10 only?

  23. 23

    ubuntu-minimal 18:04 how to login via ssh?

  24. 24

    WSL, Ubuntu 16,04: apt-cache in broken state

  25. 25

    Problem with my ssh in ubuntu 14?

  26. 26

    Ubuntu 14 display problem on Virtualbox

  27. 27

    Stuck at fsck "/dev/sda1: clean xxx/xxx files [...] " after upgrade to Ubuntu 16 from 14

  28. 28

    Stuck at fsck "/dev/sda1: clean xxx/xxx files [...] " after upgrade to Ubuntu 16 from 14

  29. 29

    How to do a Vagrant upgrade from Ubuntu 12 to 14 (precise64 to trusty64)

HotTag

Archive