51

I'm looking for a way to upgrade 14.10 to 15.04 - from the internet only (i.e. without using external media).

I've already tried apt-get dist-upgrade

jester66
  • 249

1 Answers1

92

Ubuntu 15.04 is not available yet and will be available in April. If you really want to test it you can download the daily build iso from here although this is highly unstable now.

After the release you can upgrade from 14.10 to 15.04 by running the following command:

sudo do-release-upgrade

I would not recommend this but if you really want to upgrade to the latest development release:

sudo do-release-upgrade -d

EDIT :

As Ubuntu 15.04 (Vivid Vervet) has been released on 23rd April, 2015, you can upgrade from Ubuntu 14.10 to 15.04 easily now.

  • At first make sure the file /etc/update-manager/release-upgrades has the line:

    Prompt=normal
    
  • Now run the following command:

    sudo do-release-upgrade
    
heemayl
  • 91,753
  • I'm aware, but I assumed that there was a way to upgrade from within the system. – Mason Vanderpool Feb 21 '15 at 03:43
  • 1
    @MasonVanderpool: Check my edits.. – heemayl Feb 21 '15 at 03:47
  • 1
    You can call it without sudo and it will ask for the password in the process. – Martin Ueding Apr 24 '15 at 07:47
  • 4
    In my case (14.04, fully updated) the only way to make do-release-upgrade react was to run sudo apt-get update && sudo apt-get -y upgrade after changing to Prompt=normal – dess May 25 '15 at 12:44
  • in my case Prompt=lts. I am unable to edit it since its read-only. I am running 14.04LTS. how can I upgrade to 15.04? – Anoop Sep 15 '15 at 06:58
  • 1
    @AnoopSS You need to be root to edit the file..just use sudo before the command to impersonate root – heemayl Sep 15 '15 at 06:59
  • I'm on ubuntu 14.04. When I run "sudo do-release-upgrade", how'll it know whether I want to upgrade to 14.10 or 15? – Incerteza Oct 20 '15 at 13:17
  • @AlexanderSupertramp You can't directly upgrade to 15.04, you need to upgrade to 14.10 first then you can upgrade to 15.04. I would suggest you to stick with 14.04 ad it's an LTS release and will be supported till april,2019. – heemayl Oct 20 '15 at 14:03
  • @heemayl, yes, but 15.04 some interesting features, I want to try it. – Incerteza Oct 20 '15 at 14:37