Distribution upgrade problem "No new release found"

Solution 1:

Check /etc/update-manager/release-upgrades

Prompt=lts

will cause upgrade to fail if the release you are currently on is not an LTS one.

Solution:

Change Prompt=lts to Prompt=normal and save the changes

Do the required upgrades until you have installed a LTS release.

Then change back to Prompt=lts

Done.

Solution 2:

To upgrade from Ubuntu 11.10 or Ubuntu 10.04 LTS on a server or system: install the update-manager-core package if it is not already installed; launch the upgrade tool with the command sudo do-release-upgrade -d; and follow the on-screen instructions. Note that the server upgrade is now more robust and will utilize GNU screen and automatically re-attach in case of e.g. dropped connection problems.

Solution 3:

One possible reason is that the release available stamp file hangs around incorrectly. The following fixes this issue:

sudo rm /var/lib/ubuntu-release-upgrader/release-upgrade-available

This file is safe to remove as it will be regenerated next time the motd script runs if appropriate.


Reason: this issue came up for me in 13.04 after a partially completed release upgrade which I completed with apt-get distupgrade. If the stamp file in /var/lib/ubuntu-release-upgrader/release-upgrade-available exists and has a message that a new release is available, it is shown on every login via the motd script: /etc/update-motd.d/91-release-upgrade, which calls /usr/lib/ubuntu-release-upgrader/release-upgrade-motd to update the stamp if it's empty. See these files for more info on why this hangs around.