Public bug reported:

do-release-upgrade -c falsely reports "No new release found." and exits
with NO_RELEASE_AVAILABLE after failing to connect to meta-release

$ do-release-upgrade -c

Comprobar si hay una nueva versión de Ubuntu

Failed to connect to https://changelogs.ubuntu.com/meta-release. Check
your Internet connection or proxy settings

No hay ninguna versión nueva.

Also, notice the mixed-language output on non-English locales.

This must be the code:

$ grep -n -A6 "generic" 
/usr/lib/python3/dist-packages/UpdateManager/Core/MetaRelease.py 
394:        # generic network error
395-        except (URLError, BadStatusLine, socket.timeout) as e:
396-            self._debug("result of meta-release download: '%s'" % e)
397-            print(
398-                "Failed to connect to %s. Check your Internet connection "
399-                "or proxy settings" % self.METARELEASE_URI
400-            )

And

$ grep -n -C 5 "No new release found" /usr/bin/do-release-upgrade
154-        print(_("set Prompt=normal in 
/etc/update-manager/release-upgrades."))
155-      elif options.devel_release:
156-        print(_("Upgrades to the development release are only "))
157-        print(_("available from the latest supported release."))
158-      else:
159:        print(_("No new release found."))
160-    sys.exit(NO_RELEASE_AVAILABLE)
161-
162-  if m.new_dist.upgrade_broken:
163-    if not options.quiet:
164-      print(_("Release upgrade not possible right now"))


$ grep gettext /usr/lib/python3/dist-packages/UpdateManager/Core/MetaRelease.py 
$ echo $?
1

ProblemType: Bug
DistroRelease: Ubuntu 26.04
Package: ubuntu-release-upgrader-core 1:26.04.27
ProcVersionSignature: Ubuntu 7.0.0-43.43-generic 7.0.14
Uname: Linux 7.0.0-43-generic x86_64
ApportVersion: 2.34.1-0ubuntu0.1
Architecture: amd64
CasperMD5CheckResult: pass
CrashDB: ubuntu
CurrentDesktop: Budgie
Date: Mon Nov 16 13:21:12 2026
InstallationDate: Installed on 2026-05-01 (200 days ago)
InstallationMedia: Ubuntu-Budgie 26.04 "Resolute Raccoon" - Release amd64 
(20260423.1)
PackageArchitecture: all
SourcePackage: ubuntu-release-upgrader
Symptom: ubuntu-release-upgrader
UpgradeStatus: No upgrade log present (probably fresh install)
mtime.conffile..etc.update-manager.release-upgrades: 2026-10-20T22:06:33.093519

** Affects: ubuntu-release-upgrader (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug dist-upgrade resolute wayland-session

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2174621

Title:
  do-release-upgrade -c falsely reports "No new release found."

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/2174621/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to