[Bug 1071025] Re: do-release-upgrade allows both -d and -p switches although neither takes effect

Launchpad Bug Tracker 1071025 at bugs.launchpad.net
Fri Mar 7 23:33:28 UTC 2014


This bug was fixed in the package ubuntu-release-upgrader - 1:0.215

---------------
ubuntu-release-upgrader (1:0.215) trusty; urgency=medium

  * do-release-upgrade: indicate that -p and -d switches are mutually
    exclusive (LP: #1071025)
  * debian/control.py: depend on python-apport since DistUpgradeApport.py
    imports it and the release upgrader does not use python3 (LP: #1289604)
  * debian/source_ubuntu-release-upgrader.py: create a DuplicateSignature by
    stripping out the tmpdir from the Traceback (LP: #1289850)
 -- Brian Murray <brian at ubuntu.com>   Fri, 07 Mar 2014 14:29:14 -0800

** Changed in: ubuntu-release-upgrader (Ubuntu)
       Status: In Progress => Fix Released

-- 
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:
  Fix Released

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