I have a machine running 15.04, and while trying to use do-release-upgrade to upgrade it I realised it is forcing me to get 16.04 which I don't want because I know that our code doesn't work well with the updated Python on 16.04.

How can I do this upgrade? (console only)


It seems that even doing an upgrade to current version doesn't work anymore!!

 An upgrade from 'vivid' to 'xenial' is not supported with this tool.

Update: it seems that do-release-upgrade -d did upgrade to 15.10 even if it had the impression that it would upgrade to 16.04.

  • 5
    @ByteCommander No longer supported means that we are in deep.... If it's not possible to upgrade to it, please make it an answer and put a link to document that explains it.
    – sorin
    Jul 29, 2016 at 10:20
  • 22
    This is the top search result on Google for "upgrade from vivid to xenial not supported with this tool". As someone who is trying to resurrect an old 15.04 machine without reinstalling, this question is both on-topic and useful.
    – kd8azz
    Dec 19, 2016 at 2:04
  • 18
    For a stack Exchange whose name is AskUbuntu this is a comment that sounds disturbingly like "sorry you are screwed". I am sure there are plenty of ordinary desktop users who do not upgrade every time there's a new release (because we are not sysadmins, we are people with jobs and families and obligations), To say flatly, sorry we can't help you, seems to undermine the entire purpose of this site. I have been part of several stack exchange sites and I have never seen that attitude displayed.
    – chrisfs
    Dec 30, 2016 at 19:46
  • 7
    do-release-upgrade -d worked ok for me to upgrade to 15.10. Just had to update then to 16.04 and finally to 16.10. Up to date at last haha !
    – Maxime R.
    Mar 6, 2017 at 19:09
  • 4
    For me do-release-upgrade -d did not work. It told me No new release found. I was able to go forward by editing /etc/apt/sources.list replacing vivid with wily and then doing apt update and apt dist-upgrade. After that I was able to proceed to 16.04 with do-release-upgrade. Note that if your Ubuntu mirror does not have the required files any more, you can find another mirror which still has the old version available. old-releases.ubuntu.com is one such option. Going forward from 16.04 to 16.10 non-lts I needed to edit /etc/update-manager/release-upgrades.
    – snap
    Sep 27, 2017 at 20:04


Browse other questions tagged or ask your own question.