This is still a problem: I wanted to upgrade from eoan to focal and
forgot about this bug, so the upgrade failed again (I think it actually
crashed this time, the GUI window disappeared, but I accidentally
dismissed the "send report" prompt, so I'm not sure how exactly).

It seems the pattern is still the same: The source.list is rewritten
from eoan to focal, Default-Release is unchanged, so subsequent apt
operations fail. If I then remove the Default-Release and retry to retry
the upgrade with `update-manager -c`, that seems to block indefinitely
at some step, even before it offers to upgrade to focal.

Reverting the sources.list changes from focal to eoan *and* removing
Default-Release does allow the upgrade to be started again (like the
last time).

I just noticed that when you have insufficient disk space, the upgrade
procedure correctly reverts the changes made to sources.list. If this
would also happen with a Default-Release-based failure, then at least
recovery would be a lot easier (so this is actually a second, separate
problem).

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

Title:
  APT::Default-Release breaks distribution upgrade

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to