[Bug 1070043] Re: DistUpgradeApport.py should check to see if --tags is available

Launchpad Bug Tracker 1070043 at bugs.launchpad.net
Tue Oct 30 09:29:28 UTC 2012


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

---------------
ubuntu-release-upgrader (1:0.191) raring; urgency=low

  * support quantal->raring release upgrades
 -- Michael Vogt <michael.vogt at ubuntu.com>   Tue, 30 Oct 2012 09:33:50 +0100

** 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/1070043

Title:
  DistUpgradeApport.py should check to see if --tags is available

Status in “ubuntu-release-upgrader” package in Ubuntu:
  Fix Released
Status in “ubuntu-release-upgrader” source package in Quantal:
  Fix Released

Bug description:
  = Impact =
  If apport is not upgraded before a package installation failure happens the package installation failure mechanism will fail as it will try to use a feature of apport that isn't available.  This prevents us from receiving some package install failures that we should receive.

  = Test Case=
  On a precise sytem
  1) run do-release-upgrade -d in a terminal
  2) choose not to continue with the distribution upgrade when you see the Unity3D warning
  3) cd to /tmp/update-manager-SOMETHING (this is where the dist-upgrader for quantal was downloaded)
  4) download test.py from bug 1070043
  5) in the quantal dist-upgrader folder run "sudo python test.py"
  6) observe the error message 'package_hook: error: no such option: --tags'
  Now to use test the version from proposed:
  1) run do-release-upgrade -p in a terminal
  2) choose not to continue with the distribution upgrade when you see the Unity3D warning
  3) cd to /tmp/update-manager-SOMETHINGELSE (this is where the dist-upgrader for quantal from proposed was downloaded)
  4) copy test.py from /tmp/update-manager-SOMETHING to /tmp/update-manager-SOMETHINGELSE
  5) in the SOMETHINGELSE folder run "sudo python test.py"
  6) there should not be an error in the terminal
  7) confirm that there is a /var/crash/2vcard.0.crash file

  During a failed upgrade, I saw these errors, indicating that the
  apport package hook hadn't been upgraded before attempting to call
  some new features:

  dpkg: error processing libasyncns0 (--configure):
   no package named `libasyncns0' is installed, cannot configure
  Setting up libjson0:amd64 (0.10-1ubuntu1) ...
  Usage: package_hook [options]
  package_hook: error: no such option: --tags

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




More information about the foundations-bugs mailing list