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

Brian Murray brian at ubuntu.com
Wed Oct 24 20:54:58 UTC 2012


** Description changed:

  = 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
+ 1) run do-release-upgrade 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 -d -p in a terminal
+ 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

-- 
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:
  In Progress
Status in “ubuntu-release-upgrader” source package in Quantal:
  Fix Committed

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