edgy to feisty upgrades fail due to use of old-releases
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
update-manager (Ubuntu) |
Fix Released
|
Medium
|
Michael Vogt | ||
Feisty |
Won't Fix
|
Medium
|
Michael Vogt | ||
Gutsy |
Won't Fix
|
Undecided
|
Unassigned | ||
Hardy |
Won't Fix
|
Undecided
|
Michael Vogt | ||
Intrepid |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: update-manager
Now that edgy is on old-releases, do-release-upgrade fails because it doesn't know how to cope with the situation. It considers old-releases a foreign mirror, giving you the option to quit, or to just s/edgy/feisty/ which, of course, won't work because feisty is (currently) hosted on archive.ubuntu.com.
The workaround for this is, when asked if you want to s/edgy/feisty/, hit another terminal, rewrite sources.list to use archive.ubuntu.com, and then say "yes, sure, use my custom mirror!", but this is clearly not ideal.
Either the release-upgrader needs a table of release->mirror mappings (not ideal, as it would require new uploads to every old dist as we archive releases), or a quick-n-dirty http prober that can check if a release lives on old-releases or archive, before mangling sources.list (this should future-proof feisty being archived to old-releases). On top of that, of course, old-releases needs to be considered a valid official mirror, not a custom mirror.
Thanks for your bugreport.
Attached is a fix that should make upgrades at least work again.