This is the test for Stable Release Update. ** 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 + 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 + 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 + 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 ** Attachment added: "test.py" https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1070043/+attachment/3410610/+files/test.py -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1070043 Title: DistUpgradeApport.py should check to see if --tags is available To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1070043/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
