Looking closer at the code, this is already supposed to be handled, but there is a control flow mistake. The logs hint at this too:
2024-10-02 17:30:48,273 ERROR No 'ubuntu-minimal' available/downloadable after sources.list rewrite+update 2024-10-02 17:30:48,273 ERROR 'ubuntu-minimal' was not in the cache 2024-10-02 17:30:48,275 ERROR not handled exception: I.e. it was already noted that ubuntu-minimal is not in the cache, and this *should* result in a message to the user, but the bug results in the cache trying to be accessed with 'ubuntu-minimal' anyways. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2083575 Title: failed upgrade left apt sources on wrong release To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/2083575/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
