Specifically, how to upgrade from 18.04 to 18.10 (next development version) from the command-line? [duplicate]

How do I upgrade to the unreleased version of Ubuntu for testing?


Solution 1:

The truly command line way is (e.g. if you don't have a gui):

sudo do-release-upgrade -d

where -d means update to a development version

do-release-upgrade [options]

DESCRIPTION

   Upgrade  the  operating system to the latest release from the command-line.
   This is the preferred command if the machine has no graphic environment
   or if the machine is to be upgraded over a remote connection.

OPTIONS

   -h, --help
          show help message and exit

   -d, --devel-release
          Check if upgrading to the latest devel release is possible

Solution 2:

Press Alt + F2 and type update-manager -d. On the top of the window you will see an info of the new Ubuntu+1 "release".

enter image description here

However, upgrading to a development release is not recommended, as it is a unstable release.

See this question for tips when you have problems: There's an issue with an Alpha/Beta Release of Ubuntu, what should I do?

Solution 3:

There are two ways to upgrade:

  • Upgrade using update-manager
  • Upgrade using alternate cd

However note it is not recommended to upgrade it to Ubuntu+1, since it is not stable.

Upgrade using update-manager:

Press Alt+F2 and then type update-manager -d. When update manager appears then click on upgrade.

alt text

Upgrade using alternate cd:

You can also upgrade using the alternate cd. After downloading the latest build then press Alt+F2 and enter gksu /cdrom/cdromupgrade.

Because it is a development release, you will almost certainly have problems. See: There's an issue with an Alpha Release of Ubuntu, what should I do?

Solution 4:

From 11.04 onwards,when you boot the LiveCD and start installing there will be an option to upgrade.

It will automatically detect installed Apps and install the updated version of your Apps.

live CD : Allocate drive space

Source

Solution 5:

you can always download the upcoming Ubuntu release ISO file at

http://cdimage.ubuntu.com/daily-live/current/

The link is perpetual ... its always pointing to the follow-on release

After you download the ISO file then burn onto a USB using unetbootin at https://unetbootin.github.io/ and boot off this USB stick (or burn ISO onto a DVD)

instructions on how to burn ISO file onto USB memory stick :

sudo add-apt-repository ppa:gezakovacs/ppa
sudo apt-get update
sudo apt-get install unetbootin

plug in your USB memory stick - formatted for FAT

sudo unetbootin  #  then choose ISO and pick local ISO file

now pick Diskimage (not Distribution) and pull up the ISO file you just downloaded

To boot up from this USB stick may require you to hit ESC key on a reboot to get into your BIOS settings to have it boot from the USB instead of normal SSD/harddrive

Once booted launch the Upgrade application which gives you options like install new OS along side existing OS


Alternatively to perform an upgrade in place issue these after you backup critical documents

sudo apt-get update
sudo apt-get dist-upgrade
sudo apt install update-manager-core;

then make this edit

vi /etc/update-manager/release-upgrades

Prompt=normal     # to allow upgrade to next available
# Prompt=lts      # <-- to go from current LTS to next one ... say 16.04 to 18.04 

sudo do-release-upgrade -d