[Bug 1692127] Re: duplicate signature for Package problems can be too short

2018-10-25 Thread Francis Ginther
** Tags added: id-5956aefd1fbc2cddbec3dbc9

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1692127

Title:
  duplicate signature for Package problems can be too short

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1692127/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1692127] Re: duplicate signature for Package problems can be too short

2017-07-10 Thread Launchpad Bug Tracker
This bug was fixed in the package apport - 2.20.3-0ubuntu8.6

---
apport (2.20.3-0ubuntu8.6) yakkety; urgency=medium

  * test/test_signal_crashes.py: delete the test which uses an arbitrary
unpredictable core file size.

apport (2.20.3-0ubuntu8.5) yakkety; urgency=medium

  * test/test_signal_crashes.py: a ulimit of 1M bytes isn't enough to produce
a core file anymore so bump it to 10M.

apport (2.20.3-0ubuntu8.4) yakkety; urgency=medium

  * data/general-hooks/ubuntu.py: Modify how a duplicate signature is created
for package installation failures. (LP: #1692127)

 -- Brian Murray   Thu, 29 Jun 2017 13:30:39 -0700

** Changed in: apport (Ubuntu Yakkety)
   Status: Fix Committed => Fix Released

** Changed in: apport (Ubuntu Xenial)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1692127

Title:
  duplicate signature for Package problems can be too short

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1692127/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1692127] Re: duplicate signature for Package problems can be too short

2017-07-10 Thread Launchpad Bug Tracker
This bug was fixed in the package apport - 2.20.1-0ubuntu2.9

---
apport (2.20.1-0ubuntu2.9) xenial; urgency=medium

  * test/test_signal_crashes.py: delete the test which uses an arbitrary
unpredictable core file size.

apport (2.20.1-0ubuntu2.8) xenial; urgency=medium

  * test/test_signal_crashes.py: a ulimit of 1M bytes isn't enough to produce
a core file anymore so bump it to 10M.

apport (2.20.1-0ubuntu2.7) xenial; urgency=medium

  * data/general-hooks/ubuntu.py: Modify how a duplicate signature is created
for package installation failures. (LP: #1692127)

 -- Brian Murray   Thu, 29 Jun 2017 13:33:50 -0700

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1692127

Title:
  duplicate signature for Package problems can be too short

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1692127/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1692127] Re: duplicate signature for Package problems can be too short

2017-07-10 Thread Launchpad Bug Tracker
This bug was fixed in the package apport - 2.20.4-0ubuntu4.4

---
apport (2.20.4-0ubuntu4.4) zesty; urgency=medium

  * test/test_signal_crashes.py: delete the test which uses an arbitrary
unpredictable core file size.

apport (2.20.4-0ubuntu4.3) zesty; urgency=medium

  * test/test_signal_crashes.py: a ulimit of 1M bytes isn't enough to produce
a core file anymore so bump it to 10M.

apport (2.20.4-0ubuntu4.2) zesty; urgency=medium

  * data/general-hooks/ubuntu.py: Modify how a duplicate signature is created
for package installation failures. (LP: #1692127)

 -- Brian Murray   Thu, 29 Jun 2017 11:41:12 -0700

** Changed in: apport (Ubuntu Zesty)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1692127

Title:
  duplicate signature for Package problems can be too short

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1692127/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1692127] Re: duplicate signature for Package problems can be too short

2017-06-30 Thread Brian Murray
This also works for me on xenial with apport version 2.20.1-0ubuntu2.9:

== DuplicateSignature =
package:linux-image-4.4.0-84-generic:4.4.0-84.107
Setting up linux-image-4.4.0-84-generic (4.4.0-84.107) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.4.0-84-generic 
/boot/vmlinuz-4.4.0-84-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.4.0-84-generic 
/boot/vmlinuz-4.4.0-84-generic
update-initramfs: Generating /boot/initrd.img-4.4.0-84-generic
run-parts: executing /etc/kernel/postinst.d/pm-utils 4.4.0-84-generic 
/boot/vmlinuz-4.4.0-84-generic
run-parts: executing /etc/kernel/postinst.d/unattended-upgrades 
4.4.0-84-generic /boot/vmlinuz-4.4.0-84-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 4.4.0-84-generic 
/boot/vmlinuz-4.4.0-84-generic
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 4.4.0-84-generic 
/boot/vmlinuz-4.4.0-84-generic
/usr/sbin/grub-mkconfig: 15: /etc/default/grub: Syntax error: Unterminated 
quoted string
run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 2
Failed to process /etc/kernel/postinst.d at 
/var/lib/dpkg/info/linux-image-4.4.0-84-generic.postinst line 1052.
dpkg: error processing package linux-image-4.4.0-84-generic (--configure):
 subprocess installed post-installation script returned error exit status 2


