The error message is:

2025-05-10 22:17:14,143 ERROR IOError/SystemError in cache.update():
'W:Updating from such a repository can't be done securely, and is
therefore disabled by default., W:See apt-secure(8) manpage for
repository creation and user configuration details., E:The repository
'https://esm.ubuntu.com/apps/ubuntu oracular-apps-security Release' does
not have a Release file., W:Updating from such a repository can't be
done securely, and is therefore disabled by default., W:See apt-
secure(8) manpage for repository creation and user configuration
details., E:The repository 'https://esm.ubuntu.com/infra/ubuntu
oracular-infra-security Release' does not have a Release file.'.
Retrying (currentRetry: 2)

So for some reason ubuntu-release-upgrader kept esm.ubuntu.com enabled,
upon upgrade to an interim release, and then apt correctly does not find
Release files as certain features are not available.

It sounds like ubuntu-release-upgrader needs to be smarter about which
repos to enable/disable and when. Possibly call pro client to figure out
which subscriptions will still be valid, and for example keep them when
doing lts->lts upgrade; but disable some of them upon doing lts->normal
update.

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

Title:
  do-release-upgrade fails when esm is enabled

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-advantage-tools/+bug/2084208/+subscriptions


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

Reply via email to