Results 1 to 7 of 7

Thread: upgrade 16.04 to 18.04

  1. #1
    Join Date
    Dec 2006
    Beans
    17

    upgrade 16.04 to 18.04

    Hi,

    I have ubuntu 16.04 which when installing updates proposes to upgrade to 18.05.
    I would like to do some upgrade,

    2 questions
    - is the automated upgrade clean enough, or is a clean install from scrach the preferred way ?
    - my system is installed on a (luks) crypted partition. Should I worry about an automated upgrade to 18.04 ? and favor the manual install from scratch for that reason ?

    Thanks !
    best regards

  2. #2
    Join Date
    Jun 2006
    Location
    Nux Jam
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: upgrade 16.04 to 18.04

    is a clean install from scrach the preferred way ?
    yes , always.

    but you may prefer a manual dist-upgrade by upgrading /etc/apt/sources.list and synaptic. That is preferable if you still want to use a separate /home repertory and not a dir like now with new fresh install, as well for /swap.

    At end , use gtkorphan and bleachbit (as root, carefully select settings) to clean the system of old packages/settings.
    Last edited by dino99; April 27th, 2019 at 03:46 PM.

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

    Re: upgrade 16.04 to 18.04

    Difficult to say. For some people, like me, upgrades simply work. I click the button, read a book and the upgrade is ready. Maybe I have to modify some home-made software, but I'd have to do that as well if I had made a fresh install. For other people those upgrades never work.

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

    Re: upgrade 16.04 to 18.04

    Upgrades often do not work as users do not uninstall all ppa and proprietary drivers.

    But I prefer clean installs, as then you also do a major houseclean of old logs, dpkg lists and other cruft that builds up over time. If really good about housecleaning upgrade should be ok.

    I also like to keep system separate from data.
    Then when I change from last LTS version to next LTS version as new main working system, I still have the old install in another 25 or 30GB / partition. I may also install, other versions just as tests, but stay with LTS versions as main working install.
    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.

  5. #5
    Join Date
    Apr 2014
    Beans
    496

    Re: upgrade 16.04 to 18.04

    In the upgrades I have tried I've had some success, but not a guaranteed win every time. 2 attempts on desktop, 2 successes with the GUI upgrade tool. Server is another story. 5 upgrade attempts, 1 successful. The 4 failures required rolling back my lvm snapshots. All with do-release-upgrade. Admittedly I've never fully removed my ppa software so that could be my problem. I wrote a script to automate a chroot installation with debootstrap. Is how I upgrade the server now. I keep an extra 2 partitions as potential / for chroot installs. I debootstrap, configure, and reboot to the new partition.

    One nice thing about the debootstrap method is you can fully configure before bringing the machine down. Takes a bit to configure but assuming you get it right downtime is minimal. Little more than a reboot.
    Last edited by Tadaen_Sylvermane; April 27th, 2019 at 09:35 PM.

  6. #6
    Join Date
    Dec 2006
    Beans
    17

    Re: upgrade 16.04 to 18.04

    Ok t hanks.

    One more. I was considering a clean install. System and Data are in 2 partition separately encrypted. Then I am finding the 18.04 disk does not allow to nstall in a chosen encrypted partition ( as was possible with 16.04).

    Am I missing anything here ?
    Thanks

  7. #7
    Join Date
    Dec 2006
    Beans
    17

    Re: upgrade 16.04 to 18.04

    Thanks to those who replied.
    As it turned out, the upgrade worked quite well but took hours
    and i mistakenly believed i could not install 18.04 on a Luks partition (while it worked - not sure why i missed that)

    I probablly will reinstall my other machines rather than upgrading them.
    thanks again

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
  •