** Tags removed: verification-needed verification-needed-xenial
** Tags added: verification-done-xenial

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1692127

Title:
  duplicate signature for Package problems can be too short

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1692127/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1692127] Re: duplicate signature for Package problems can be too short

2017-06-30 Thread Brian Murray
This also works for me on yakkety with apport version 2.20.3-0ubuntu8.6:

Setting up linux-image-4.8.0-58-generic (4.8.0-58.63) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.8.0-58-generic 
/boot/vmlinuz-4.8.0-58-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.8.0-58-generic 
/boot/vmlinuz-4.8.0-58-generic
update-initramfs: Generating /boot/initrd.img-4.8.0-58-generic
run-parts: executing /etc/kernel/postinst.d/pm-utils 4.8.0-58-generic 
/boot/vmlinuz-4.8.0-58-generic
run-parts: executing /etc/kernel/postinst.d/unattended-upgrades 
4.8.0-58-generic /boot/vmlinuz-4.8.0-58-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 4.8.0-58-generic 
/boot/vmlinuz-4.8.0-58-generic
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 4.8.0-58-generic 
/boot/vmlinuz-4.8.0-58-generic
/usr/sbin/grub-mkconfig: 15: /etc/default/grub: Syntax error: Unterminated 
quoted string
run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 2
Failed to process /etc/kernel/postinst.d at 
/var/lib/dpkg/info/linux-image-4.8.0-58-generic.postinst line 1052.
dpkg: error processing package linux-image-4.8.0-58-generic (--configure):
 subprocess installed post-installation script returned error exit status 2


** Tags removed: verification-needed-yakkety
** Tags added: verification-done-yakkety

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1692127

Title:
  duplicate signature for Package problems can be too short

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1692127/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1692127] Re: duplicate signature for Package problems can be too short

2017-06-30 Thread Brian Murray
This worked for me in zesty with apport version 2.20.4-0ubuntu4.4:

DuplicateSignature:
 package:linux-image-4.10.0-22-generic:4.10.0-22.24
 Setting up linux-image-4.10.0-22-generic (4.10.0-22.24) ...
 Running depmod.
 update-initramfs: deferring update (hook will be called later)
 Not updating initrd symbolic links since we are being updated/reinstalled 
 (4.10.0-22.24 was configured last, according to dpkg) 
 Not updating image symbolic links since we are being updated/reinstalled 
 (4.10.0-22.24 was configured last, according to dpkg) 
 Examining /etc/kernel/postinst.d.
 run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.10.0-22-generic 
/boot/vmlinuz-4.10.0-22-generic
 run-parts: executing /etc/kernel/postinst.d/dkms 4.10.0-22-generic 
/boot/vmlinuz-4.10.0-22-generic
 run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.10.0-22-generic 
/boot/vmlinuz-4.10.0-22-generic
 update-initramfs: Generating /boot/initrd.img-4.10.0-22-generic
 run-parts: executing /etc/kernel/postinst.d/pm-utils 4.10.0-22-generic 
/boot/vmlinuz-4.10.0-22-generic
 run-parts: executing /etc/kernel/postinst.d/unattended-upgrades 
4.10.0-22-generic /boot/vmlinuz-4.10.0-22-generic
 run-parts: executing /etc/kernel/postinst.d/update-notifier 4.10.0-22-generic 
/boot/vmlinuz-4.10.0-22-generic
 run-parts: executing /etc/kernel/postinst.d/zz-update-grub 4.10.0-22-generic 
/boot/vmlinuz-4.10.0-22-generic
 /usr/sbin/grub-mkconfig: 15: /etc/default/grub: Syntax error: Unterminated 
quoted string
 run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 2
 Failed to process /etc/kernel/postinst.d at 
/var/lib/dpkg/info/linux-image-4.10.0-22-generic.postinst line 1052. 
 dpkg: error processing package linux-image-4.10.0-22-generic (--configure):
  subprocess installed post-installation script returned error exit status 2


** Tags removed: verification-needed-zesty
** Tags added: verification-done-zesty

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1692127

Title:
  duplicate signature for Package problems can be too short

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1692127/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1692127] Re: duplicate signature for Package problems can be too short

2017-06-30 Thread Steve Langasek
Hello Brian, or anyone else affected,

Accepted apport into zesty-proposed. The package will build now and be
available at
https://launchpad.net/ubuntu/+source/apport/2.20.4-0ubuntu4.4 in a few
hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested and change the tag from
verification-needed-zesty to verification-done-zesty.If it does not fix
the bug for you, please add a comment stating that, and change the tag
to verification-failed-zesty. In either case, details of your testing
will help us make a better decision.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance!

** Tags added: verification-needed-zesty

** Tags added: verification-needed-yakkety

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1692127

Title:
  duplicate signature for Package problems can be too short

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1692127/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1692127] Re: duplicate signature for Package problems can be too short

2017-06-26 Thread Brian Murray
The upload of apport which fixed this bug did not cause but revealed an
autopkgtest failure with test_signal_crashes.py in apport. The tests
test_core_dump_packaged and test_core_dump_unpackaged are failing
because the core file being produced is greater than the ulimit set for
core files. This limit is arbitrary and I've bumped it from 1 million to
10 million bytes to allow the test pass.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1692127

Title:
  duplicate signature for Package problems can be too short

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1692127/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1692127] Re: duplicate signature for Package problems can be too short

2017-06-20 Thread Steve Langasek
Hello Brian, or anyone else affected,

Accepted apport into zesty-proposed. The package will build now and be
available at
https://launchpad.net/ubuntu/+source/apport/2.20.4-0ubuntu4.2 in a few
hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, and change the tag
from verification-needed to verification-done. If it does not fix the
bug for you, please add a comment stating that, and change the tag to
verification-failed.  In either case, details of your testing will help
us make a better decision.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance!

** Description changed:

  [Impact]
- apport is creating a shorter than necessary duplicate signature in 
apport-package bug reports which can lead to misconsolidation and confused 
developers.
+ apport is creating a shorter than appropriate duplicate signature in 
apport-package bug reports which can lead to misconsolidation and confused 
developers.
  
  [Test Case]
  1) Boot a system with an old kernel installed or a freshly installed system
  2) edit /etc/default/grub and replace a ` with a '
  3) Upgrade the kernel, watch it crash
  4) Discover a crash report with a DuplicateSignature whose 2nd line starts 
with "Examining"
  
  With the version of the package from -proposed the DuplicateSignature in
  this case should really have a 2nd line that starts with 'Setting up
  linux-image* ...'. While in this particular case not much is lost in
  other cases valuable information will be missing.
  
  [Regression Potential]
  The code change is correct and has been tested in artful, additionally I'm 
using the same regular expression to clean up apport-package reports as they 
come in to LP. The only risk here is a typo in the patch that would cause the 
hook (the change is in the ubuntu general hook) to error out which apport would 
handle gracefully and we just wouldn't have a DuplicateSignature.
  
  [The Original Description]
  Steve brought up bug 1691983 and how it's duplicate signature is missing 
information.  It contains:
  
  package:shim-signed:1.27~16.04.1+0.9+1474479173.6c180c6-1ubuntu1
  Installing for x86_64-efi platform.
  Installation finished. No error reported.
  Running in non-interactive mode, doing nothing.
  dpkg: error processing package shim-signed (--configure):
   subprocess installed post-installation script returned error exit status 1
  
  But is missing:
  
  Setting up shim-signed (1.27~16.04.1+0.9+1474479173.6c180c6-1ubuntu1) ...
  locale: Cannot set LC_CTYPE to default locale: No such file or directory
  locale: Cannot set LC_MESSAGES to default locale: No such file or directory
  locale: Cannot set LC_ALL to default locale: No such file or directory
  debconf: unable to initialize frontend: Passthrough
  debconf: (Cannot connect to /tmp/aptdaemon-7jrqb_du/debconf.socket: 
Connection refused at (eval 18) line 3.)
  debconf: falling back to frontend: Noninteractive
  
  This is because of the following code in data/general-hooks/ubuntu.py:
  
  145 PKG_MSGS = ('Authenticating', 'De-configuring', 'Examining',
  146 'Installing ', 'Preparing', 'Processing 
triggers', 'Purging',
  147 'Removing', 'Replaced', 'Replacing', 'Setting up',
  148 'Unpacking', 'Would remove')
  149 for line in termlog.split('\n'):
  150 if line.startswith(PKG_MSGS):
  151 dupe_sig = '%s\n' % line
  152 continue
  
  The shim-signed package prints a line starts with "Installing " and that
  matches PKG_MSGS so we reset the dupe_sig because that's a message we'd
  expect from a package manager.

** Changed in: apport (Ubuntu Zesty)
   Status: In Progress => Fix Committed

** Tags added: verification-needed

** Changed in: apport (Ubuntu Yakkety)
   Status: In Progress => Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1692127

Title:
  duplicate signature for Package problems can be too short

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1692127/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1692127] Re: duplicate signature for Package problems can be too short

2017-06-19 Thread Brian Murray
** Description changed:

- Steve brought up bug 1691983 and how it's duplicate signature is missing
- information.  It contains:
+ [Impact]
+ apport is creating a shorter than necessary duplicate signature in 
apport-package bug reports which can lead to misconsolidation and confused 
developers.
+ 
+ [Test Case]
+ 1) Boot a system with an old kernel installed or a freshly installed system
+ 2) edit /etc/default/grub and replace a ` with a '
+ 3) Upgrade the kernel, watch it crash
+ 4) Discover a crash report with a DuplicateSignature whose 2nd line starts 
with "Examining"
+ 
+ With the version of the package from -proposed the DuplicateSignature in
+ this case should really have a 2nd line that starts with 'Setting up
+ linux-image* ...'. While in this particular case not much is lost in
+ other cases valuable information will be missing.
+ 
+ [Regression Potential]
+ The code change is correct and has been tested in artful, additionally I'm 
using the same regular expression to clean up apport-package reports as they 
come in to LP. The only risk here is a typo in the patch that would cause the 
hook (the change is in the ubuntu general hook) to error out which apport would 
handle gracefully and we just wouldn't have a DuplicateSignature.
+ 
+ [The Original Description]
+ Steve brought up bug 1691983 and how it's duplicate signature is missing 
information.  It contains:
  
  package:shim-signed:1.27~16.04.1+0.9+1474479173.6c180c6-1ubuntu1
  Installing for x86_64-efi platform.
  Installation finished. No error reported.
  Running in non-interactive mode, doing nothing.
  dpkg: error processing package shim-signed (--configure):
-  subprocess installed post-installation script returned error exit status 1
+  subprocess installed post-installation script returned error exit status 1
  
  But is missing:
  
  Setting up shim-signed (1.27~16.04.1+0.9+1474479173.6c180c6-1ubuntu1) ...
  locale: Cannot set LC_CTYPE to default locale: No such file or directory
  locale: Cannot set LC_MESSAGES to default locale: No such file or directory
  locale: Cannot set LC_ALL to default locale: No such file or directory
  debconf: unable to initialize frontend: Passthrough
  debconf: (Cannot connect to /tmp/aptdaemon-7jrqb_du/debconf.socket: 
Connection refused at (eval 18) line 3.)
  debconf: falling back to frontend: Noninteractive
  
  This is because of the following code in data/general-hooks/ubuntu.py:
  
  145 PKG_MSGS = ('Authenticating', 'De-configuring', 'Examining',
  146 'Installing ', 'Preparing', 'Processing 
triggers', 'Purging',
  147 'Removing', 'Replaced', 'Replacing', 'Setting up',
  148 'Unpacking', 'Would remove')
  149 for line in termlog.split('\n'):
  150 if line.startswith(PKG_MSGS):
  151 dupe_sig = '%s\n' % line
  152 continue
  
  The shim-signed package prints a line starts with "Installing " and that
  matches PKG_MSGS so we reset the dupe_sig because that's a message we'd
  expect from a package manager.

** Changed in: apport (Ubuntu Yakkety)
 Assignee: (unassigned) => Brian Murray (brian-murray)

** Changed in: apport (Ubuntu Xenial)
 Assignee: (unassigned) => Brian Murray (brian-murray)

** Changed in: apport (Ubuntu Xenial)
   Status: Triaged => In Progress

** Changed in: apport (Ubuntu Yakkety)
   Status: Triaged => In Progress

** Changed in: apport (Ubuntu Zesty)
   Status: Triaged => In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1692127

Title:
  duplicate signature for Package problems can be too short

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1692127/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1692127] Re: duplicate signature for Package problems can be too short

2017-06-19 Thread Launchpad Bug Tracker
** Branch linked: lp:~ubuntu-core-dev/ubuntu/artful/apport/ubuntu

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1692127

Title:
  duplicate signature for Package problems can be too short

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1692127/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1692127] Re: duplicate signature for Package problems can be too short

2017-06-13 Thread Brian Murray
Trusty uses the old method of creating a duplicate signature so does not
require this fix.

104 # build a duplicate signature tag for package reports
105 if report.get('ProblemType') == 'Package' and 'ErrorMessage' in report 
and 'Package' in report:
106 (package, version) = report['Package'].split(None, 1)
107 dupe_sig = 'package:%s:%s:%s' % (package, version, 
report['ErrorMessage'])
108 report['DuplicateSignature'] = dupe_sig


** Changed in: apport (Ubuntu Yakkety)
   Status: New => Triaged

** Changed in: apport (Ubuntu Xenial)
   Status: New => Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1692127

Title:
  duplicate signature for Package problems can be too short

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1692127/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1692127] Re: duplicate signature for Package problems can be too short

2017-06-13 Thread Brian Murray
** Also affects: apport (Ubuntu Yakkety)
   Importance: Undecided
   Status: New

** Also affects: apport (Ubuntu Xenial)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1692127

Title:
  duplicate signature for Package problems can be too short

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1692127/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1692127] Re: duplicate signature for Package problems can be too short

2017-05-23 Thread Brian Murray
This should be SRU'ed to stable releases but let's make sure it is
working properly first.

** Also affects: apport (Ubuntu Zesty)
   Importance: Undecided
   Status: New

** Changed in: apport (Ubuntu Zesty)
   Status: New => Triaged

** Changed in: apport (Ubuntu Zesty)
   Importance: Undecided => High

** Changed in: apport (Ubuntu Zesty)
 Assignee: (unassigned) => Brian Murray (brian-murray)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1692127

Title:
  duplicate signature for Package problems can be too short

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1692127/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1692127] Re: duplicate signature for Package problems can be too short

2017-05-22 Thread Launchpad Bug Tracker
This bug was fixed in the package apport - 2.20.5-0ubuntu4

---
apport (2.20.5-0ubuntu4) artful; urgency=medium

  * data/general-hooks/ubuntu.py: Modify how a duplicate signature is created
for package installation failures. (LP: #1692127)

 -- Brian Murray   Mon, 22 May 2017 16:37:50 -0700

** Changed in: apport (Ubuntu Artful)
   Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1692127

Title:
  duplicate signature for Package problems can be too short

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1692127/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1692127] Re: duplicate signature for Package problems can be too short

2017-05-19 Thread Steve Langasek
When each of these messages are output by dpkg, they also match the
pattern '\.\.\.[[:space:]]*$'.  So perhaps that should be included as
part of the filter?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1692127

Title:
  duplicate signature for Package problems can be too short

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1692127/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1692127] Re: duplicate signature for Package problems can be too short

2017-05-19 Thread Brian Murray
We could continue if the line equals "Installing for x86_64-efi
platform." but that would only work for shim-signed and seems fragile.

** Also affects: apport (Ubuntu Artful)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1692127

Title:
  duplicate signature for Package problems can be too short

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1692127/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs