[Bug 1502291] [NEW] 'do-release-upgrade -d' should always offer to upgrade to the most recent development release
Mathew Hodson
mathew.hodson at gmail.com
Fri Oct 2 19:04:25 UTC 2015
Public bug reported:
On Trusty, 'do-release-upgrade -d' is currently offering an upgrade to
14.10. It should offer to upgrade to Wily, because Wily is the current
development release.
It makes sense if we are skipping versions for stable releases to also
skip versions for development releases. The code in update-manager
parses the meta-release files to determine which release to upgrade. As
an example here is the meta-release-development entry for Utopic.
Dist: utopic
Name: Utopic Unicorn
Version: 14.10
Date: Thu, 23 Oct 2014 14:10:00 UTC
Supported: 0
Description: This is the 14.10 release
Release-File: http://archive.ubuntu.com/ubuntu/dists/utopic/Release
ReleaseNotes: http://changelogs.ubuntu.com/EOLReleaseAnnouncement
UpgradeTool: http://archive.ubuntu.com/ubuntu/dists/utopic/main/dist-upgrader-all/current/utopic.tar.gz
UpgradeToolSignature: http://archive.ubuntu.com/ubuntu/dists/utopic/main/dist-upgrader-all/current/utopic.tar.gz.gpg
We currently just check the date and supported status to determine to
which release to upgrade, as the meta release files don't really contain
information about whether or not a release is obsolete. If we are
running with the -d switch we could check to see if the release date is
greater than today. There should probably be a fudge factor of a day
though as otherwise people may not be able to upgrade on release day.
** Affects: update-manager (Ubuntu)
Importance: Low
Status: New
** Tags: trusty
** Changed in: ubuntu-release-upgrader (Ubuntu)
Importance: Undecided => Low
** Changed in: ubuntu-release-upgrader (Ubuntu)
Assignee: Brian Murray (brian-murray) => (unassigned)
** Package changed: ubuntu-release-upgrader (Ubuntu) => update-manager
(Ubuntu)
** Description changed:
On Trusty, 'do-release-upgrade -d' is currently offering an upgrade to
14.10. It should offer to upgrade to Wily, because Wily is the current
development release.
It makes sense if we are skipping versions for stable releases to also
skip versions for development releases. The code in update-manager
parses the meta-release files to determine which release to upgrade. As
- an example here is the meta-release-development entry for utopic.
+ an example here is the meta-release-development entry for Utopic.
Dist: utopic
Name: Utopic Unicorn
Version: 14.10
Date: Thu, 23 Oct 2014 14:10:00 UTC
Supported: 0
Description: This is the 14.10 release
Release-File: http://archive.ubuntu.com/ubuntu/dists/utopic/Release
ReleaseNotes: http://changelogs.ubuntu.com/EOLReleaseAnnouncement
UpgradeTool: http://archive.ubuntu.com/ubuntu/dists/utopic/main/dist-upgrader-all/current/utopic.tar.gz
UpgradeToolSignature: http://archive.ubuntu.com/ubuntu/dists/utopic/main/dist-upgrader-all/current/utopic.tar.gz.gpg
We currently just check the date and supported status to determine to
which release to upgrade, as the meta release files don't really contain
information about whether or not a release is obsolete. If we are
running with the -d switch we could check to see if the release date is
greater than today. There should probably be a fudge factor of a day
though as otherwise people may not be able to upgrade on release day.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/1502291
Title:
'do-release-upgrade -d' should always offer to upgrade to the most
recent development release
Status in update-manager package in Ubuntu:
New
Bug description:
On Trusty, 'do-release-upgrade -d' is currently offering an upgrade to
14.10. It should offer to upgrade to Wily, because Wily is the current
development release.
It makes sense if we are skipping versions for stable releases to also
skip versions for development releases. The code in update-manager
parses the meta-release files to determine which release to upgrade.
As an example here is the meta-release-development entry for Utopic.
Dist: utopic
Name: Utopic Unicorn
Version: 14.10
Date: Thu, 23 Oct 2014 14:10:00 UTC
Supported: 0
Description: This is the 14.10 release
Release-File: http://archive.ubuntu.com/ubuntu/dists/utopic/Release
ReleaseNotes: http://changelogs.ubuntu.com/EOLReleaseAnnouncement
UpgradeTool: http://archive.ubuntu.com/ubuntu/dists/utopic/main/dist-upgrader-all/current/utopic.tar.gz
UpgradeToolSignature: http://archive.ubuntu.com/ubuntu/dists/utopic/main/dist-upgrader-all/current/utopic.tar.gz.gpg
We currently just check the date and supported status to determine to
which release to upgrade, as the meta release files don't really
contain information about whether or not a release is obsolete. If we
are running with the -d switch we could check to see if the release
date is greater than today. There should probably be a fudge factor of
a day though as otherwise people may not be able to upgrade on release
day.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1502291/+subscriptions
More information about the foundations-bugs
mailing list