Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: Upgrade from Ubuntu 14.04.6 LTS to 18.04

  1. #1
    Join Date
    Aug 2014
    Beans
    9

    Upgrade from Ubuntu 14.04.6 LTS to 18.04

    Dear All,
    I have a server which is:

    Distributor ID: Ubuntu
    Description: Ubuntu 14.04.6 LTS
    Release: 14.04
    Codename: trusty


    and i want to upgrade to 18.04 LTS but i am receiving this error:

    calculating the changes

    Could not calculate the upgrade

    An unresolvable problem occurred while calculating the upgrade.

    This can be caused by:
    * Upgrading to a pre-release version of Ubuntu
    * Running the current pre-release version of Ubuntu
    * Unofficial software packages not provided by Ubuntu

    If none of this applies, then please report this bug using the
    command 'ubuntu-bug ubuntu-release-upgrader-core' in a terminal.

    Restoring original system state

    Please how can i find this issue?

  2. #2
    Join Date
    Aug 2011
    Location
    51.8° N 5.8° E
    Beans
    4,670
    Distro
    Xubuntu 19.04 Disco Dingo

    Re: Upgrade from Ubuntu 14.04.6 LTS to 18.04

    Have you installed any "unofficial software packages not provided by Ubuntu"? If so, remove those first.

    Furthermore, you're dealing with an EOL upgrade. That means that your system is already dead, which makes things a bit harder. Best to upgrade before it reaches end of life.

    Upgrading will bring you to 16.04. To get to 18.04, you need to upgrade twice. It's usually better to do a fresh install, but I don't know your system.

  3. #3
    Join Date
    Dec 2017
    Beans
    980

    Re: Upgrade from Ubuntu 14.04.6 LTS to 18.04

    It can be done, IMO a fresh install is better.

  4. #4
    Join Date
    Mar 2007
    Beans
    421

    Re: Upgrade from Ubuntu 14.04.6 LTS to 18.04

    I think you need to be more specific about what you did to get the error you got.

    Basically to upgrade an EOL system like 14.04. you need to make sure you have the correct repositories available, update the system, upgrade the system then do-release-upgrade. That will get you to 16.04. If there are any issues fix them before going forward. Once you have 16.04 up and running you should then be able to update the system, upgrade the system and do-release-upgrade. These upgrades a not foolproof and you can run into problems.

    If you don't understand this general description please post specific questions and we can try to help.

  5. #5
    Join Date
    Aug 2014
    Beans
    9

    Exclamation Re: Upgrade from Ubuntu 14.04.6 LTS to 18.04

    Dear all,
    During the EOL Upgrade i ran into boot loading issue:

    run-init: /sbin/init: No such file or directory
    Target filesystem doesn't have requested /sbin/init.
    run-init: /sbin/init: No such file or directory
    run-init: /etc/init: Permission denied
    run-init: /bin/init: No such file or directory
    /bin/sh: 0: Can't open splash
    Kernel panic — not syncing: Attempted to kill init! exitcode=0x00007f00
    etc. (last two lines mentioned for SEO purposes)


    Using the Ubuntu live, i was able to load the raid drives mdadm /dev/md0 --assemble /dev/sda2 /dev/sdb2 and then mount the drives mount /dev/md0 /mnt and then sudo apt-get -o Dir=/mnt update (this exposed the errors and they were fixed for example appStream). Please i want to know how can install the 'init' to the server again so that it could boot normally. Kindly note that the boot file of the server is mount in /mnt

  6. #6
    Join Date
    Aug 2014
    Beans
    9

    /sbin/init not found

    After rebooting the server old updates kicked in (It was administered by someone else back then) and now at boot system says:
    run-init: /sbin/init: No such file or directory
    Target filesystem doesn't have requested /sbin/init
    run-init: /sbin/init: No such file or directory
    run-init: /etc/init: Permission denied
    run-init: /bin/init: No such file or directory
    [ "number"] random: nonblocking pool is initialized
    /bin/sh: 0: can't access tty; job control turned off


    Anyone had faced this problem before? What I didn't try already to boot it, nothing worked for me.

    The System is Ubuntu 14.04 server

    Last edited by gerald17006; 2 Weeks Ago at 09:09 PM. Reason: bug

  7. #7
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: /sbin/init not found

    Moved to Server sub-forum.

    But issue really is that 14.04 has reached End of Life - EOL as of April 2019.
    https://wiki.ubuntu.com/Releases

    You need to make sure your server backup is current & install a new LTS version, probably 18.04 LTS.
    For more info on UEFI boot install & repair - Regularly Updated :
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  8. #8
    Join Date
    Sep 2011
    Location
    Behind you!
    Beans
    1,080
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: /sbin/init not found

    That seems really messed up. Did the file system run out of space? Odd that it says things are missing and permission denied. If not space-related, I would wonder if it was malicious.

    No matter what, your best bet might be to restore from backup.

    Telling it to boot using a prior kernel might get you part way there but the missing items and lack of permission makes me think it is not just an update issue.

    LHammonds

  9. #9
    Join Date
    Aug 2014
    Beans
    9

    Re: /sbin/init not found

    Der all,
    Please find attached view of my boot up screen.
    Attached Images Attached Images

  10. #10
    Join Date
    Sep 2011
    Location
    Behind you!
    Beans
    1,080
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: /sbin/init not found

    @gerald17006, do you have a backup of this server or its data?

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •