Merge lp:~brian-murray/ubuntu/oneiric/apport/package-dupe-sig into lp:~ubuntu-core-dev/ubuntu/oneiric/apport/ubuntu
Status: | Merged | ||||
---|---|---|---|---|---|
Merge reported by: | Steve Langasek | ||||
Merged at revision: | not available | ||||
Proposed branch: | lp:~brian-murray/ubuntu/oneiric/apport/package-dupe-sig | ||||
Merge into: | lp:~ubuntu-core-dev/ubuntu/oneiric/apport/ubuntu | ||||
Diff against target: |
45 lines (+27/-0) 2 files modified
data/general-hooks/ubuntu.py (+18/-0) debian/changelog (+9/-0) |
||||
To merge this branch: | bzr merge lp:~brian-murray/ubuntu/oneiric/apport/package-dupe-sig | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Steve Langasek | Needs Fixing | ||
Review via email:
|
Description of the change
This branch adds a DuplicateSignature tag to apport-package installation failures allowing them to be marked as duplicates by the retracer. For example:
DistroRelease: Ubuntu 11.10
DuplicateSignature:
Setting up pytrainer (1.8.0-3) ...
dpkg: error processing pytrainer (--configure):
subprocess installed post-installation script returned error exit status
PackageArchitec
I've tested this by installing the ubuntu general hook and creating a package installation failure as seen above. Additionally, I've written code to do the same thing and produced DuplicateSignatures for a collection of DpkgTerminalLog files which I have locally and it works well.
It's redundant to check for "Setting up" in the log if we're going to exclude anything matching a "post-installation script returned error", since these two lines will always go hand-in-hand in a dpkg failure.