7

Cannot upgrade from 16.04LTS to 16.10.

Updated and dist-upgraded the system and tried running do-release-upgrade -d but it says no release found. Ensured that the prompt=normal in the "/etc/update-manager/release-upgrades" file.

Tried the same using the GUI of update-manager and changed the settings to "Notify for any new version" which is equivalent of prompt = normal and it says Your computer is up to date.

Also, all the necessary repos are present in the sources.lists.

I have recently upgraded a similar computer successfully which was quite straightforward. Cannot understand why this is happening even though the config files are similar and there are no problems in installing/updating using apt-get.

Any help would be greatly appreciated! Thanks :)

3
  • I deleted my answer because I saw that you already tried that. I did find one that might help: askubuntu.com/a/289076/231142
    – Terrance
    Dec 9, 2016 at 23:17
  • No such file exists. :/ Dec 9, 2016 at 23:30
  • Open Software updater it will give you option for upgrade to 16.10
    – Rahul
    Dec 10, 2016 at 13:46

3 Answers 3

7

After changing the setting in /etc/update-manager/releases-upgrades from lts to normal, you need to run sudo apt-get update.

1
  • Just for clarification, the sudo apt-get update forces it to check for new releases, then you do sudo do-release-upgrade.
    – Dan Blows
    Oct 19, 2017 at 15:17
0

To upgrade to Ubuntu 16.10 from the current LTS you will need to tell the OS that you want to receive non-LTS updates.:

  1. Open ‘Software & Updates’ using the Unity Dash
  2. Select the ‘Updates‘ tab
  3. Find the section titled ‘Notify me of a new Ubuntu version‘
  4. Change this from ‘For long-term support versions’ to ‘For any new version‘
  5. Click ‘Close’

You’ll instantly be prompted to run a quick update.

enter image description here

2
  • Tried, same as putting prompt = normal. No luck ! Dec 10, 2016 at 13:43
  • What sudo apt-get update says
    – jet
    Dec 10, 2016 at 20:34
0

I found that my 16.04 box had a broken DNS (I had nothing in /etc/resolv.conf), so "sudo do-release-upgrade" fails with the "no release found" message mentioned above.

Once I fixed DNS, I got:

s1:~$ sudo do-release-upgrade
Checking for a new Ubuntu release
Get:1 Upgrade tool signature [836 B]
Get:2 Upgrade tool [1,265 kB]
Fetched 1,266 kB in 0s (0 B/s)
authenticate 'xenial.tar.gz' against 'xenial.tar.gz.gpg'
...

So a good test is "sudo apt-get update" to ensure you can actually reach update servers, or a simple "nslookup security.ubuntu.com" to validate DNS is working.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .