I'm trying to upgrade from 16.04 to 18.04 LTS. When I go to do-release-upgrade, though, I get a message "no new release found."

I've tried editing (or not editing) /update-manager/release-upgrades; I've tried do-release-upgrade -d; I've tried everything I could find on the internet.

One twist to this is that the server I'm trying to upgrade is behind a local mirror; that is, instead of downloading from ubuntu directly, it's downloading from this local mirror; the server is behind a firewall of sorts. Are there special servers that need to be in sources.list for do-release-upgrade? I'm at a loss.

  • 1
    Ensure your system is fully upgraded (sudo apt update && sudo apt full-upgrade not just upgrade) before you try to bump releases. Also as you mention mirrors, check on launchpad.net/ubuntu/+archivemirrors to ensure you mirror isn't Last update unknown (meaning it was far enough back to exceed counter).
    – guiverc
    Apr 3, 2019 at 2:52
  • Thanks. I tried the full-upgrade (as well as dist-upgrade earlier) but unfortunately it didn't work. The mirror I'm using is a private mirror, in the sense that it's for a local network for machines isolated from the global network (these machines have no ability to access the outside internet directly). So I don't see it listed in lists of mirrors like that one. The next step I'm considering is adding the newer releases to the sources.list but I'm worried that could cause lots of problems.
    – markeri
    Apr 3, 2019 at 14:59
  • Your latest revision looks like an answer. I've rolled back that edit. Consider posting that edit as an answer.
    – Kulfy
    Apr 3, 2019 at 16:57

2 Answers 2


I figured it out. I had to edit the file /etc/update-manager/meta-release to point to the location on the local mirror where the meta-release file is located. That is, rather than point to the URL http://changelogs.ubuntu.com/meta-release, I edited /etc/update-manager/meta-release to point to the URL of the local mirror. do-release-upgrade uses /etc/update-manager/meta-release to determine the location of the meta-release file, which it then uses to determine whether a new release is available.

  • Hmm this won't work for me since I don't have a local mirror :-(
    – Bastion
    Jan 24, 2020 at 0:51


cat /etc/update-manager/release-upgrades
# Default behavior for the release upgrader.

# ...

The prompt should be lts or default, and not never

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.