[Bug 1071025] Re: do-release-upgrade allows both -d and -p switches although neither takes effect
Brian Murray
brian at ubuntu.com
Fri Mar 7 17:00:17 UTC 2014
** Changed in: ubuntu-release-upgrader (Ubuntu)
Status: Triaged => In Progress
** Changed in: ubuntu-release-upgrader (Ubuntu)
Assignee: (unassigned) => Brian Murray (brian-murray)
--
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/1071025
Title:
do-release-upgrade allows both -d and -p switches although neither
takes effect
Status in “ubuntu-release-upgrader” package in Ubuntu:
In Progress
Bug description:
13:59:33 - flash:[/tmp] do-release-upgrade -h
Usage: do-release-upgrade [options]
Options:
-h, --help show this help message and exit
-V, --version Show version and exit
-d, --devel-release Check if upgrading to the latest devel release is
possible
--data-dir=DATA_DIR Directory that contains the data files
-p, --proposed Try upgrading to the latest release using the upgrader
from $distro-proposed
There is no documentation nor an error message if you use both the -d
and -p switches. However, if you look at MetaRelease.py you will see
the following:
# devel and proposed "just" change the postfix
if useDevelopmentRelease:
self.METARELEASE_URI += self.METARELEASE_URI_UNSTABLE_POSTFIX
elif useProposed:
self.METARELEASE_URI += self.METARELEASE_URI_PROPOSED_POSTFIX
by using both -d and -p you get neither. As there is no meta-release
file for meta-release-development-proposed there should be an error
message if you use both arguments at the same time.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1071025/+subscriptions
More information about the foundations-bugs
mailing list