-2

I'm new to Ubuntu, trying to update Ubuntu 12.04.5 LTS to latest version and unable to do it.

Error:

$ sudo do-release-upgrade -d 
Checking for a new Ubuntu release No new release found 
Elder Geek
  • 36,023
  • 25
  • 98
  • 183
naren
  • 1
  • @ElderGeek i'm not sure what exactly to modify there – naren Apr 11 '17 at 13:19
  • 1
    Please don't post images of code. Nobody wants to retype this to see if google has something interesting on it. Please copy/paste the text. Open the 1st file it mentions with gedit or vi and look at line 9. It seems to contain a value of and that is not valid. Removing the fonts is probably an options too :) – Rinzwind Apr 11 '17 at 13:24
  • By the way: these are all warnings and those should not stop you from updating(?) Only "critical" and "error" notice should stop the update. – Rinzwind Apr 11 '17 at 13:26
  • @Rinzwind thanks for the suggestion. The update manager says the software on this computer is up to date The package information was just updated but the version still shows 12.04.5 – naren Apr 11 '17 at 13:35
  • But then all is taking care of? You updated 12.04.5 to the latest changes. If you want to upgrade to 14.04 I would expected you to do sudo do-release-upgrade -d ;-) – Rinzwind Apr 11 '17 at 13:42
  • @Rinzwind i did actually tried that and the response is as below – naren Apr 11 '17 at 13:48
  • nren@nren-Inspiron-3542:~$ sudo do-release-upgrade -d

    [sudo] password for nren:

    Checking for a new Ubuntu release

    No new release found

    nren@nren-Inspiron-3542:~$

    – naren Apr 11 '17 at 13:48
  • @naren you should [edit] that into your post along with the text to replace your image. Be that as it may you might want to choose a different mirror to resolve "No new release found" – Elder Geek Apr 11 '17 at 16:15

2 Answers2

1

Personally never had a problem running:

sudo apt-get update
sudo apt-get dist-upgrade

and then reboot.

TheVet
  • 83
  • 1
  • 8
0

Begin by finding an up-to-date mirror near you from this list.

Select the mirror you've chosen by selecting it from Software & Updates Ubuntu software tab as described here

Issue the sudo do-release-upgrade command.

This commadn has a number of switches that modify it's actions that you can review with the command man do-release-upgrade

the -d switch as shown in your post indicates:

Check if upgrading to the latest devel release is possible

Another option is the -p switch which indicates:

Try upgrading to the latest release using the upgrader from Ubuntu-proposed

My preferred method of upgrading is often referred to as the clean install Which includes backing up my home directory (I use a seperate partition for home to make this simple) and Installing fresh the version I want over or alongside if space is available my existing installation.

Elder Geek
  • 36,023
  • 25
  • 98
  • 183