Merge lp:~mkukri/apport/ubuntu-bugpatterns into lp:apport

Proposed by Mate Kukri
Status: Superseded
Proposed branch: lp:~mkukri/apport/ubuntu-bugpatterns
Merge into: lp:apport
Diff against target: 3136 lines (+3092/-0)
9 files modified
README (+80/-0)
bugpattern_written.py (+57/-0)
bugpatterns.xml (+2347/-0)
check-patterns-for-fixed-bugs (+106/-0)
consolidate-bugs (+62/-0)
convert.py (+28/-0)
search-bugs (+214/-0)
test-local (+69/-0)
update-tags (+129/-0)
To merge this branch: bzr merge lp:~mkukri/apport/ubuntu-bugpatterns
Reviewer Review Type Date Requested Status
Canonical Foundations Team Pending
Review via email: mp+461368@code.launchpad.net

This proposal has been superseded by a proposal from 2024-02-27.

Commit message

Add bug pattern for GRUB (re)installation failing due to stale grub-{pc,efi}/install_devices

To post a comment you must log in.
lp:~mkukri/apport/ubuntu-bugpatterns updated
612. By Mate Kukri

Add bug pattern for GRUB2 non-interactive upgrades failing due to stale grub-{efi,pc}/install_devices

Unmerged revisions

612. By Mate Kukri

Add bug pattern for GRUB2 non-interactive upgrades failing due to stale grub-{efi,pc}/install_devices

611. By Benjamin Drung

Add pattern for lz4 in initramfs-tools failing due to full /boot partition

610. By Benjamin Drung

Add pattern for full /boot partition for initramfs-tools

609. By Steve Langasek

Add a bug pattern for LP: #2015312, update-notifier broken by wrong python

608. By Brian Murray

update the url where the bugpatterns live

607. By Brian Murray

comment out bad bug pattern

606. By Brian Murray

remove the bug pattern for LP: #1766945 as it is from bionic and could be preventing new bugs from being filed

605. By Brian Murray

add in a bug pattern for /boot and zsys bug LP: #1956835

604. By Brian Murray

add in a bug pattern for LP: 1944086

603. By Brian Murray

add in a bug pattern for sources.list with deb mirror:// in it LP: #1813354

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added file 'README'
2--- README 1970-01-01 00:00:00 +0000
3+++ README 2024-02-27 16:26:55 +0000
4@@ -0,0 +1,80 @@
5+Apport bug patterns for Ubuntu
6+==============================
7+
8+Purpose
9+-------
10+
11+Sometimes a high-visibility crash bug or package installation failure causes a
12+tremendous amount of duplicate bugs filed through apport, because
13+Launchpad is not insistant enough to guide people to already existing
14+similar bugs.
15+
16+Thus Apport supports patterns which can be matched against a crash (or bug)
17+report, and directly guide the user to the existing bug instead of
18+filing a new one first.
19+
20+Most useful fields are certainly Stacktrace, Package/Dependencies (for
21+checking particular versions), and ProcCmdline, but in general you can
22+match any field that seems useful.
23+
24+To avoid inventing a new file format and to be able to extend the
25+functionality in the future (e. g. other operators than just regexp matching)
26+the bug patterns are stored in an XML file, currently on [1].
27+
28+Syntax
29+------
30+The general syntax is:
31+
32+ root element := <patterns>
33+ patterns := <pattern url="http://bug.url"> *
34+ pattern := <re key="report_key">regular expression*</re> +
35+
36+For example:
37+
38+ <?xml version="1.0"?>
39+ <patterns>
40+ <pattern url="https://launchpad.net/bugs/1">
41+ <re key="Package">^foo </re>
42+ <re key="Foo">ba.*r</re>
43+ </pattern>
44+ <pattern url="https://launchpad.net/bugs/2">
45+ <re key="Package">^bar 1-2$</re> <!-- test for a particular version -->
46+ <re key="Foo">write_(hello|goodbye)</re>
47+ </pattern>
48+ </patterns>
49+
50+The existing bug patterns should provide sufficient examples to
51+understand real-world applications. The patterns for gnome-alsamixer and linux
52+both contain good examples.
53+
54+Testing
55+-------
56+To test that apport is seeing your modified or new bug pattern, you can run
57+"./test-local" on a .crash file or a Launchpad bug number. This will match the
58+report against all local bug patterns and give the result. Once this is
59+working, commit and push them.
60+
61+Already Reported Bugs
62+---------------------
63+In the event that there are bugs already reported in Launchpad that match your
64+bug pattern you can run "./search-bugs --package linux" to find these bug reports.
65+
66+For example to search for bugs matching an apport kernel oops:
67+
68+./search-bugs --package linux --tags apport-kerneloops
69+
70+These bugs can also automatically consolidated using:
71+
72+./search-bugs --package linux --tags apport-kerneloops --consolidate
73+
74+They will then be marked as a duplicate of the bug number in the pattern url.
75+
76+Rollout
77+-------
78+Commits to the Launchpad branch are rolled out to
79+http://people.canonical.com/~ubuntu-archive/bugpatterns/ (where apport will look
80+for them) every 15 minutes.
81+
82+Please double and triple check new patterns here. Badly written
83+patterns can easily lead to unifying *all* possible crashes to one
84+existing bug!
85
86=== added file 'bugpattern_written.py'
87--- bugpattern_written.py 1970-01-01 00:00:00 +0000
88+++ bugpattern_written.py 2024-02-27 16:26:55 +0000
89@@ -0,0 +1,57 @@
90+#!/usr/bin/python
91+# Author: Brian Murray <brian@canonical.com>
92+# Copyright (C) 2011 Canonical, Ltd.
93+# License: GPLv3
94+#
95+# this is a bzr plugin that belongs in ~/.bazaar/plugins and will
96+# modify the bug, modify tags and unsubsribe bugcontrol,
97+# for which a bugpattern was written
98+#
99+# it requires the package python-launchpadlib-toolkit be installed
100+
101+import os
102+import re
103+
104+from bzrlib import branch
105+from bzrlib import errors
106+from lpltk import LaunchpadService
107+from subprocess import Popen, PIPE
108+
109+
110+def post_push_hook(push_result):
111+ lp = LaunchpadService(config={})
112+ bugcontrol = lp.launchpad.people['ubuntu-bugcontrol']
113+ bug_numbers = []
114+ # assumes you are in the branch directory
115+ try:
116+ wb = branch.Branch.open(os.getcwd())
117+ except errors.NotBranchError:
118+ return
119+ if wb.get_parent() != 'bzr+ssh://bazaar.launchpad.net/~ubuntu-bugcontrol/apport/ubuntu-bugpatterns/':
120+ return
121+ delta = wb.get_revision_delta(wb.revno())
122+ if 'bugpatterns.xml' not in delta.get_changes_as_text():
123+ return
124+ # can't figure out how to get the contents of the diff
125+ diff = Popen(["bzr", "log", "-r-1", "-p"], stdout=PIPE).communicate()[0]
126+ for line in diff.split('\n'):
127+ if not line.startswith('+'):
128+ continue
129+ if 'pattern url' in line and 'launchpad.net/bugs' in line:
130+ bug_number = re.search('(\d+)', line).group(1)
131+ bug_numbers.append(bug_number)
132+ for bug_number in bug_numbers:
133+ bug = lp.get_bug(bug_number)
134+ if bug.private:
135+ print 'LP: #%s is private and should be made public' % bug_number
136+ if not 'bugpattern-needed' in bug.tags:
137+ bug.tags.append('bugpattern-written')
138+ print 'LP: #%s didn\'t need a bug pattern' % bug_number
139+ continue
140+ bug.tags.remove('bugpattern-needed')
141+ bug.tags.append('bugpattern-written')
142+ bug.lpbug.unsubscribe(person=bugcontrol)
143+ print 'LP: #%s modified by bug pattern written bzr hook' % bug_number
144+
145+branch.Branch.hooks.install_named_hook('post_push', post_push_hook,
146+ 'Bug pattern written hook')
147
148=== added file 'bugpatterns.xml'
149--- bugpatterns.xml 1970-01-01 00:00:00 +0000
150+++ bugpatterns.xml 2024-02-27 16:26:55 +0000
151@@ -0,0 +1,2347 @@
152+<?xml version="1.0"?>
153+
154+<patterns>
155+
156+<!-- General apport package patterns that apply to any package -->
157+
158+ <pattern url="https://launchpad.net/bugs/349469">
159+ <re key="ProblemType">^Package</re>
160+ <re key="DpkgTerminalLog">debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process</re>
161+ </pattern>
162+ <pattern url="https://launchpad.net/bugs/349469">
163+ <re key="ProblemType">^Package</re>
164+ <re key="VarLogDistupgradeApttermlog">debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process</re>
165+ </pattern>
166+ <pattern url="https://wiki.ubuntu.com/Bugs/InitramfsLiveMedia">
167+ <re key="ProblemType">^Package</re>
168+ <re key="Title">exit status 1</re>
169+ <re key="DpkgTerminalLog">cp:.*`/vmlinuz'</re>
170+ <re key="LiveMediaBuild">Ubuntu</re>
171+ </pattern>
172+ <pattern url="http://launchpad.net/bugs/882147">
173+ <re key="ProblemType">^Package</re>
174+ <re key="DpkgTerminalLog">start: Unknown job:</re>
175+ <re key="LiveMediaBuild">11.(10|04)</re>
176+ </pattern>
177+ <pattern url="https://launchpad.net/bugs/545790">
178+ <re key="ProblemType">^Package</re>
179+ <re key="ErrorMessage">error writing to ..standard output..: Success</re>
180+ <re key="Title">package .* failed to install\/upgrade: error writing to ..standard output..: Success</re>
181+ </pattern>
182+ <!-- fr.po -->
183+ <pattern url="https://launchpad.net/bugs/545790">
184+ <re key="ProblemType">^Package</re>
185+ <re key="ErrorMessage">erreur lors de l'écriture de .*sortie standard.*: Succès</re>
186+ <re key="Title">package .* failed to install\/upgrade</re>
187+ </pattern>
188+ <!-- es.po -->
189+ <pattern url="https://launchpad.net/bugs/545790">
190+ <re key="ProblemType">^Package</re>
191+ <re key="ErrorMessage">error al escribir en .*salida estándar.*</re>
192+ <re key="Title">package .* failed to install\/upgrade</re>
193+ </pattern>
194+ <!-- pt.po -->
195+ <pattern url="https://launchpad.net/bugs/545790">
196+ <re key="ProblemType">^Package</re>
197+ <re key="ErrorMessage">erro ao escrever .*saída standard.*</re>
198+ <re key="Title">package .* failed to install\/upgrade</re>
199+ </pattern>
200+ <!-- de.po -->
201+ <pattern url="https://launchpad.net/bugs/545790">
202+ <re key="ProblemType">^Package</re>
203+ <re key="ErrorMessage">Fehler beim Schreiben von .*Standardausgabe.*</re>
204+ <re key="Title">package .* failed to install\/upgrade</re>
205+ </pattern>
206+ <!-- it.po -->
207+ <pattern url="https://launchpad.net/bugs/545790">
208+ <re key="ProblemType">^Package</re>
209+ <re key="ErrorMessage">errore nello scrivere .*standard output.*</re>
210+ <re key="Title">package .* failed to install\/upgrade</re>
211+ </pattern>
212+ <!-- sv.po -->
213+ <pattern url="https://launchpad.net/bugs/545790">
214+ <re key="ProblemType">^Package</re>
215+ <re key="ErrorMessage">fel vid skrivning till .*standard ut.*</re>
216+ <re key="Title">package .* failed to install\/upgrade</re>
217+ </pattern>
218+ <pattern url="https://launchpad.net/bugs/541595">
219+ <re key="ProblemType">^Package</re>
220+ <re key="VarLogDistupgradeMainlog">apt version: '0.8.16~exp5ubuntu</re>
221+ <re key="DpkgTerminalLog">package.*is already installed and configured</re>
222+ </pattern>
223+ <pattern url="https://launchpad.net/bugs/541595">
224+ <re key="ProblemType">^Package</re>
225+ <re key="DpkgTerminalLog">Paket.*ist schon installiert und konfiguriert</re>
226+ </pattern>
227+ <pattern url="https://launchpad.net/bugs/541595">
228+ <re key="ProblemType">^Package</re>
229+ <re key="DpkgTerminalLog">el paquet.*ja està instaŀlat i configurat</re>
230+ </pattern>
231+ <pattern url="https://launchpad.net/bugs/541595">
232+ <re key="ProblemType">^Package</re>
233+ <re key="DpkgTerminalLog">pakken.*er allerede installeret og konfigureret</re>
234+ </pattern>
235+ <pattern url="https://launchpad.net/bugs/541595">
236+ <re key="ProblemType">^Package</re>
237+ <re key="DpkgTerminalLog">la pako.*jam estas instalita kaj akomodita</re>
238+ </pattern>
239+ <pattern url="https://launchpad.net/bugs/541595">
240+ <re key="ProblemType">^Package</re>
241+ <re key="DpkgTerminalLog">el paquete.*ya está instalado y configurado</re>
242+ </pattern>
243+ <pattern url="https://launchpad.net/bugs/541595">
244+ <re key="ProblemType">^Package</re>
245+ <re key="DpkgTerminalLog">le paquet.*est déjà installé et configuré</re>
246+ </pattern>
247+ <pattern url="https://launchpad.net/bugs/541595">
248+ <re key="ProblemType">^Package</re>
249+ <re key="DpkgTerminalLog">il pacchetto.*è già installato e configurato</re>
250+ </pattern>
251+ <pattern url="https://launchpad.net/bugs/541595">
252+ <re key="ProblemType">^Package</re>
253+ <re key="DpkgTerminalLog">pacote.*já está instalado e configurado</re>
254+ </pattern>
255+ <pattern url="https://launchpad.net/bugs/541595">
256+ <re key="ProblemType">^Package</re>
257+ <re key="DpkgTerminalLog">pakiet.*jest już zainstalowany i skonfigurowany</re>
258+ </pattern>
259+
260+ <pattern url="https://launchpad.net/bugs/541595">
261+ <re key="ProblemType">^Package</re>
262+ <re key="VarLogDistupgradeMainlog">apt version: '0.8.16~exp5ubuntu</re>
263+ <re key="VarLogDistupgradeApttermlog">package.*is already installed and configured</re>
264+ </pattern>
265+ <pattern url="https://launchpad.net/bugs/541595">
266+ <re key="ProblemType">^Package</re>
267+ <re key="VarLogDistupgradeMainlog">apt version: '0.8.16~exp5ubuntu</re>
268+ <re key="VarLogDistupgradeApttermlog">Paket.*ist schon installiert und konfiguriert</re>
269+ </pattern>
270+ <pattern url="https://launchpad.net/bugs/541595">
271+ <re key="ProblemType">^Package</re>
272+ <re key="VarLogDistupgradeMainlog">apt version: '0.8.16~exp5ubuntu</re>
273+ <re key="VarLogDistupgradeApttermlog">el paquet.*ja està instaŀlat i configurat</re>
274+ </pattern>
275+ <pattern url="https://launchpad.net/bugs/541595">
276+ <re key="ProblemType">^Package</re>
277+ <re key="VarLogDistupgradeMainlog">apt version: '0.8.16~exp5ubuntu</re>
278+ <re key="VarLogDistupgradeApttermlog">pakken.*er allerede installeret og konfigureret</re>
279+ </pattern>
280+ <pattern url="https://launchpad.net/bugs/541595">
281+ <re key="ProblemType">^Package</re>
282+ <re key="VarLogDistupgradeMainlog">apt version: '0.8.16~exp5ubuntu</re>
283+ <re key="VarLogDistupgradeApttermlog">la pako.*jam estas instalita kaj akomodita</re>
284+ </pattern>
285+ <pattern url="https://launchpad.net/bugs/541595">
286+ <re key="ProblemType">^Package</re>
287+ <re key="VarLogDistupgradeMainlog">apt version: '0.8.16~exp5ubuntu</re>
288+ <re key="VarLogDistupgradeApttermlog">el paquete.*ya está instalado y configurado</re>
289+ </pattern>
290+ <pattern url="https://launchpad.net/bugs/541595">
291+ <re key="ProblemType">^Package</re>
292+ <re key="VarLogDistupgradeMainlog">apt version: '0.8.16~exp5ubuntu</re>
293+ <re key="VarLogDistupgradeApttermlog">le paquet.*est déjà installé et configuré</re>
294+ </pattern>
295+ <pattern url="https://launchpad.net/bugs/541595">
296+ <re key="ProblemType">^Package</re>
297+ <re key="VarLogDistupgradeMainlog">apt version: '0.8.16~exp5ubuntu</re>
298+ <re key="VarLogDistupgradeApttermlog">il pacchetto.*è già installato e configurato</re>
299+ </pattern>
300+ <pattern url="https://launchpad.net/bugs/541595">
301+ <re key="ProblemType">^Package</re>
302+ <re key="VarLogDistupgradeMainlog">apt version: '0.8.16~exp5ubuntu</re>
303+ <re key="VarLogDistupgradeApttermlog">pacote.*já está instalado e configurado</re>
304+ </pattern>
305+ <pattern url="https://launchpad.net/bugs/541595">
306+ <re key="ProblemType">^Package</re>
307+ <re key="VarLogDistupgradeMainlog">apt version: '0.8.16~exp5ubuntu</re>
308+ <re key="VarLogDistupgradeApttermlog">pakiet.*jest już zainstalowany i skonfigurowany</re>
309+ </pattern>
310+ <pattern url="https://launchpad.net/bugs/541595">
311+ <re key="ProblemType">^Package</re>
312+ <re key="VarLogDistupgradeMainlog">apt version: '0.8.16~exp5ubuntu</re>
313+ <re key="VarLogDistupgradeTermlog">package.*is already installed and configured</re>
314+ </pattern>
315+ <pattern url="https://launchpad.net/bugs/541595">
316+ <re key="ProblemType">^Package</re>
317+ <re key="VarLogDistupgradeMainlog">apt version: '0.8.16~exp5ubuntu</re>
318+ <re key="VarLogDistupgradeTermlog">Paket.*ist schon installiert und konfiguriert</re>
319+ </pattern>
320+ <pattern url="https://launchpad.net/bugs/541595">
321+ <re key="ProblemType">^Package</re>
322+ <re key="VarLogDistupgradeMainlog">apt version: '0.8.16~exp5ubuntu</re>
323+ <re key="VarLogDistupgradeTermlog">el paquet.*ja està instaŀlat i configurat</re>
324+ </pattern>
325+ <pattern url="https://launchpad.net/bugs/541595">
326+ <re key="ProblemType">^Package</re>
327+ <re key="VarLogDistupgradeMainlog">apt version: '0.8.16~exp5ubuntu</re>
328+ <re key="VarLogDistupgradeTermlog">pakken.*er allerede installeret og konfigureret</re>
329+ </pattern>
330+ <pattern url="https://launchpad.net/bugs/541595">
331+ <re key="ProblemType">^Package</re>
332+ <re key="VarLogDistupgradeMainlog">apt version: '0.8.16~exp5ubuntu</re>
333+ <re key="VarLogDistupgradeTermlog">la pako.*jam estas instalita kaj akomodita</re>
334+ </pattern>
335+ <pattern url="https://launchpad.net/bugs/541595">
336+ <re key="ProblemType">^Package</re>
337+ <re key="VarLogDistupgradeMainlog">apt version: '0.8.16~exp5ubuntu</re>
338+ <re key="VarLogDistupgradeTermlog">el paquete.*ya está instalado y configurado</re>
339+ </pattern>
340+ <pattern url="https://launchpad.net/bugs/541595">
341+ <re key="ProblemType">^Package</re>
342+ <re key="VarLogDistupgradeMainlog">apt version: '0.8.16~exp5ubuntu</re>
343+ <re key="VarLogDistupgradeTermlog">le paquet.*est déjà installé et configuré</re>
344+ </pattern>
345+ <pattern url="https://launchpad.net/bugs/541595">
346+ <re key="ProblemType">^Package</re>
347+ <re key="VarLogDistupgradeMainlog">apt version: '0.8.16~exp5ubuntu</re>
348+ <re key="VarLogDistupgradeTermlog">il pacchetto.*è già installato e configurato</re>
349+ </pattern>
350+ <pattern url="https://launchpad.net/bugs/541595">
351+ <re key="ProblemType">^Package</re>
352+ <re key="VarLogDistupgradeMainlog">apt version: '0.8.16~exp5ubuntu</re>
353+ <re key="VarLogDistupgradeTermlog">pacote.*já está instalado e configurado</re>
354+ </pattern>
355+ <pattern url="https://launchpad.net/bugs/541595">
356+ <re key="ProblemType">^Package</re>
357+ <re key="VarLogDistupgradeMainlog">apt version: '0.8.16~exp5ubuntu</re>
358+ <re key="VarLogDistupgradeTermlog">pakiet.*jest już zainstalowany i skonfigurowany</re>
359+ </pattern>
360+ <pattern url="http://launchpad.net/bugs/386763">
361+ <re key="ProblemType">^Package</re>
362+ <re key="DpkgTerminalLog">E: \/var\/lib\/defoma\/locked exists</re>
363+ </pattern>
364+ <pattern url="http://launchpad.net/bugs/386763">
365+ <re key="ProblemType">^Package</re>
366+ <re key="VarLogDistupgradeApttermlog">E: \/var\/lib\/defoma\/locked exists</re>
367+ </pattern>
368+ <pattern url="http://launchpad.net/bugs/984276">
369+ <re key="ProblemType">^Package</re>
370+ <re key="VarLogDistupgradeTermlog">E: /usr/share/initramfs-tools/hooks/casper failed with return 1.</re>
371+ <re key="VarLogDistupgradeTermlog">dpkg: error processing initramfs-tools \(--configure\):</re>
372+ </pattern>
373+ <pattern url="http://launchpad.net/bugs/989585">
374+ <re key="ProblemType">^Package</re>
375+ <re key="Package">resolvconf 1.63ubuntu11</re>
376+ <re key="DpkgTerminalLog">resolvconf.postinst: Error: Cannot replace the current /etc/resolv.conf with a symbolic link because it is immutable.</re>
377+ </pattern>
378+ <pattern url="http://launchpad.net/bugs/989585">
379+ <re key="ProblemType">^Package</re>
380+ <re key="SourcePackage">(ubuntu-meta|resolvconf)</re>
381+ <re key="VarLogDistupgradeApttermlog">resolvconf.postinst: Error: Cannot replace the current /etc/resolv.conf with a symbolic link because it is immutable.</re>
382+ </pattern>
383+ <pattern url="http://launchpad.net/bugs/993407">
384+ <re key="ProblemType">^Package</re>
385+ <re key="Package">install-info</re>
386+ <re key="SourcePackage">texinfo</re>
387+ <re key="VarLogDistupgradeApttermlog">(/etc/environment|default/locale)</re>
388+ </pattern>
389+ <pattern url="http://launchpad.net/bugs/993407">
390+ <re key="ProblemType">^Package</re>
391+ <re key="Package">install-info</re>
392+ <re key="SourcePackage">texinfo</re>
393+ <re key="DpkgTerminalLog">/etc/(environment|default/locale)</re>
394+ </pattern>
395+
396+ <pattern url="https://launchpad.net/bugs/929219">
397+ <re key="ProblemType">^Crash</re>
398+ <re key="Stacktrace">gethostbyname2_r ?()</re>
399+ <re key="Dependencies">libc6 2.15(~pre|-0ubuntu[1-6])</re>
400+ </pattern>
401+
402+ <pattern url="https://launchpad.net/bugs/805717">
403+ <re key="ProblemType">^Package</re>
404+ <re key="DpkgTerminalLog">Unhandled Exception: System.TypeLoadException: Could not load type</re>
405+ <re key="Dependencies">modified: usr/lib/mono/2.0/mscorlib.dll</re>
406+ </pattern>
407+
408+ <pattern url="https://launchpad.net/bugs/902603">
409+ <re key="ProblemType">^Package</re>
410+ <re key="Architecture">^amd64</re>
411+ <re key="VarLogDistupgradeApttermlog">Noting disappearance of (libjpeg8|libtag1c2a|odbcinst|libccid|libao-common)</re>
412+ <re key="VarLogDistupgradeApttermlog">Unpacking (libjpeg8|libtag1c2a|odbcinst|libccid|libao-common):i386</re>
413+ </pattern>
414+
415+ <pattern url="https://launchpad.net/bugs/523896">
416+ <re key="ProblemType">^Package</re>
417+ <re key="VarLogDistupgradeApttermlog">(user|group)add: cannot lock</re>
418+ </pattern>
419+ <pattern url="https://launchpad.net/bugs/523896">
420+ <re key="ProblemType">^Package</re>
421+ <re key="DpkgTerminalLog">(user|group)add: cannot lock</re>
422+ </pattern>
423+ <pattern url="https://launchpad.net/bugs/1705345">
424+ <re key="SourcePackage">^(grub2|plymouth)</re>
425+ <re key="ProblemType">^Package</re>
426+ <re key="DistroRelease">(17.10|16.04)</re>
427+ <re key="DpkgTerminalLog">Active:.*Result: timeout\)</re>
428+ <re key="DpkgTerminalLog">[0-9] plymouth --ping</re>
429+ </pattern>
430+ <pattern url="https://launchpad.net/bugs/523896">
431+ <re key="Package">^whoopsie </re>
432+ <re key="ProblemType">^Package</re>
433+ <re key="DpkgTerminalLog">(user|group)add.*\/etc\/(passwd|gshadow|group).*</re>
434+ </pattern>
435+ <pattern url="https://launchpad.net/bugs/523896">
436+ <re key="Package">^whoopsie </re>
437+ <re key="ProblemType">^Package</re>
438+ <re key="VarLogDistupgradeApttermlog">(user|group)add.*\/etc\/(passwd|gshadow|group).*</re>
439+ </pattern>
440+
441+<!-- acpid -->
442+
443+ <pattern url ="http://launchpad.net/bugs/368857">
444+ <re key="Package">^acpid </re>
445+ <re key="ProblemType">^Package</re>
446+ <re key="DpkgTerminalLog">initscript hal, action .*start" failed</re>
447+ </pattern>
448+ <pattern url ="http://launchpad.net/bugs/368857">
449+ <re key="Package">^acpid </re>
450+ <re key="ProblemType">^Package</re>
451+ <re key="VarLogDistupgradeApttermlog">initscript hal, action .*start" failed</re>
452+ </pattern>
453+
454+<!-- Converted from alacarte.xml -->
455+
456+ <pattern url="http://launchpad.net/bugs/205463">
457+ <re key="Package">^alacarte </re>
458+ <re key="Traceback">in copyItem</re>
459+ <re key="Traceback">IOError: \[Errno 2\] No such file or directory</re>
460+ </pattern>
461+
462+ <pattern url="http://launchpad.net/bugs/349350">
463+ <re key="Package">^alacarte </re>
464+ <re key="Traceback">in __addUndo</re>
465+ </pattern>
466+
467+ <pattern url="http://launchpad.net/bugs/187919">
468+ <re key="Package">^alacarte </re>
469+ <re key="Title">alacarte crashed with AttributeError in split()</re>
470+ <re key="Traceback">AttributeError: 'NoneType' object has no attribute 'rfind'</re>
471+ </pattern>
472+
473+ <pattern url="https://launchpad.net/bugs/826049">
474+ <re key="Package">^alacarte </re>
475+ <re key="Title">alacarte crashed with OSError in _execute_child()</re>
476+ <re key="Traceback">in _execute_child</re>
477+ <re key="Traceback">OSError: \[Errno 2\] No such file or directory</re>
478+ </pattern>
479+
480+ <pattern url="https://launchpad.net/bugs/355829">
481+ <re key="Package">^alacarte </re>
482+ <re key="Traceback">in on_edit_properties_activate</re>
483+ <re key="Traceback">IOError: \[Errno 2\] No such file or directory</re>
484+ </pattern>
485+
486+<!-- Converted from amavisd-new.xml -->
487+
488+ <pattern url="http://launchpad.net/bugs/801338">
489+ <re key="Package">^amavisd-new-postfix </re>
490+ <re key="SourcePackage">^amavisd-new</re>
491+ <re key="DpkgTerminalLog">Starting amavisd: .*/etc/mailname.*</re>
492+ </pattern>
493+
494+<!-- Patterns regarding apport -->
495+
496+ <pattern url="http://launchpad.net/bugs/849880">
497+ <re key="Package">^apport</re>
498+ <re key="Title">apport-gtk crashed with TypeError in ui_present_crash</re>
499+ <re key="Traceback">TypeError\: glib.markup_escape_text\(\) takes at most 1 argument \(2 given\)</re>
500+ </pattern>
501+
502+ <pattern url="http://launchpad.net/bugs/1024202">
503+ <re key="Package">^apport</re>
504+ <re key="Signal">6</re>
505+ <re key="Title">!xcb_xlib_threads_sequence_lost</re>
506+ </pattern>
507+
508+<!-- Patterns regarding apt-clone -->
509+
510+ <pattern url="http://launchpad.net/bugs/758013">
511+ <re key="Package">^apt-clone </re>
512+ <re key="Traceback">SystemError: E:Unable to correct problems, you have held broken packages.</re>
513+ <re key="Traceback">in _restore_package_selection_in_cache</re>
514+ </pattern>
515+
516+ <pattern url="http://launchpad.net/bugs/1152399">
517+ <re key="Package">^ubiquity </re>
518+ <re key="UbiquitySyslog">SystemError: E:Unable to correct problems, you have held broken packages.</re>
519+ <re key="UbiquitySyslog">in _restore_package_selection_in_cache</re>
520+ <re key="UbiquitySyslog">'apt-clone', 'restore-new-distro'</re>
521+ </pattern>
522+
523+<!-- Converted from apt-xapian-index.xml -->
524+
525+ <pattern url="http://launchpad.net/bugs/424857">
526+ <re key="Package">^apt-xapian-index </re>
527+ <re key="Traceback">E:The package lists or status file could not be parsed or opened.</re>
528+ <re key="Traceback">SystemError: E:read.*but none left</re>
529+ </pattern>
530+ <pattern url="http://launchpad.net/bugs/819907">
531+ <re key="Package">^apt-xapian-index 0.44ubuntu[1|2|3|4]</re>
532+ <re key="Title">update-apt-xapian-index crashed with StopIteration in uri()</re>
533+ <re key="Traceback">in uri</re>
534+ <re key="Traceback">StopIteration</re>
535+ </pattern>
536+ <pattern url="http://bit.ly/LeqiWq">
537+ <re key="Package">^apt-xapian-index</re>
538+ <re key="Traceback">indexer.py", line .*, in buildIndex</re>
539+ <re key="Traceback">DatabaseError</re>
540+ </pattern>
541+ <pattern url="http://bit.ly/Lihela">
542+ <re key="Package">^apt-xapian-index</re>
543+ <re key="Traceback">__init__.py", line .*, in __init__</re>
544+ <re key="Traceback">DatabaseLockError\: Unable to get write lock</re>
545+ </pattern>
546+
547+<!-- Converted from aptdaemon.xml -->
548+
549+<!-- The different keys TraceBack and Traceback are not typos but deliberate. aptdaemon used to call the attachment TraceBack.txt -->
550+
551+ <pattern url="https://launchpad.net/bugs/450662">
552+ <re key="Package">^aptdaemon </re>
553+ <re key="Traceback">call_blocking</re>
554+ <re key="Traceback">DBusException: org.freedesktop.DBus.Error.AccessDenied: Connection &quot;:....&quot; is not allowed to own the service &quot;org.debian.apt&quot; due to security policies in the configuration file</re>
555+ </pattern>
556+
557+<!-- Converted from at-spi.xml -->
558+
559+ <pattern url="http://launchpad.net/bugs/418743">
560+ <re key="Package">^at-spi </re>
561+ <re key="Stacktrace">#1 0x.*in _SmcProcessMessage</re>
562+ <re key="Stacktrace">#2 0x.*in IceProcessMessages</re>
563+ <re key="Stacktrace">#3 0x.*in process_ice_messages</re>
564+ <re key="Stacktrace">#8 0x.*in main</re>
565+ </pattern>
566+ <pattern url="http://launchpad.net/bugs/420053">
567+ <re key="Package">^at-spi </re>
568+ <re key="Stacktrace">#1 0x........ in IceProcessMessages</re>
569+ <re key="Stacktrace">#2 0x........ in process_ice_messages</re>
570+ <re key="Stacktrace">#8 0x........ in main.*at registry-main\.c</re>
571+ </pattern>
572+
573+<!-- blueman -->
574+ <pattern url="https://launchpad.net/bugs/437883">
575+ <re key="Package">^blueman </re>
576+ <re key="Traceback">connection.py", line .*, in call_blocking</re>
577+ <re key="Traceback">DBusException: org.freedesktop.DBus.Error.ServiceUnknown</re>
578+ </pattern>
579+
580+<!-- avahi -->
581+ <pattern url="https://launchpad.net/bugs/1760128">
582+ <re key="Package">^avahi-dnsconfd </re>
583+ <re key="DpkgTerminalLog">dpkg:.*(pre-removal script|script.*pre-removal).*1</re>
584+ <re key="DpkgTerminalLog">dpkg:.*avahi-dnsconfd_0\.6\.32~rc\+dfsg-1ubuntu2(\.1)?_.*\.deb \(--unpack\)</re>
585+ <re key="DpkgTerminalLog">.*(pre-removal script|script.*pre-removal).*1</re>
586+ </pattern>
587+
588+<!-- Converted from b43-fwcutter.xml -->
589+
590+ <pattern url="https://wiki.ubuntu.com/Bugs/InitramfsLiveMedia">
591+ <re key="SourcePackage">^b43-fwcutter</re>
592+ <re key="DpkgTerminalLog">cp: cannot stat `/vmlinuz': No such file or directory</re>
593+ <re key="LiveMediaBuild">Ubuntu</re>
594+ </pattern>
595+ <pattern url="https://launchpad.net/bugs/711397">
596+ <re key="SourcePackage">^b43-fwcutter</re>
597+ <re key="VarLogDistupgradeApttermlog">Not supported (card here|low-power chip)</re>
598+ </pattern>
599+ <pattern url="https://launchpad.net/bugs/711397">
600+ <re key="SourcePackage">^b43-fwcutter</re>
601+ <re key="DpkgTerminalLog">Not supported (card here|low-power chip)</re>
602+ </pattern>
603+
604+<!-- Converted from bcmwl.xml -->
605+
606+ <pattern url="https://wiki.ubuntu.com/Bugs/InitramfsLiveMedia">
607+ <re key="SourcePackage">^bcmwl</re>
608+ <re key="DpkgTerminalLog">cp: cannot stat `/vmlinuz': No such file or directory</re>
609+ <re key="LiveMediaBuild">Ubuntu</re>
610+ </pattern>
611+
612+<!-- Converted from blcr.xml -->
613+
614+ <pattern url="https://launchpad.net/bugs/555729">
615+ <re key="Package">^blcr-dkms</re>
616+ <re key="DKMSBuildLog">DKMS make.log for.* kernel 2.6.3[345]</re>
617+ <re key="DKMSBuildLog">configure: error: Could not find a directory containing a Linux kernel 2.6.3[345][^ ]* build</re>
618+ </pattern>
619+ <pattern url="https://launchpad.net/bugs/700036">
620+ <re key="Package">^blcr-dkms</re>
621+ <re key="DKMSBuildLog">vmadump_common.c:1092:38: error: .*struct signal_struct.* has no member named .*count.*</re>
622+ </pattern>
623+ <pattern url="https://launchpad.net/bugs/762996">
624+ <re key="Package">^blcr-dkms</re>
625+ <re key="DKMSBuildLog">configure: error: Failed to locate kernel symbol table.</re>
626+ </pattern>
627+ <pattern url="https://launchpad.net/bugs/804943">
628+ <re key="Package">^blcr-dkms</re>
629+ <re key="DKMSBuildLog">is neither a kernel version string nor a full path</re>
630+ </pattern>
631+
632+<!-- Converted from brother-cups-wrapper-common.xml -->
633+
634+ <pattern url="http://launchpad.net/bugs/423817">
635+ <re key="Package">^brother-cups-wrapper-common </re>
636+ <re key="Stacktrace">0x.* in \*__GI_abort</re>
637+ <re key="Stacktrace">0x.* in \*__GI___fortify_fail</re>
638+ <re key="Stacktrace">0x.* in divide_media_token ()</re>
639+ </pattern>
640+
641+<!-- Converted from compiz.xml -->
642+
643+ <pattern url="https://launchpad.net/bugs/810182">
644+ <re key="Package">^nux-tools </re>
645+ <re key="Title">unity_support_test crashed with SIGSEGV</re>
646+ <re key="UnitySupportTest">extension "GLX" missing</re>
647+ </pattern>
648+ <pattern url="https://launchpad.net/bugs/810182">
649+ <re key="Package">^nux-tools </re>
650+ <re key="Title">unity_support_test crashed with SIGSEGV</re>
651+ <re key="Stacktrace">get_opengl_version</re>
652+ </pattern>
653+
654+<!-- compizconfig-settings-manager -->
655+
656+ <pattern url="https://launchpad.net/bugs/198758">
657+ <re key="Package">^compizconfig-settings-manager </re>
658+ <re key="Traceback">Constants.py</re>
659+ <re key="Traceback">in .module.</re>
660+ <re key="Traceback">Error: unsupported locale setting</re>
661+ </pattern>
662+
663+ <pattern url="https://launchpad.net/bugs/832458">
664+ <re key="Package">^compizconfig-settings-manager 0.9.5.92-0ubuntu1</re>
665+ <re key="Title">ccsm crashed with KeyError in compizconfig.Plugin.ApplyStringExtensions</re>
666+ <re key="Traceback">in ParseSettings</re>
667+ <re key="Traceback">plugin.Update ()</re>
668+ </pattern>
669+
670+ <pattern url="https://launchpad.net/bugs/833348">
671+ <re key="Package">^compizconfig-settings-manager </re>
672+ <re key="Title">ccsm crashed with KeyError in compizconfig.Plugin.ApplyStringExtensions</re>
673+ <re key="Traceback">in enable_plugin</re>
674+ <re key="Traceback">plugin.Context.UpdateExtensiblePlugins \(\)</re>
675+ <re key="Traceback">KeyError</re>
676+ </pattern>
677+
678+ <pattern url="https://launchpad.net/bugs/833348">
679+ <re key="Package">^compizconfig-settings-manager </re>
680+ <re key="Title">ccsm crashed with KeyError in compizconfig.Plugin.ApplyStringExtensions \(src/compizconfig.c:6780\)\(\):</re>
681+ <re key="Traceback">File "/usr/lib/python2.7/dist-packages/ccm/Utils.py", line 328, in Update
682+ if self.Context.ProcessEvents\(\):</re>
683+ <re key="Traceback">File "compizconfig.pyx", line 1163, in compizconfig.Context.ProcessEvents \(src/compizconfig.c:9986\)</re>
684+ <re key="Traceback">File "compizconfig.pyx", line 1249, in compizconfig.Context.ChangedSettings.__get__ \(src/compizconfig.c:11104\)</re>
685+ <re key="Traceback">File "compizconfig.pyx", line 447, in compizconfig.SettingListToList \(src/compizconfig.c:2212\)</re>
686+ <re key="Traceback">File "compizconfig.pyx", line 927, in compizconfig.Plugin.Screen.__get__ \(src/compizconfig.c:7371\)</re>
687+ <re key="Traceback">File "compizconfig.pyx", line 783, in compizconfig.Plugin.Update \(src/compizconfig.c:5765\)</re>
688+ <re key="Traceback">File "compizconfig.pyx", line 870, in compizconfig.Plugin.ApplyStringExtensions \(src/compizconfig.c:6780\)</re>
689+ <re key="Traceback">KeyError:</re>
690+ </pattern>
691+
692+<!-- Converted from computer-janitor.xml -->
693+
694+ <pattern url="https://launchpad.net/bugs/721244">
695+ <re key="Package">^computer-janitor-gtk</re>
696+ <re key="Traceback">gtk\/ui.py</re>
697+ <re key="Traceback">in _toggled</re>
698+ <re key="Traceback">DBusException: org.freedesktop.DBus.Python.computerjanitord.errors.PermissionDeniedError: com.ubuntu.computerjanitor.updatesystem</re>
699+ </pattern>
700+
701+<!-- Converted from computertemp.xml -->
702+
703+ <pattern url="http://launchpad.net/bugs/318791">
704+ <re key="Package">^computertemp </re>
705+ <re key="Title">crashed with ValueError in parseloginfo</re>
706+ <re key="Traceback">loginfo.replace\('\{temp\}'</re>
707+ <re key="Traceback">ValueError: invalid literal for int\(\) with base 10: 'XX'</re>
708+ </pattern>
709+
710+<!-- Converted from cron.xml -->
711+
712+ <pattern url="https://launchpad.net/bugs/447080">
713+ <re key="Package">^cron </re>
714+ <re key="Stacktrace">pam_vsyslog</re>
715+ <re key="Stacktrace">_pam_load_module</re>
716+ <re key="Stacktrace">_pam_parse_conf_file</re>
717+ </pattern>
718+ <pattern url="https://launchpad.net/bugs/518161">
719+ <re key="Package">^cron </re>
720+ <re key="Stacktrace">pam_strerror</re>
721+ <re key="Stacktrace">pam_get_authtok_internal</re>
722+ <re key="Stacktrace">_pam_parse_conf_file</re>
723+ </pattern>
724+
725+<!-- deja-dup -->
726+
727+ <pattern url="https://launchpad.net/bugs/1751460">
728+ <re key="Package">^deja-dup 37.1-1fakesync1</re>
729+ <re key="StacktraceTop">__pthread_once_slow \(once_control</re>
730+ <re key="StacktraceTop">Gigacage::ensureGigacage\(\)</re>
731+ <re key="StacktraceTop">getSlowCase\(\)</re>
732+ </pattern>
733+
734+<!-- Converted from desktopcouch.xml -->
735+
736+ <pattern url="http://launchpad.net/bugs/465216">
737+ <re key="Package">^desktopcouch </re>
738+ <re key="Title">desktopcouch-service crashed with RuntimeError in find_port__linux</re>
739+ <re key="Traceback">RuntimeError: Unable to find listening port</re>
740+ </pattern>
741+ <pattern url="http://launchpad.net/bugs/451767">
742+ <re key="Package">^desktopcouch </re>
743+ <re key="Title">desktopcouch-service crashed with ServerError in _request</re>
744+ <re key="Traceback">ServerError: \(401</re>
745+ </pattern>
746+
747+<!-- dpkg -->
748+ <pattern url="https://launchpad.net/bugs/541595">
749+ <re key="ProblemType">^Package</re>
750+ <re key="SourcePackage">^dpkg</re>
751+ <re key="ErrorMessage">package .* is already installed and configured</re>
752+ <re key="OriginalTitle">package .* failed to install\/upgrade: .*package .* is already installed and configured</re>
753+ </pattern>
754+ <pattern url="https://launchpad.net/bugs/573696">
755+ <re key="ProblemType">^Crash</re>
756+ <re key="SourcePackage">^dpkg</re>
757+ <re key="AssertionMessage">dpkg: .* Assertion `r == stab.st_size' failed.</re>
758+ </pattern>
759+
760+
761+<!-- easycrypt -->
762+
763+ <pattern url="https://launchpad.net/bugs/212312">
764+ <re key="Package">^easycrypt </re>
765+ <re key="Traceback">EasyCrypt.py", line .*, in closeAllCrypts</re>
766+ <re key="Traceback">KeyError</re>
767+ </pattern>
768+
769+<!-- eglibc -->
770+
771+ <pattern url="https://launchpad.net/bugs/652876">
772+ <re key="Package">^nscd </re>
773+ <re key="DpkgTerminalLog">initscript nscd, action "start" failed</re>
774+ </pattern>
775+
776+<!-- empathy -->
777+ <pattern url="http://launchpad.net/bugs/829861">
778+ <re key="Package">^empathy</re>
779+ <re key="Stacktrace">_tp_base_client_handle_channels</re>
780+ <re key="Stacktrace">_tp_marshal_VOID__BOXED_BOXED_BOXED_BOXED_UINT64_BOXED_POINTER</re>
781+ <re key="Signal">11</re>
782+ </pattern>
783+
784+<!-- Converted from fglrx-installer.xml -->
785+
786+ <pattern url="https://launchpad.net/bugs/573748">
787+ <re key="Package">^fglrx-installer </re>
788+ <re key="DKMSBuildLog">DKMS make.log for.* kernel 2.6.3[345]</re>
789+ <re key="DKMSBuildLog">utsrelease.h: No such file or directory</re>
790+ </pattern>
791+ <pattern url="https://launchpad.net/bugs/1479913">
792+ <re key="Package">^fglrx-installer</re>
793+ <re key="DKMSBuildLog">GPL.*incompatible.*symbol.*pci_ignore_hotplug</re>
794+ </pattern>
795+ <pattern url="https://wiki.ubuntu.com/Bugs/InitramfsLiveMedia">
796+ <re key="SourcePackage">^fglrx-installer</re>
797+ <re key="DpkgTerminalLog">cp: cannot stat `/vmlinuz': No such file or directory</re>
798+ <re key="LiveMediaBuild">Ubuntu</re>
799+ </pattern>
800+
801+<!-- Patterns regarding flashplugin-nonfree -->
802+
803+ <!--<pattern url="http://launchpad.net/bugs/870643">
804+ <re key="Package">^flashplugin-downloader </re>
805+ <re key="VarLogDistupgradeApttermlog">unable to resolve host address..archive.canonical.com</re>
806+ <re key="VarLogDistupgradeApttermlog">download failed</re>
807+ </pattern>-->
808+ <pattern url="http://launchpad.net/bugs/873673">
809+ <re key="ProblemType">Package</re>
810+ <re key="Package">^flashplugin-downloader </re>
811+ <re key="VarLogDistupgradeApttermlog">download failed</re>
812+ <re key="VarLogDistupgradeApttermlog">The Flash plugin is NOT installed.</re>
813+ </pattern>
814+ <pattern url="http://launchpad.net/bugs/762968">
815+ <re key="Package">^flashplugin-installer 10.[23].*</re>
816+ <re key="DpkgTerminalLog">nspluginwrapper: no appropriate viewer found for \/usr\/lib\/flashplugin-installer\/libflashplayer.so</re>
817+ </pattern>
818+ <pattern url="http://launchpad.net/bugs/762968">
819+ <re key="Package">^flashplugin-installer 10.[23].*</re>
820+ <re key="VarLogDistupgradeTermlog">nspluginwrapper: no appropriate viewer found for \/usr\/lib\/flashplugin-installer\/libflashplayer.so</re>
821+ </pattern>
822+
823+<!-- Converted from foomatic-filters.xml -->
824+
825+ <pattern url="http://launchpad.net/bugs/440426">
826+ <re key="Package">^foomatic-filters </re>
827+ <re key="Stacktrace">#0.*_nl_intern_locale_data</re>
828+ <re key="Stacktrace">#1 0x.* in _nl_load_locale</re>
829+ <re key="Stacktrace">#2 0x.* in _nl_find_locale</re>
830+ </pattern>
831+
832+<!-- Converted from freevo.xml -->
833+ <pattern url="https://bugs.launchpad.net/bugs/758821">
834+ <re key="Package">^freevo </re>
835+ <re key="DpkgTerminalLog">No such file or directory. ./usr/lib/pymodules/python2.5/freevo/version.py.</re>
836+ </pattern>
837+
838+<!-- Converted from g15daemon.xml -->
839+
840+ <pattern url="https://launchpad.net/bugs/617101">
841+ <re key="Package">^g15daemon </re>
842+ <re key="DpkgTerminalLog">uinput not found</re>
843+ </pattern>
844+
845+<!-- gconf -->
846+
847+ <pattern url="https://launchpad.net/bugs/817460">
848+ <re key="Package">^gconf2 </re>
849+ <re key="Title">gsettings-data-convert crashed with signal 5 in g_settings_get_range()</re>
850+ <re key="Signal">5</re>
851+ <re key="StacktraceTop">g_settings_get_range</re>
852+ </pattern>
853+
854+<!-- gdm -->
855+
856+ <pattern url="https://launchpad.net/bugs/805154">
857+ <re key="Package">^gdm </re>
858+ <re key="StacktraceTop">_nss_compat_getpwnam_r</re>
859+ <re key="Signal">11</re>
860+ </pattern>
861+
862+<!-- Converted from glunarclock.xml -->
863+
864+ <pattern url="http://launchpad.net/bugs/459389">
865+ <re key="Package">^glunarclock </re>
866+ <re key="Title">glunarclock-applet-2 crashed with SIGSEGV in strcmp</re>
867+ <re key="Stacktrace">strcmp</re>
868+ <re key="Stacktrace">glunarclock_applet_factory</re>
869+ </pattern>
870+
871+<!-- Converted from gnome-alsamixer.xml -->
872+
873+ <pattern url="http://launchpad.net/bugs/448180">
874+ <re key="Package">^gnome-alsamixer </re>
875+ <re key="Stacktrace">#0 .*gam_mixer_show_props_dialog .*\s*at gam-mixer\.c:596</re>
876+ <re key="Stacktrace">#(26|32) 0x.* in main .* at gam-main\.c:56</re>
877+ </pattern>
878+
879+ <pattern url="http://launchpad.net/bugs/849415">
880+ <re key="Package">^gnome-alsamixer 0.9.7~cvs.20060916.ds.1-2ubuntu1</re>
881+ <re key="Title">gnome-alsamixer crashed with SIGSEGV in gtk_accel_group_connect_by_path()</re>
882+ <re key="StacktraceTop">gtk_accel_group_connect_by_path</re>
883+ <re key="StacktraceTop">gtk_action_connect_accelerator</re>
884+ </pattern>
885+
886+<!-- gnome-desktop -->
887+
888+ <pattern url="https://launchpad.net/bugs/861548">
889+ <re key="Package">^libgnome-desktop 3.2.0-0ubuntu4</re>
890+ <re key="Signal">6</re>
891+ <re key="Title">check_gl_texture_size assert failure</re>
892+ <re key="AssertionMessage">/usr/lib/gnome-desktop3/check_gl_texture_size: malloc()</re>
893+ </pattern>
894+
895+<!-- Converted from gnome-disk-utility.xml -->
896+
897+ <pattern url="https://launchpad.net/bugs/418300">
898+ <re key="Package">^gnome-disk-utility </re>
899+ <re key="StacktraceTop">gdu_pool_get_devices</re>
900+ </pattern>
901+
902+<!-- gnome-games -->
903+
904+ <pattern url="https://launchpad.net/bugs/857603">
905+ <re key="Package">^gnome-sudoku 1:3.2.0-0ubuntu1</re>
906+ <re key="Title">gnome-sudoku crashed with TypeError in function()</re>
907+ <re key="Traceback">TypeError: Expected a Gdk.Event, but got EventButton</re>
908+ </pattern>
909+
910+<!-- gnome-online-accounts -->
911+
912+ <pattern url="https://launchpad.net/bugs/843375">
913+ <re key="Package">^gnome-online-accounts </re>
914+ <re key="Signal">11</re>
915+ <re key="StacktraceTop">notification_cb</re>
916+ <re key="StacktraceTop">proxy_g_signal_cb</re>
917+ <re key="StacktraceTop">ffi_call_SYSV</re>
918+ </pattern>
919+
920+<!-- Converted from gnome-settings-daemon.xml -->
921+
922+ <pattern url="https://launchpad.net/bugs/839649">
923+ <re key="Package">^gnome-settings-daemon </re>
924+ <re key="Signal">11</re>
925+ <re key="Title">gnome-settings-daemon crashed with SIGSEGV in g_simple_async_result_new_error()</re>
926+ <re key="Stacktrace">on_bus_gotten</re>
927+ <re key="Stacktrace">g_simple_async_result_new_error</re>
928+ </pattern>
929+
930+ <pattern url="https://launchpad.net/bugs/785418">
931+ <re key="Package">^gnome-settings-daemon </re>
932+ <re key="Signal">11</re>
933+ <re key="Title">gnome-settings-daemon crashed with SIGSEGV in gtk_hpaned_get_type()</re>
934+ <re key="StacktraceTop">gtk_hpaned_get_type</re>
935+ <re key="StacktraceTop">gtk_hscale_new_with_range</re>
936+ </pattern>
937+
938+<!-- gnome-terminal -->
939+
940+ <pattern url="https://launchpad.net/bugs/810681">
941+ <re key="Package">^gnome-terminal </re>
942+ <re key="Title">gnome-terminal crashed with SIGABRT in raise()</re>
943+ <re key="Stacktrace">(app->default_profile_id != NULL)</re>
944+ <re key="Signal">6</re>
945+ </pattern>
946+
947+<!-- gm-notify -->
948+
949+ <pattern url="https://launchpad.net/bugs/831491">
950+ <re key="Package">^gm-notify </re>
951+ <re key="Title">gm-notify crashed with GError in labelClick()</re>
952+ <re key="Traceback">D-BUS error: Method "LookupExtended" with signature "ssb" on interface "org.gnome.GConf.Database" doesn't exist</re>
953+ </pattern>
954+
955+<!-- Converted from grub.xml -->
956+
957+ <pattern url="https://launchpad.net/bugs/537123">
958+ <re key="ProblemType">^Package</re>
959+ <re key="SourcePackage">^grub2</re>
960+ <re key="DpkgTerminalLog">/etc/grub.d/README: 2: All: not found</re>
961+ </pattern>
962+ <pattern url="https://launchpad.net/bugs/495123">
963+ <re key="ProblemType">^Package</re>
964+ <re key="SourcePackage">^grub2</re>
965+ <re key="DpkgTerminalLog">grub-probe: error: not a directory</re>
966+ </pattern>
967+
968+ <pattern url="http://launchpad.net/bugs/1639374">
969+ <re key="Package">^ubiquity 16.10.14</re>
970+ <re key="SourcePackage">grub-installer</re>
971+ <re key="UbiquitySyslog">Removing grub-pc \(2.02~beta2-36ubuntu11\)</re>
972+ <re key="UbiquitySyslog">dpkg: error processing package grub-pc \(--purge\)</re>
973+ <re key="UbiquitySyslog">subprocess installed pre-removal script returned error exit status 10</re>
974+ </pattern>
975+
976+<!-- gst-plugins-good0.10 -->
977+ <pattern url="http://launchpad.net/bugs/831897">
978+ <re key="ProblemType">^Package</re>
979+ <re key="Package">^gstreamer0.10-plugins-good</re>
980+ <re key="ErrorMessage">/usr/lib/gstreamer-0.10/libgstjpegformat.so</re>
981+ <re key="ErrorMessage">gstreamer0.10-plugins-bad</re>
982+ </pattern>
983+
984+<!-- gucharmap -->
985+ <pattern url="http://launchpad.net/bugs/854922">
986+ <re key="ProblemType">Package</re>
987+ <re key="Package">^libgucharmap7</re>
988+ <re key="ErrorMessage">trying to overwrite '/usr/lib/libgucharmap_2_90.so.7.0.0'</re>
989+ <re key="ErrorMessage">libgucharmap-2-90-7</re>
990+ </pattern>
991+
992+<!-- Converted from gvfs.xml -->
993+
994+ <pattern url="https://launchpad.net/bugs/436871">
995+ <re key="Package">^gvfs </re>
996+ <re key="Signal">11</re>
997+ <re key="Stacktrace">#0 gdu_pool_get_presentables.*at gdu-pool\.c</re>
998+ </pattern>
999+
1000+ <pattern url="https://launchpad.net/bugs/811049">
1001+ <re key="Package">^gvfs</re>
1002+ <re key="Signal">11</re>
1003+ <re key="Title">crashed with SIGSEGV in g_vfs_job_try()</re>
1004+ <re key="Stacktrace">g_vfs_job_try</re>
1005+ <re key="Stacktrace">g_vfs_daemon_queue_job</re>
1006+ </pattern>
1007+
1008+ <pattern url="https://launchpad.net/bugs/832533">
1009+ <re key="Package">^gvfs</re>
1010+ <re key="ExecutablePath">/usr/lib/gvfs/gvfs-fuse-daemon</re>
1011+ <re key="Signal">11</re>
1012+ <re key="Stacktrace">g_daemon_vfs_get_async_bus</re>
1013+ <re key="Stacktrace">g_daemon_volume_monitor_init</re>
1014+ <re key="Stacktrace">g_type_create_instance</re>
1015+ </pattern>
1016+
1017+ <pattern url="https://launchpad.net/bugs/839828">
1018+ <re key="Package">^gvfs</re>
1019+ <re key="Title">gvfsd-http crashed with SIGSEGV in g_settings_get_child()</re>
1020+ <re key="ExecutablePath">/usr/lib/gvfs/gvfsd-http</re>
1021+ <re key="Signal">11</re>
1022+ <re key="StacktraceTop">g_settings_get_child</re>
1023+ </pattern>
1024+
1025+<!-- Converted from gwibber.xml -->
1026+
1027+ <pattern url="https://bugs.launchpad.net/ubuntu/+source/gwibber/+bug/522538">
1028+ <re key="Package">^gwibber </re>
1029+ <re key="Traceback">File &quot;/usr/lib/pymodules/python2.6/httplib2/__init__.py&quot;, line 750, in connect</re>
1030+ <re key="Title">gwibber-service crashed with error in connect</re>
1031+ </pattern>
1032+ <pattern url="https://launchpad.net/bugs/849654">
1033+ <re key="Package">^gwibber</re>
1034+ <re key="Title">gwibber-service crashed with IOError in get_avatar_path</re>
1035+ <re key="Traceback">IOError\: \[Errno 36\] File name too long</re>
1036+ </pattern>
1037+
1038+ <pattern url="https://launchpad.net/bugs/741035">
1039+ <re key="Package">^gwibber-service</re>
1040+ <re key="Traceback">storage.py", line .*, in maintenance</re>
1041+ <re key="Traceback">OperationalError</re>
1042+ </pattern>
1043+
1044+<!-- Converted from initramfs-tools.xml -->
1045+
1046+ <pattern url="https://wiki.ubuntu.com/Bugs/InitramfsLiveMedia">
1047+ <re key="Package">^initramfs-tools </re>
1048+ <re key="DpkgTerminalLog">cp: cannot stat `/vmlinuz': No such file or directory</re>
1049+ <re key="LiveMediaBuild">Ubuntu</re>
1050+ </pattern>
1051+ <pattern url="https://launchpad.net/bugs/798414">
1052+ <re key="SourcePackage">^initramfs-tools</re>
1053+ <re key="DpkgTerminalLog">gzip: stdout: No space left on device</re>
1054+ </pattern>
1055+ <pattern url="https://launchpad.net/bugs/798414">
1056+ <re key="ProblemType">^Package</re>
1057+ <re key="SourcePackage">^initramfs-tools</re>
1058+ <re key="DpkgTerminalLog">(cpio|xz: \(stdout\)|zstd: error [0-9]+ ): [Ww]rite error ?:( cannot write block :)? No space left on device</re>
1059+ </pattern>
1060+ <!-- E: mkinitramfs failure cpio 141 lz4 -9 -l 24 -->
1061+ <pattern url="https://launchpad.net/bugs/798414">
1062+ <re key="ProblemType">^Package</re>
1063+ <re key="SourcePackage">^initramfs-tools</re>
1064+ <re key="DpkgTerminalLog">Error 24 : Write error : cannot write compressed block</re>
1065+ </pattern>
1066+
1067+<!-- Converted from iscsitarget.xml -->
1068+
1069+ <pattern url="https://bugs.launchpad.net/bugs/782076">
1070+ <re key="Package">^iscsitarget-dkms 1.4.20.2-1ubuntu1</re>
1071+ <re key="DKMSBuildLog">implicit declaration of function ‘copy_io_context’</re>
1072+ </pattern>
1073+
1074+<!-- Converted from jockey.xml -->
1075+
1076+ <pattern url="http://launchpad.net/bugs/413624">
1077+ <re key="Package">^jockey-gtk </re>
1078+ <re key="Traceback">backend.py</re>
1079+ <re key="Traceback">in convert_dbus_exceptions</re>
1080+ <re key="Traceback">BackendCrashError</re>
1081+ </pattern>
1082+ <pattern url="http://launchpad.net/bugs/275659">
1083+ <re key="Package">^jockey </re>
1084+ <re key="Traceback">org.freedesktop.DBus.Error.TimedOut: Activation of com.ubuntu.DeviceDriver timed out</re>
1085+ </pattern>
1086+
1087+ <pattern url="http://launchpad.net/bugs/841366">
1088+ <re key="Package">^jockey</re>
1089+ <re key="Title">jockey-backend crashed with TypeError in pulse_items()</re>
1090+ <re key="Traceback">TypeError: an integer is required</re>
1091+ </pattern>
1092+
1093+<!-- kaccounts-providers -->
1094+
1095+ <pattern url="https://launchpad.net/bugs/1622499">
1096+ <re key="Package">^kaccounts-providers </re>
1097+ <re key="DpkgTerminalLog">trying to overwrite '/etc/signon-ui/webkit-options.d/accounts.google.com.conf'.*account-plugin-google</re>
1098+ </pattern>
1099+
1100+<!-- Converted from libflickrnet2.1.5-cil.xml -->
1101+
1102+ <pattern url="https://launchpad.net/bugs/182130">
1103+ <re key="Package">^libflickrnet2.1.5-cil </re>
1104+ <re key="DpkgTerminalLog">Assembly.*policy.2.1.FlickrNet.dll does not exist</re>
1105+ </pattern>
1106+
1107+<!-- libreoffice -->
1108+ <pattern url="https://launchpad.net/bugs/832516">
1109+ <re key="Package">^libreoffice</re>
1110+ <re key="Signal">11</re>
1111+ <re key="StacktraceTop">xcb_writev</re>
1112+ <re key="StacktraceTop">splash_draw_progress</re>
1113+ </pattern>
1114+
1115+<!-- Converted from linux.xml -->
1116+
1117+ <pattern url="https://wiki.ubuntu.com/KernelTeam/DebuggingUpdateErrors">
1118+ <re key="Package">^linux </re>
1119+ <re key="DpkgTerminalLog">\n short read in buffer_copy</re>
1120+ </pattern>
1121+ <pattern url="https://wiki.ubuntu.com/KernelTeam/DebuggingUpdateErrors">
1122+ <re key="Package">^linux </re>
1123+ <re key="Tags">apport-package</re>
1124+ <re key="DpkgTerminalLog">\n foi lido um short em buffer_copy</re>
1125+ </pattern>
1126+ <pattern url="https://wiki.ubuntu.com/KernelTeam/DebuggingUpdateErrors">
1127+ <re key="Package">^linux </re>
1128+ <re key="Tags">apport-package</re>
1129+ <re key="DpkgTerminalLog">\n lecture courte (short read) dans « buffer_copy » </re>
1130+ </pattern>
1131+ <pattern url="https://wiki.ubuntu.com/KernelTeam/DebuggingUpdateErrors">
1132+ <re key="Package">^linux </re>
1133+ <re key="Tags">apport-package</re>
1134+ <re key="DpkgTerminalLog">\n lectura insuficiente en buffer_copy</re>
1135+ </pattern>
1136+ <pattern url="https://wiki.ubuntu.com/KernelTeam/DebuggingUpdateErrors">
1137+ <re key="Package">^linux </re>
1138+ <re key="Tags">apport-package</re>
1139+ <re key="DpkgTerminalLog">\n nicht vollständig gelesen in buffer_copy</re>
1140+ </pattern>
1141+ <pattern url="https://bugs.launchpad.net/bugs/386042">
1142+ <re key="Package">^linux </re>
1143+ <re key="DpkgTerminalLog">/usr/share/debconf/confmodule: line 42: printf: write error: Broken pipe</re>
1144+ </pattern>
1145+ <pattern url="https://bugs.launchpad.net/bugs/407420">
1146+ <re key="Package">^linux </re>
1147+ <re key="DpkgTerminalLog">Running depmod.\nFailed to run depmod</re>
1148+ </pattern>
1149+ <pattern url="https://bugs.launchpad.net/bugs/417222">
1150+ <re key="Package">^linux </re>
1151+ <re key="DpkgTerminalLog">/boot/grub/menu.lst: Operation not supported</re>
1152+ </pattern>
1153+ <pattern url="https://wiki.ubuntu.com/Bugs/InitramfsLiveMedia">
1154+ <re key="SourcePackage">^linux</re>
1155+ <re key="DpkgTerminalLog">cp: cannot stat `.*/vmlinuz': No such file or directory</re>
1156+ <re key="LiveMediaBuild">Ubuntu</re>
1157+ </pattern>
1158+ <pattern url="https://launchpad.net/bugs/322433">
1159+ <re key="SourcePackage">^linux</re>
1160+ <re key="DpkgTerminalLog">Purging configuration files</re>
1161+ <re key="DpkgTerminalLog">FATAL: Could not open</re>
1162+ </pattern>
1163+ <pattern url="https://launchpad.net/bugs/798414">
1164+ <re key="SourcePackage">^linux</re>
1165+ <re key="DpkgTerminalLog">gzip: stdout: No space left on device</re>
1166+ </pattern>
1167+
1168+<!-- Converted from mail-notification.xml -->
1169+
1170+ <pattern url="http://launchpad.net/bugs/351260">
1171+ <re key="Package">^mail-notification </re>
1172+ <re key="Stacktrace">#0 0x.* in mn_mail_icon_set_tip</re>
1173+ <re key="Stacktrace">#1 0x.* in mn_shell_update_tooltip</re>
1174+ </pattern>
1175+
1176+
1177+ <pattern url="https://launchpad.net/bugs/746912">
1178+ <re key="ProblemType">^Package</re>
1179+ <re key="Package">^man-db </re>
1180+ <re key="DpkgTerminalLog">debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process</re>
1181+ </pattern>
1182+ <pattern url="https://launchpad.net/bugs/746912">
1183+ <re key="ProblemType">^Package</re>
1184+ <re key="Package">^man-db </re>
1185+ <re key="VarLogDistupgradeApttermlog">debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process</re>
1186+ </pattern>
1187+
1188+<!-- Converted from msttcorefonts.xml -->
1189+
1190+ <pattern url="https://launchpad.net/bugs/694913">
1191+ <re key="SourcePackage">^msttcorefonts</re>
1192+ <re key="DpkgTerminalLog">Fatal IO error.*X.*server</re>
1193+ </pattern>
1194+ <pattern url="https://launchpad.net/bugs/710046">
1195+ <re key="SourcePackage">^msttcorefonts</re>
1196+ <re key="DpkgTerminalLog">Another defoma process seems running</re>
1197+ </pattern>
1198+ <pattern url="https://launchpad.net/bugs/710046">
1199+ <re key="SourcePackage">^msttcorefonts</re>
1200+ <re key="VarLogDistupgradeApttermlog">Another defoma process seems running</re>
1201+ </pattern>
1202+ <pattern url="https://launchpad.net/bugs/633570">
1203+ <re key="SourcePackage">^msttcorefonts</re>
1204+ <re key="DpkgTerminalLog">wget: unable to resolve host address</re>
1205+ </pattern>
1206+ <pattern url="https://launchpad.net/bugs/633570">
1207+ <re key="SourcePackage">^msttcorefonts</re>
1208+ <re key="VarLogDistupgradeTermlog">wget: unable to resolve host address</re>
1209+ </pattern>
1210+ <pattern url="https://launchpad.net/bugs/921889">
1211+ <re key="SourcePackage">^msttcorefonts</re>
1212+ <re key="Title">package ttf-mscorefonts-installer .* failed to install/upgrade.*128</re>
1213+ <re key="DpkgTerminalLog">Use of uninitialized value \$_\[1\] in join or string at \/usr\/share\/perl5\/Debconf\/DbDriver\/Stack.pm</re>
1214+ <re key="DpkgTerminalLog">user did not accept the mscorefonts-eula license</re>
1215+ </pattern>
1216+
1217+<!-- Converted from nautilus.xml -->
1218+
1219+ <pattern url="https://launchpad.net/bugs/362342">
1220+ <re key="Package">^nautilus </re>
1221+ <re key="Stacktrace">#0 .*g_list_remove.*\n.*glist\.c:338</re>
1222+ <re key="Title">nautilus crashed with SIGSEGV in g_list_remove()</re>
1223+ </pattern>
1224+
1225+<!-- nautilus-open-terminal -->
1226+
1227+ <pattern url="https://launchpad.net/bugs/865115">
1228+ <re key="Package">^nautilus-open-terminal </re>
1229+ <re key="Title">nautilus crashed with SIGSEGV in gconf_client_get()</re>
1230+ <re key="Signal">11</re>
1231+ <re key="StacktraceTop">gconf_client_get</re>
1232+ <re key="StacktraceTop">gconf_client_get_bool</re>
1233+ </pattern>
1234+
1235+<!-- nautilus-script-manager -->
1236+
1237+ <pattern url="https://launchpad.net/bugs/617095">
1238+ <re key="Package">^nautilus-scripts-manager </re>
1239+ <re key="Traceback">nautilus-scripts-manager", line .*, in retrieve_default_path</re>
1240+ <re key="Traceback">IOError: \[Errno 21\]</re>
1241+ </pattern>
1242+
1243+<!-- nautilus-dropbox -->
1244+
1245+ <pattern url="https://launchpad.net/bugs/937546">
1246+ <re key="ProblemType">Package</re>
1247+ <re key="Package">^nautilus-dropbox </re>
1248+ <re key="DpkgHistoryLog">Upgrade: nautilus-dropbox.*0.7.1</re>
1249+ <re key="DpkgHistoryLog">dpkg returned an error code</re>
1250+ </pattern>
1251+
1252+<!-- Converted from nspluginwrapper.xml -->
1253+
1254+ <pattern url="http://launchpad.net/bugs/798459">
1255+ <re key="Package">^nspluginwrapper</re>
1256+ <re key="ProblemType">Package</re>
1257+ <re key="DpkgTerminalLog">nspluginwrapper: double free or corruption \(out\)</re>
1258+ </pattern>
1259+
1260+<!-- Converted from ntfs-config.xml -->
1261+
1262+ <pattern url="http://launchpad.net/bugs/529403">
1263+ <re key="Package">^ntfs-config </re>
1264+ <re key="Title">ntfs-config crashed with AttributeError in add_section</re>
1265+ <re key="Traceback">in on_close_clicked</re>
1266+ </pattern>
1267+ <pattern url="http://launchpad.net/bugs/516826">
1268+ <re key="Package">^ntfs-config </re>
1269+ <re key="Title">ntfs-config crashed with AttributeError in add_section</re>
1270+ <re key="Traceback">in on_ok_clicked</re>
1271+ </pattern>
1272+ <pattern url="http://launchpad.net/bugs/507831">
1273+ <re key="Package">^ntfs-config </re>
1274+ <re key="Title">ntfs-config crashed with AttributeError in add_section</re>
1275+ <re key="Traceback">in on_auto_clicked</re>
1276+ </pattern>
1277+ <pattern url="http://launchpad.net/bugs/629246">
1278+ <re key="Package">^ntfs-config </re>
1279+ <re key="Traceback">NtfsConfig.py</re>
1280+ <re key="Traceback">os.mkdir\(HAL_CONFIG_DIR\)</re>
1281+ <re key="Traceback">OSError ?: \[Errno 2\] .* ?: '/etc/hal/fdi/policy'</re>
1282+ </pattern>
1283+
1284+<!-- Converted from nvidia-graphics-drivers-173.xml -->
1285+
1286+ <pattern url="https://wiki.ubuntu.com/Bugs/InitramfsLiveMedia">
1287+ <re key="Package">^nvidia-graphics-drivers-173 </re>
1288+ <re key="DpkgTerminalLog">cp: cannot stat `/vmlinuz': No such file or directory</re>
1289+ <re key="LiveMediaBuild">Ubuntu</re>
1290+ </pattern>
1291+
1292+<!-- Converted from nvidia-graphics-drivers.xml -->
1293+
1294+ <pattern url="https://wiki.ubuntu.com/Bugs/InitramfsLiveMedia">
1295+ <re key="Package">^nvidia-graphics-drivers </re>
1296+ <re key="DpkgTerminalLog">cp: cannot stat `/vmlinuz': No such file or directory</re>
1297+ <re key="LiveMediaBuild">Ubuntu</re>
1298+ </pattern>
1299+
1300+ <pattern url="https://wiki.ubuntu.com/Bugs/InitramfsLiveMedia">
1301+ <re key="Package">^nvidia-current </re>
1302+ <re key="DpkgTerminalLog">cp: cannot stat `/vmlinuz': No such file or directory</re>
1303+ <re key="LiveMediaBuild">Ubuntu</re>
1304+ </pattern>
1305+
1306+ <pattern url="https://launchpad.net/bugs/1268257">
1307+ <re key="Package">^nvidia-</re>
1308+ <re key="DKMSBuildLog">mv: .*build/.tmp_nv.o</re>
1309+ </pattern>
1310+
1311+<!-- nvidia-common -->
1312+
1313+ <pattern url="https://launchpad.net/bugs/825350">
1314+ <re key="Package">^nvidia-common </re>
1315+ <re key="Title">nvidia-detector crashed with ValueError in __get_value_from_name()</re>
1316+ <re key="Traceback">ValueError: invalid literal for int\(\) with base 10: \'173-updates\'</re>
1317+ </pattern>
1318+
1319+<!-- oneconf -->
1320+ <pattern url="https://launchpad.net/bugs/839286">
1321+ <re key="Package">^oneconf</re>
1322+ <re key="Title">oneconf-query crashed with DBusException in call_blocking()</re>
1323+ <re key="Traceback">DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name :1.\d+ was not provided by any .service files</re>
1324+ </pattern>
1325+
1326+ <pattern url="https://launchpad.net/bugs/851997">
1327+ <re key="Package">^oneconf</re>
1328+ <re key="Title">oneconf-service crashed with TypeError in _sso_login_result\(\): 'NoneType' object is not subscriptable</re>
1329+ <re key="Traceback">authorizer = OAuthAuthorizer\(token_key=credential\['token'\],</re>
1330+ </pattern>
1331+
1332+<!-- openjdk-9 -->
1333+
1334+ <pattern url="https://launchpad.net/bugs/1550950">
1335+ <re key="Package">^openjdk-9-jdk</re>
1336+ <re key="DpkgTerminalLog">openjdk-9-(jdk|jdk-headless):.* \(9~(b107-0ubuntu1|b112-2|b114-0ubuntu1)\)</re>
1337+ <re key="DpkgTerminalLog">include\/linux\/jawt_md.h.*openjdk-9-jdk-headless</re>
1338+ </pattern>
1339+
1340+<!-- Converted from openswan.xml -->
1341+ <pattern url="https://launchpad.net/bugs/739001">
1342+ <re key="Package">^openswan-modules-dkms </re>
1343+ <re key="DKMSBuildLog">fatal error\: linux\/config.h\: No such file or directory</re>
1344+ </pattern>
1345+
1346+<!-- Converted from pitivi.xml -->
1347+
1348+ <pattern url="http://launchpad.net/bugs/537619">
1349+ <re key="Package">^pitivi </re>
1350+ <re key="Title">pitivi crashed with TypeError in do_simple_paint()</re>
1351+ <re key="Traceback">TypeError: Required argument 'cr' \(pos 1\) not found</re>
1352+ </pattern>
1353+
1354+<!-- Converted from plymouth.xml -->
1355+
1356+ <pattern url="https://launchpad.net/bugs/743730">
1357+ <re key="Package">^plymouth </re>
1358+ <re key="DistroRelease">(11.10|11.04|10.10|10.04)</re>
1359+ <re key="Stacktrace">ply_list_get_first_node</re>
1360+ <re key="Stacktrace">ply_event_loop_run</re>
1361+ </pattern>
1362+
1363+<!-- Converted from policykit-1-gnome.xml -->
1364+
1365+ <pattern url="https://launchpad.net/bugs/697095">
1366+ <re key="Package">^policykit-1-gnome </re>
1367+ <re key="StacktraceTop">g_datalist_id_set_data_full</re>
1368+ </pattern>
1369+ <pattern url="http://launchpad.net/bugs/509651">
1370+ <re key="Package">policykit-1</re>
1371+ <re key="StacktraceTop">dbus_message_iter_append_basic</re>
1372+ </pattern>
1373+
1374+<!-- Converted from postgresql-8.4.xml -->
1375+
1376+ <pattern url="https://launchpad.net/bugs/264336">
1377+ <re key="Package">^postgresql-8.4 </re>
1378+ <re key="DpkgTerminalLog">The PostgreSQL server failed to start. Please check the log output</re>
1379+ <re key="DpkgTerminalLog">FATAL:</re>
1380+ <re key="DpkgTerminalLog">shmget\(key=.*\)\.</re>
1381+ <re key="Tags">apport-package</re>
1382+ </pattern>
1383+
1384+<!-- Converted from qemulator.xml -->
1385+
1386+ <pattern url="http://launchpad.net/bugs/321955">
1387+ <re key="Package">^qemulator </re>
1388+ <re key="Traceback">IndexError: could not find tree path</re>
1389+ <re key="Traceback">in on_comboboxCDromdrive_changed</re>
1390+ </pattern>
1391+
1392+<!-- Converted from rhythmbox-ubuntuone-music-store.xml -->
1393+
1394+ <pattern url="http://launchpad.net/bugs/602420">
1395+ <re key="Package">^rhythmbox </re>
1396+ <re key="StacktraceTop">g_value_set_object</re>
1397+ <re key="StacktraceTop">gst_play_bin_get_property</re>
1398+ <re key="StacktraceTop">g_object_get_valist</re>
1399+ </pattern>
1400+
1401+<!-- Applies to runit -->
1402+
1403+ <pattern url="https://launchpad.net/bugs/1448164">
1404+ <re key="Package">^(runit |bcron-run |vblade-persist |twoftpd-run |socklog-run |runit-upstart |getty-run |runit-systemd |runit-init |qmail-run |mongrel2-run |git-daemon-run |cereal |dnscache-run )</re>
1405+ <re key="DpkgTerminalLog">runit \(2.1.2-3ubuntu1\)</re>
1406+ <re key="DpkgTerminalLog">start:.*Upstart: Failed to connect to socket \/com\/ubuntu\/upstart:.*</re>
1407+ </pattern>
1408+
1409+<!-- Applies to samba -->
1410+
1411+ <pattern url="https://launchpad.net/bugs/877852">
1412+ <re key="Package">^samba</re>
1413+ <re key="VarLogDistupgradeTermlog">Can't locate File\/Temp.pm in @INC</re>
1414+ <re key="VarLogDistupgradeTermlog">Compilation failed in require at \/usr\/sbin\/update-inetd</re>
1415+ </pattern>
1416+ <pattern url="https://launchpad.net/bugs/1634119">
1417+ <re key="SourcePackage">^samba</re>
1418+ <re key="DpkgTerminalLog">Job for (smbd|nmbd|winbind)\.service failed because the control process exited with error code</re>
1419+ <re key="SMBConf">\n\s*security\s*=\s*share\s*\n</re>
1420+ </pattern>
1421+
1422+<!-- Applies to samba4 -->
1423+
1424+ <pattern url="http://launchpad.net/bugs/728840">
1425+ <re key="Package">^samba4 </re>
1426+ <re key="Package">4.0.0~alpha15~git20110124.dfsg1-2ubuntu1$</re>
1427+ <re key="Traceback">LdbError: \(80, 'Failed to load modules from: \/usr\/lib\/samba\/ldb</re>
1428+ </pattern>
1429+ <pattern url="http://launchpad.net/bugs/728840">
1430+ <re key="Package">^samba4 </re>
1431+ <re key="Package">4.0.0~alpha15~git20110124.dfsg1-2ubuntu1$</re>
1432+ <re key="DpkgTerminalLog">LdbError: \(80, 'Failed to load modules from: \/usr\/lib\/samba\/ldb</re>
1433+ </pattern>
1434+ <pattern url="http://launchpad.net/bugs/728840">
1435+ <re key="Package">^samba4 </re>
1436+ <re key="Package">4.0.0~alpha15~git20110124.dfsg1-2ubuntu1$</re>
1437+ <re key="VarLogDistupgradeTermlog">LdbError: \(80, 'Failed to load modules from: \/usr\/lib\/samba\/ldb</re>
1438+ </pattern>
1439+ <pattern url="http://launchpad.net/bugs/728840">
1440+ <re key="Package">^samba4 </re>
1441+ <re key="Package">4.0.0~alpha15~git20110124.dfsg1-2ubuntu1$</re>
1442+ <re key="VarLogDistupgradeTermlog">unable to stat module /usr/lib/samba/ldb/modules/samba</re>
1443+ </pattern>
1444+ <pattern url="http://launchpad.net/bugs/728840">
1445+ <re key="Package">^samba4 </re>
1446+ <re key="Package">4.0.0~alpha15~git20110124.dfsg1-2ubuntu1$</re>
1447+ <re key="VarLogDistupgradeApttermlog">unable to stat module /usr/lib/samba/ldb/modules/samba</re>
1448+ </pattern>
1449+ <pattern url="http://launchpad.net/bugs/728840">
1450+ <re key="Package">^samba4 </re>
1451+ <re key="Package">4.0.0~alpha15~git20110124.dfsg1-2ubuntu1$</re>
1452+ <re key="DpkgTerminalLog">unable to stat module /usr/lib/samba/ldb/modules/samba</re>
1453+ </pattern>
1454+
1455+ <pattern url="http://launchpad.net/bugs/849545">
1456+ <re key="Package">^samba4 </re>
1457+ <re key="Package">4.0.0~alpha17~git20110807.dfsg1-1ubuntu1</re>
1458+ <re key="Title">upgradeprovision crashed with LdbError in connect()</re>
1459+ <re key="Traceback">LdbError\: \(80\, \'dsdb_module_search_dn\: did not find base dn \@ROOTDSE \(0 results\)\'\)</re>
1460+ </pattern>
1461+
1462+<!-- indiv-screenlets -->
1463+
1464+ <pattern url="http://launchpad.net/bugs/807129">
1465+ <re key="SourcePackage">^indiv-screenlets</re>
1466+ <re key="Tags">apport-crash</re>
1467+ <re key="Traceback">gtk-close</re>
1468+ <re key="Traceback">GError</re>
1469+ <re key="Traceback">File "/usr/lib/pymodules/python2.7/screenlets/__init__.py", line [0-9]+, in load_buttons
1470+ self\.closeb = self\.gtk_icon_theme\.load_icon \("gtk-close", 16, 0\)</re>
1471+ </pattern>
1472+
1473+<!-- Applies to software-center -->
1474+
1475+ <pattern url="https://launchpad.net/bugs/717645">
1476+ <re key="Package">^software-center </re>
1477+ <re key="Traceback">ValueError\("Need either appname or pkgname or request"\)</re>
1478+ <re key="Traceback">application.py</re>
1479+ </pattern>
1480+
1481+ <pattern url="https://launchpad.net/bugs/823428">
1482+ <re key="Package">^software-center </re>
1483+ <re key="Traceback">TypeError: character mapping must return integer, None or unicode</re>
1484+ <re key="Title">software-center crashed with TypeError in normalize()</re>
1485+ </pattern>
1486+
1487+ <pattern url="https://launchpad.net/bugs/834038">
1488+ <re key="Package">^software-center </re>
1489+ <re key="Title">software-center-gtk3 crashed with DBusException in _convert_dbus_exception()</re>
1490+ <re key="Traceback">DBusException: org.freedesktop.DBus.Error.UnknownMethod: Method "GetAll" with signature "s" on interface "org.freedesktop.DBus.Properties" doesn't exist</re>
1491+ </pattern>
1492+
1493+ <pattern url="https://launchpad.net/bugs/834494">
1494+ <re key="Package">^software-center </re>
1495+ <re key="Title">software-center-gtk3 crashed with UnicodeEncodeError in get_dbus_message()</re>
1496+ <re key="Traceback">UnicodeEncodeError: 'ascii' codec can't encode character</re>
1497+ </pattern>
1498+
1499+ <pattern url="https://launchpad.net/bugs/827527">
1500+ <re key="Package">^software-center </re>
1501+ <re key="Title">software-center crashed with TypeError in run()</re>
1502+ <re key="Traceback">TypeError: gi._glib.spawn_async: first argument must be a sequence of strings</re>
1503+ </pattern>
1504+
1505+ <pattern url="https://launchpad.net/bugs/854113">
1506+ <re key="Package">^software-center </re>
1507+ <re key="Title">software-center crashed with IndexError in __getitem__()</re>
1508+ <re key="Traceback">IndexError: could not find tree path \'\d+\'</re>
1509+ </pattern>
1510+
1511+<!-- Applies to software-properties -->
1512+
1513+ <pattern url="https://launchpad.net/bugs/831652">
1514+ <re key="Package">^software-properties</re>
1515+ <re key="Title">software-properties-gtk crashed with UnicodeEncodeError in ToggleSourceUse()</re>
1516+ <re key="Traceback">UnicodeEncodeError: 'ascii' codec can't encode character</re>
1517+ </pattern>
1518+
1519+ <pattern url="https://launchpad.net/bugs/828850">
1520+ <re key="Package">^software-properties</re>
1521+ <re key="Title">software-properties-gtk crashed with DBusException in call_blocking\(\)</re>
1522+ <re key="Traceback">DBusException: com\..*\.SoftwareProperties\.PermissionDeniedByPolicy: com\..*\.softwareproperties\.applychanges</re>
1523+ </pattern>
1524+
1525+<!-- Patterns for speakup.xml -->
1526+
1527+ <pattern url="https://launchpad.net/bugs/726144">
1528+ <re key="Package">^speakup 3.1.5.dfsg.1-1ubuntu1</re>
1529+ <re key="DKMSBuildLog">buffers.c:33:46: error: .*struct vc_data.* has no member named .*vc_tty.*</re>
1530+ </pattern>
1531+
1532+<!-- Converted from splashy.xml -->
1533+
1534+ <pattern url="https://launchpad.net/bugs/328089">
1535+ <re key="Package">^splashy </re>
1536+ <re key="Title">failed to install/upgrade:.*/etc/lsb-base-logging.sh.*lsb-base</re>
1537+ </pattern>
1538+
1539+<!-- Converted from sun-java6-bin.xml -->
1540+
1541+ <pattern url="https://launchpad.net/bugs/303609">
1542+ <re key="Package">^sun-java6-bin </re>
1543+ <re key="DpkgTerminalLog">user did not accept the sun-dlj-v1-1 license</re>
1544+ </pattern>
1545+ <pattern url="https://launchpad.net/bugs/522383">
1546+ <re key="Package">^sun-java6-bin </re>
1547+ <re key="DpkgTerminalLog">debconf: \(Cannot connect to /tmp/aptdaemon-[0-9a-zA-Z]{6}/debconf.socket</re>
1548+ </pattern>
1549+
1550+<!-- Converted from sun-java6-doc.xml -->
1551+
1552+ <pattern url="https://launchpad.net/bugs/85969">
1553+ <re key="Package">^sun-java6-doc </re>
1554+ <re key="DpkgTerminalLog">Abort installation of JDK documentation</re>
1555+ </pattern>
1556+
1557+<!-- Converted from sun-java6-jre.xml -->
1558+
1559+ <pattern url="https://launchpad.net/bugs/303609">
1560+ <re key="Package">^sun-java6-jre </re>
1561+ <re key="DpkgTerminalLog">user did not accept the sun-dlj-v1-1 license</re>
1562+ </pattern>
1563+ <pattern url="https://launchpad.net/bugs/522383">
1564+ <re key="Package">^sun-java6-jre </re>
1565+ <re key="DpkgTerminalLog">debconf: \(Cannot connect to /tmp/aptdaemon-[0-9a-zA-Z]{6}/debconf.socket</re>
1566+ </pattern>
1567+
1568+<!-- Converted from system-config-samba.xml -->
1569+
1570+ <pattern url="https://launchpad.net/bugs/749748">
1571+ <re key="Package">^system-config-samba </re>
1572+ <re key="Traceback">in .module.</re>
1573+ <re key="Traceback">ImportError: No module named glade</re>
1574+ </pattern>
1575+
1576+<!-- Converted from telepathy-butterfly.xml -->
1577+
1578+ <pattern url="http://launchpad.net/bugs/464902">
1579+ <re key="Package">^telepathy-butterfly </re>
1580+ <re key="Traceback">NotImplementedError</re>
1581+ <re key="Traceback">switchboard_manager.py.*__on_user_invitation_failed</re>
1582+ </pattern>
1583+ <pattern url="http://launchpad.net/bugs/450951">
1584+ <re key="Package">^telepathy-butterfly </re>
1585+ <re key="Title">telepathy-butterfly crashed with KeyError in __getitem__\(\)</re>
1586+ <re key="Traceback">session = self\._sessions\[session_id\]</re>
1587+ <re key="Traceback">KeyError: \d+</re>
1588+ </pattern>
1589+ <pattern url="http://launchpad.net/bugs/628748">
1590+ <re key="Package">^telepathy-butterfly </re>
1591+ <re key="Title">telepathy\-butterfly crashed with KeyError in parse\(\)</re>
1592+ <re key="Traceback">KeyError: 'Location'</re>
1593+ </pattern>
1594+ <pattern url="http://launchpad.net/bugs/649487">
1595+ <re key="Package">^telepathy-butterfly </re>
1596+ <re key="Traceback">text.py", line .*, in _signal_text_received</re>
1597+ <re key="Traceback">UnicodeDecodeError</re>
1598+ </pattern>
1599+ <pattern url="http://launchpad.net/bugs/707508">
1600+ <re key="Package">^telepathy-butterfly </re>
1601+ <re key="Traceback">service.py", line .*, in add_to_connection</re>
1602+ <re key="Traceback">KeyError: "Can't register the object-path handler for '\/org\/freedesktop\/Telepathy\/Connection\/butterfly\/msn\/.*\/RosterChannel\/List\/subscribe': there is already a handler"</re>
1603+ </pattern>
1604+
1605+ <pattern url="http://launchpad.net/bugs/726301">
1606+ <re key="Package">^telepathy-mission-control-5</re>
1607+ <re key="Signal">11</re>
1608+ <re key="Stacktrace">g_str_hash</re>
1609+ <re key="Stacktrace">mcd_dispatcher_client_needs_recovery_cb</re>
1610+ </pattern>
1611+
1612+<!-- Converted from ubiquity.xml -->
1613+ <!--<pattern url="MediaError">
1614+ <re key="Package">^ubiquity </re>
1615+ <re key="UbiquitySyslog">loop1.*Read failure</re>
1616+ <re key="UbiquitySyslog">attempt to access beyond end of device</re>
1617+ </pattern>-->
1618+ <pattern url="http://launchpad.net/bugs/894768">
1619+ <re key="Package">^ubiquity 2.8.7</re>
1620+ <re key="UbiquitySyslog">ubuntu install.py: IOError: \[Errno 22\] Invalid argument</re>
1621+ <re key="UbiquitySyslog">install_misc.py", line 62(7|1), in copy_file</re>
1622+ <re key="UbiquitySyslog">targetfh.(close|write)</re>
1623+ </pattern>
1624+ <pattern url="http://launchpad.net/bugs/850264">
1625+ <re key="Package">^ubiquity 2.8.7</re>
1626+ <re key="Architecture">amd64</re>
1627+ <!-- this only matches english -->
1628+ <re key="UbiquitySyslog">ubiquity: dpkg: error processing libc6 \(--configure\):</re>
1629+ </pattern>
1630+ <!--<pattern url="http://launchpad.net/bugs/870643">
1631+ <re key="Package">^ubiquity </re>
1632+ <re key="UbiquitySyslog">unable to resolve host address..archive.canonical.com</re>
1633+ <re key="UbiquitySyslog">ubiquity: download failed</re>
1634+ <re key="UbiquitySyslog">The Flash plugin is NOT installed.</re>
1635+ </pattern>-->
1636+ <pattern url="http://launchpad.net/bugs/876298">
1637+ <re key="Package">^ubiquity 2.8.7</re>
1638+ <re key="UbiquitySyslog">ubiquity: download failed</re>
1639+ <re key="UbiquitySyslog">The Flash plugin is NOT installed.</re>
1640+ </pattern>
1641+ <pattern url="http://launchpad.net/bugs/876298">
1642+ <re key="SourcePackage">^flashplugin-nonfree</re>
1643+ <re key="DistroRelease">(11.10|11.04|10.10)</re>
1644+ <re key="VarLogDistupgradeApttermlog">download failed</re>
1645+ <re key="VarLogDistupgradeApttermlog">The Flash plugin is NOT installed.</re>
1646+ </pattern>
1647+ <pattern url="http://launchpad.net/bugs/876298">
1648+ <re key="SourcePackage">^flashplugin-nonfree</re>
1649+ <re key="DistroRelease">12.04</re>
1650+ <re key="Package">(11.1.102.[56][235]|11.2.202.228ubuntu1|^flashplugin-installer$)</re>
1651+ <re key="VarLogDistupgradeApttermlog">download failed</re>
1652+ <re key="VarLogDistupgradeApttermlog">The Flash plugin is NOT installed.</re>
1653+ </pattern>
1654+ <pattern url="http://launchpad.net/bugs/876298">
1655+ <re key="SourcePackage">^flashplugin-nonfree</re>
1656+ <re key="DistroRelease">(11.10|11.04|10.10)</re>
1657+ <re key="DpkgTerminalLog">download failed</re>
1658+ <re key="DpkgTerminalLog">The Flash plugin is NOT installed.</re>
1659+ </pattern>
1660+ <pattern url="http://launchpad.net/bugs/876298">
1661+ <re key="SourcePackage">^flashplugin-nonfree</re>
1662+ <re key="DistroRelease">12.04</re>
1663+ <re key="Package">(11.1.102.[56][235]|11.2.202.228ubuntu1|^flashplugin-installer$)</re>
1664+ <re key="DpkgTerminalLog">download failed</re>
1665+ <re key="DpkgTerminalLog">The Flash plugin is NOT installed.</re>
1666+ </pattern>
1667+ <pattern url="http://launchpad.net/bugs/870281">
1668+ <re key="Package">^ubiquity 2.8.7</re>
1669+ <re key="UbiquitySyslog">10.3.183.10ubuntu5</re>
1670+ <re key="UbiquitySyslog">404: Not Found</re>
1671+ <re key="UbiquitySyslog">The Flash plugin is NOT installed.</re>
1672+ </pattern>
1673+ <pattern url="http://launchpad.net/bugs/398614">
1674+ <re key="Package">^ubiquity 2.8.7</re>
1675+ <re key="Traceback">XStartupError: X server exited with return code 1</re>
1676+ </pattern>
1677+ <pattern url="http://launchpad.net/bugs/792652">
1678+ <re key="Package">^ubiquity (2.6.10|2.8.7)</re>
1679+ <re key="Traceback">debconf.py</re>
1680+ <re key="Traceback">self.write.write\("%s %s\\n" % \(command, ' '.join\(map\(str, params\)\)\)\)</re>
1681+ <re key="Traceback">ValueError: I/O operation on closed file</re>
1682+ </pattern>
1683+ <!-- <pattern url="http://launchpad.net/bugs/220961">
1684+ <re key="Package">^ubiquity </re>
1685+ <re key="UbiquitySyslog">No space left on device</re>
1686+ </pattern> -->
1687+ <pattern url="http://launchpad.net/bugs/1871268">
1688+ <re key="Package">^ubiquity </re>
1689+ <re key="UbiquitySyslog">plugininstall.py: apt_pkg.Error.*i386</re>
1690+ </pattern>
1691+ <pattern url="http://launchpad.net/bugs/1587602">
1692+ <re key="Package">^ubiquity </re>
1693+ <re key="UbiquitySyslog">sed:.*//etc/default/rcS:</re>
1694+ </pattern>
1695+
1696+<!-- Converted from ubuntuone-client.xml -->
1697+
1698+ <pattern url="http://launchpad.net/bugs/467397">
1699+ <re key="Package">^ubuntuone-client </re>
1700+ <re key="UbuntuOneOAuthLoginLog">KeyError: 'ROUND_CEiLiNG'</re>
1701+ </pattern>
1702+ <pattern url="http://launchpad.net/bugs/399937">
1703+ <re key="Package">^ubuntuone-client </re>
1704+ <re key="OriginalTitle">ubuntuone-syncdaemon crashed with ImportError in (.module.|__main__)</re>
1705+ <re key="Traceback">in .module.</re>
1706+ <re key="Traceback">ImportError\: </re>
1707+ </pattern>
1708+ <pattern url="http://launchpad.net/bugs/528203">
1709+ <re key="Package">^ubuntuone-client </re>
1710+ <re key="Title">failed to install/upgrade: trying to overwrite '/usr/lib/ubuntuone-client/ubuntuone-login', which is also in package ubuntuone-client</re>
1711+ </pattern>
1712+ <pattern url="http://launchpad.net/bugs/554561">
1713+ <re key="Package">^ubuntuone-client </re>
1714+ <re key="Title">ubuntuone-syncdaemon crashed with AttributeError in _upgrade_metadata_3</re>
1715+ </pattern>
1716+ <pattern url="http://launchpad.net/bugs/420705">
1717+ <re key="Package">^ubuntuone-client</re>
1718+ <re key="Traceback">org\.freedesktop\.DBus\.Error\.NoServer</re>
1719+ </pattern>
1720+ <pattern url="http://launchpad.net/bugs/711162">
1721+ <re key="Package">^ubuntuone-client</re>
1722+ <re key="Traceback">connection\.py</re>
1723+ <re key="Traceback">message\.append\(signature=signature, \*args\)</re>
1724+ <re key="Traceback">ValueError: Unable to guess signature from an empty dict</re>
1725+ </pattern>
1726+ <pattern url="http://launchpad.net/bugs/711221">
1727+ <re key="Package">^ubuntuone-client</re>
1728+ <re key="Traceback">connection\.py.*in call_blocking</re>
1729+ <re key="Traceback">message, timeout</re>
1730+ <re key="Traceback">DBusException: org\.freedesktop\.DBus\.Error\.Disconnected: Connection was disconnected before a reply was received</re>
1731+ </pattern>
1732+ <pattern url="http://launchpad.net/bugs/865105">
1733+ <re key="Package">^ubuntuone-client</re>
1734+ <re key="StacktraceTop">g_settings_get_boolean</re>
1735+ </pattern>
1736+ <pattern url="http://launchpad.net/bugs/1102685">
1737+ <re key="Package">^ubuntuone-client</re>
1738+ <re key="Traceback">Can not override a type Object, which is not in a gobject introspection typelib</re>
1739+ </pattern>
1740+
1741+<!-- Ubuntu One client python libraries -->
1742+ <pattern url="http://launchpad.net/bugs/1009573">
1743+ <re key="Package">^python-ubuntuone-client.*1\.2\.2-0ubuntu2\.2</re>
1744+ <re key="DpkgTerminalLog">except pycurl\.error as e:</re>
1745+ </pattern>
1746+
1747+<!-- Ubuntu One installer -->
1748+ <pattern url="http://launchpad.net/bugs/853060">
1749+ <re key="Package">^ubuntuone-installer</re>
1750+ <re key="Traceback">types.py", line .*, in function</re>
1751+ <re key="Traceback">GError: .*-control-panel-gtk</re>
1752+ </pattern>
1753+
1754+
1755+<!-- Ubuntu SSO Client -->
1756+ <pattern url="http://launchpad.net/bugs/711413">
1757+ <re key="Package">^ubuntu-sso-client</re>
1758+ <re key="Traceback">org\.freedesktop\.DBus\.Error\.NoServer</re>
1759+ </pattern>
1760+ <pattern url="http://launchpad.net/bugs/940669">
1761+ <re key="Package">^ubuntu-sso-client 3.0.0-0ubuntu1</re>
1762+ <re key="Title">ubuntu-sso-login crashed with SIGSEGV in (QSocketNotifier::|)setEnabled</re>
1763+ <re key="Signal">11</re>
1764+ <re key="Tags">apport-crash</re>
1765+ <re key="StacktraceTop">QSocketNotifier::setEnabled</re>
1766+ <re key="StacktraceTop">QMetaObject::activate</re>
1767+ <re key="StacktraceTop">QSocketNotifier::activated</re>
1768+ </pattern>
1769+
1770+<!-- Converted from update-manager.xml -->
1771+
1772+ <pattern url="https://launchpad.net/bugs/341503">
1773+ <re key="Package">^update-manager </re>
1774+ <re key="Traceback">in requiredDownload</re>
1775+ <re key="Traceback">pm.[GetArchives|get_archives]</re>
1776+ </pattern>
1777+ <pattern url="http://launchpad.net/bugs/618951">
1778+ <re key="Package">^update-manager </re>
1779+ <re key="Traceback">InstallBackendAptdaemon.py</re>
1780+ <re key="Traceback">in commit</re>
1781+ <re key="Traceback">DBusException</re>
1782+ </pattern>
1783+ <pattern url="https://launchpad.net/bugs/626798">
1784+ <re key="Package">^update-manager </re>
1785+ <re key="Title">update-manager crashed with DBusException in _run\(\)</re>
1786+ <re key="Traceback">yield self._transaction.run\(.*\)</re>
1787+ <re key="Traceback">DBusException: org.*.DBus.Error.NoReply: Did not receive a reply.</re>
1788+ </pattern>
1789+ <pattern url="https://launchpad.net/bugs/659438">
1790+ <re key="Traceback">pm.get_archives</re>
1791+ <re key="Traceback">I wasn't able to locate file for the.*package.</re>
1792+ <re key="Package">^update-manager </re>
1793+ </pattern>
1794+ <pattern url="https://launchpad.net/bugs/819234">
1795+ <re key="Package">^update-manager </re>
1796+ <re key="Traceback">NotAuthorizedError: org.freedesktop.PolicyKit.Error.NotAuthorized: \('system-bus-name', \{'name': \':1.\d+'\}\): org.debian.apt.install-or-remove-packages</re>
1797+ </pattern>
1798+ <pattern url="https://launchpad.net/bugs/873424">
1799+ <re key="Package">^update-manager 1:0.150</re>
1800+ <re key="Traceback">check-new-release-gtk", line .*, in on_button_ask_me_later_clicked</re>
1801+ <re key="Traceback">TypeError: integer argument expected, got float</re>
1802+ </pattern>
1803+
1804+ <pattern url="https://launchpad.net/bugs/810255">
1805+ <re key="Package">^update-manager </re>
1806+ <re key="Title">update-manager crashed with UnicodeEncodeError in get_dbus_message\(\): 'ascii' codec can't encode character(s)?( u'\\.*')? in position \d+(-\d+)?: ordinal not in range\(128\)</re>
1807+ <re key="Traceback">UnicodeEncodeError: 'ascii' codec can't encode character(s)?( u'\\.*')? in position \d+(-\d+)?: ordinal not in range\(128\)</re>
1808+ </pattern>
1809+
1810+ <pattern url="https://launchpad.net/bugs/854090">
1811+ <re key="Package">^(aptdaemon|oneconf|synaptic|update-manager) </re>
1812+ <re key="Title">(aptd|oneconf-service|synaptic|update-manager) crashed with SIGSEGV in debListParser::LoadReleaseInfo()</re>
1813+ <re key="StacktraceTop">debListParser::LoadReleaseInfo.*(from /usr/lib/libapt-pkg.so.4.11|at deb/deblistparser.cc:\d+)</re>
1814+ </pattern>
1815+
1816+ <pattern url="https://launchpad.net/bugs/898851">
1817+ <re key="Package">^update-manager </re>
1818+ <re key="Traceback">types.py", line .*, in function</re>
1819+ <re key="Traceback">TypeError: Must be number, not tuple</re>
1820+ </pattern>
1821+
1822+ <pattern url="https://launchpad.net/bugs/818760">
1823+ <re key="Package">^update-manager </re>
1824+ <re key="Traceback">socket.py", line .*, in readline</re>
1825+ <re key="Traceback">timeout: timed out</re>
1826+ </pattern>
1827+
1828+<!-- Converted from update-notifier.xml -->
1829+
1830+ <pattern url="https://launchpad.net/bugs/340479">
1831+ <re key="Package">^update-notifier </re>
1832+ <re key="Title">apt_check.py crashed with SIGSEGV in pkgCacheGenerator::MergeList</re>
1833+ <re key="StacktraceTop">pkgCacheGenerator::MergeList</re>
1834+ </pattern>
1835+ <pattern url="https://launchpad.net/bugs/440498">
1836+ <re key="Package">^update-notifier </re>
1837+ <re key="Title">apt_check.py crashed with SIGSEGV in pkgCacheGenerator::ListParser::NewDepends</re>
1838+ <re key="Stacktrace">pkgCacheGenerator::ListParser::NewDepends</re>
1839+ </pattern>
1840+ <pattern url="https://launchpad.net/bugs/1003100">
1841+ <re key="Package">^update-notifier-common </re>
1842+ <re key="DpkgTerminalLog">KeyError: 'paquetes'</re>
1843+ </pattern>
1844+ <pattern url="https://launchpad.net/bugs/1003100">
1845+ <re key="Package">^update-notifier-common </re>
1846+ <re key="VarLogDistupgradeApttermlog">KeyError: 'paquetes'</re>
1847+ </pattern>
1848+
1849+<!-- zeitgeist -->
1850+
1851+ <pattern url="http://launchpad.net/bugs/807950">
1852+ <re key="Package">^zeitgeist</re>
1853+ <re key="Title">zeitgeist-daemon crashed with LookupError in remove_from_connection</re>
1854+ <re key="Traceback">LookupError: &lt;_zeitgeist.engine.remote.RemoteInterface at /org/gnome/zeitgeist/log/activity at *</re>
1855+ <re key="Traceback">is not exported at a location matching \(None,None\)</re>
1856+ </pattern>
1857+
1858+ <pattern url="https://launchpad.net/bugs/834067">
1859+ <re key="Package">^zeitgeist</re>
1860+ <re key="Title">zeitgeist-daemon crashed with SIGSEGV in Xapian::WritableDatabase::add_document()</re>
1861+ <re key="StacktraceTop">Xapian::WritableDatabase::add_document</re>
1862+ </pattern>
1863+
1864+ <pattern url="https://launchpad.net/bugs/840542">
1865+ <re key="Package">^zeitgeist</re>
1866+ <re key="Title">zeitgeist-daemon crashed with SIGSEGV in std::_Rb_tree_increment()</re>
1867+ <re key="StacktraceTop">std::_Rb_tree_increment</re>
1868+ </pattern>
1869+
1870+ <pattern url="https://launchpad.net/bugs/841922">
1871+ <re key="Package">^zeitgeist (0.7.1-1|0.8.2-1)</re>
1872+ <re key="Title">zeitgeist-daemon crashed with DocNotFoundError in _check_index_and_start_worker()</re>
1873+ <re key="Traceback">DocNotFoundError: Document \d+ not found</re>
1874+ </pattern>
1875+
1876+ <pattern url="https://launchpad.net/bugs/841878">
1877+ <re key="Package">^zeitgeist</re>
1878+ <re key="Title">zeitgeist-daemon crashed with DatabaseCorruptError in _check_index_and_start_worker()</re>
1879+ <re key="Traceback">_check_index_and_start_worker</re>
1880+ <re key="Traceback">DatabaseCorruptError: (Data ran out unexpectedly when reading posting list|Unexpected end of posting list for|Expected block.*not 1)</re>
1881+ </pattern>
1882+
1883+ <pattern url="https://launchpad.net/bugs/839798">
1884+ <re key="Package">^zeitgeist</re>
1885+ <re key="Title">zeitgeist-daemon crashed with RangeError in _check_index\(\)</re>
1886+ <re key="Traceback">RangeError: Value in posting list too large.</re>
1887+ </pattern>
1888+
1889+ <pattern url="https://launchpad.net/bugs/839672">
1890+ <re key="Package">^zeitgeist</re>
1891+ <re key="Title">zeitgeist-daemon crashed with DatabaseError in _check_index\(\)</re>
1892+ <re key="Traceback">DatabaseError: Error reading block.*: got end of file</re>
1893+ </pattern>
1894+
1895+ <pattern url="https://launchpad.net/bugs/848710">
1896+ <re key="Package">^zeitgeist</re>
1897+ <re key="Title">zeitgeist-daemon crashed with OperationalError in execute()</re>
1898+ <re key="Traceback">OperationalError: database is locked</re>
1899+ </pattern>
1900+
1901+ <pattern url="https://launchpad.net/bugs/849595">
1902+ <re key="Package">^zeitgeist</re>
1903+ <re key="Title">zeitgeist-daemon crashed with DatabaseError in execute()</re>
1904+ <re key="Traceback">DatabaseError: database disk image is malformed</re>
1905+ </pattern>
1906+
1907+ <pattern url="https://launchpad.net/bugs/832092">
1908+ <re key="Package">^zeitgeist</re>
1909+ <re key="Title">zeitgeist-daemon crashed with DBusException in call_blocking()</re>
1910+ <re key="Traceback">DBusException: org.freedesktop.DBus.Error.Disconnected: Connection is closed</re>
1911+ </pattern>
1912+
1913+ <pattern url="https://launchpad.net/bugs/839837">
1914+ <re key="Package">^zeitgeist</re>
1915+ <re key="Title">zeitgeist-daemon crashed with DatabaseCorruptError in _check_index()</re>
1916+ <re key="Traceback">DatabaseCorruptError: Data ran out unexpectedly when reading posting list.</re>
1917+ </pattern>
1918+
1919+ <pattern url="https://launchpad.net/bugs/841413">
1920+ <re key="Package">^zeitgeist</re>
1921+ <re key="Title">zeitgeist-daemon crashed with SIGSEGV in ChertTable::add_item_to_block()</re>
1922+ <re key="Signal">11</re>
1923+ <re key="StacktraceTop">ChertTable::add_item_to_block</re>
1924+ </pattern>
1925+
1926+ <pattern url="https://launchpad.net/bugs/896445">
1927+ <re key="Package">^zeitgeist</re>
1928+ <re key="Traceback">fts.py</re>
1929+ <re key="Traceback">in __init__</re>
1930+ <re key="Traceback">DatabaseLockError\: Unable to get write lock on .*\: already locked</re>
1931+ </pattern>
1932+
1933+<!-- Converted from libxcb.xml -->
1934+ <pattern url="http://launchpad.net/bugs/507062">
1935+ <re key="AssertionMessage">_XAllocID:.*ret.*inval_id</re>
1936+ </pattern>
1937+
1938+<!-- branding-ubuntu bugs -->
1939+
1940+ <pattern url="http://launchpad.net/bugs/753449">
1941+ <re key="Package">branding-ubuntu</re>
1942+ <re key="ErrorMessage">/usr/share/gnome-games/quadrapassel/pixmaps/quadrapassel.svg.*quadrapassel</re>
1943+ </pattern>
1944+
1945+<!-- pyatspi bugs -->
1946+ <pattern url="http://launchpad.net/bugs/827100">
1947+ <re key="Package">pyatspi</re>
1948+ <re key="DpkgTerminalLog">SyntaxError: \('invalid syntax', \('/usr/lib/python2.7/dist-packages/pyatspi/text.py', 474,</re>
1949+ </pattern>
1950+
1951+<!-- language-selector bugs -->
1952+ <pattern url="https://launchpad.net/bugs/619363">
1953+ <re key="Package">^language-selector</re>
1954+ <re key="Traceback">in _inline_callbacks</re>
1955+ <re key="Traceback">DBusException</re>
1956+ </pattern>
1957+ <pattern url="http://launchpad.net/bugs/827176">
1958+ <re key="Package">language-selector</re>
1959+ <re key="Traceback">File "/usr/bin/fontconfig-voodoo"</re>
1960+ <re key="Traceback">DBusException: org.freedesktop.DBus.Error.UnknownMethod: Method "Get" with signature "ss" on interface "org.freedesktop.DBus.Properties" doesn't exist</re>
1961+ </pattern>
1962+
1963+ <pattern url="https://launchpad.net/bugs/833065">
1964+ <re key="Package">^language-selector</re>
1965+ <re key="Title">fontconfig-voodoo crashed with TypeError in getUserDefaultLanguage()</re>
1966+ <re key="Traceback">TypeError: expected string or buffer</re>
1967+ </pattern>
1968+
1969+ <pattern url="https://launchpad.net/bugs/856975">
1970+ <re key="Package">^language-selector</re>
1971+ <re key="Title">fontconfig-voodoo crashed with DBusException in __new__()</re>
1972+ <re key="Traceback">DBusException: org.freedesktop.DBus.Error.FileNotFound: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory</re>
1973+ </pattern>
1974+
1975+<!-- ubuntu-meta -->
1976+ <pattern url="http://launchpad.net/bugs/828759">
1977+ <re key="Package">ubuntu-desktop</re>
1978+ <re key="VarLogDistupgradeApttermlog">dpkg: dependency problems prevent configuration of ubuntu-desktop:</re>
1979+ <re key="VarLogDistupgradeApttermlog">Package at-spi2-core is not installed.</re>
1980+ <re key="VarLogDistupgradeApttermlog">Package libatk-adaptor is not installed.</re>
1981+ </pattern>
1982+
1983+<!-- emerald -->
1984+ <pattern url="http://launchpad.net/bugs/726229">
1985+ <re key="Package">emerald</re>
1986+ <re key="StacktraceTop">decor_quads_to_property \(\) from /usr/lib/libdecoration.so.0</re>
1987+ </pattern>
1988+
1989+<!-- sessioninstaller -->
1990+ <pattern url="http://launchpad.net/bugs/716711">
1991+ <re key="Package">sessioninstaller</re>
1992+ <re key="Traceback">sessioninstaller/core\.py</re>
1993+ <re key="Traceback">_install_provide_files</re>
1994+ <re key="Traceback">raise errors\.ModifyInternalError\(message\)</re>
1995+ </pattern>
1996+
1997+<!-- gnome-codec-install -->
1998+ <pattern url="http://launchpad.net/bugs/834133">
1999+ <re key="Package">gnome-codec-install</re>
2000+ <re key="Traceback">yield self\._transaction.run\(\)</re>
2001+ <re key="Traceback">gstreamer0.10-plugins-ugly: Depends:</re>
2002+ </pattern>
2003+
2004+ <pattern url="http://launchpad.net/bugs/715523">
2005+ <re key="Package">^gnome-codec-install</re>
2006+ <re key="Traceback">gtkwidgets.py", line .*, in _run</re>
2007+ <re key="Traceback">DBusException: org.freedesktop.DBus.Error.NoReply</re>
2008+ </pattern>
2009+
2010+<!-- dconf-gsettings-backend -->
2011+ <pattern url="http://launchpad.net/bugs/832536">
2012+ <re key="Package">dconf-gsettings-backend</re>
2013+ <re key="Signal">5</re>
2014+ <re key="Title">dconf-service crashed with signal 5 in __libc_start_main\(\)</re>
2015+ <re key="Stacktrace">dconf_state_init_session</re>
2016+ </pattern>
2017+
2018+<!-- gnome-app-install -->
2019+ <pattern url="http://launchpad.net/bugs/339148">
2020+ <re key="Package">gnome-app-install</re>
2021+ <re key="Traceback">Menu.py</re>
2022+ <re key="Traceback">in _refilter</re>
2023+ <re key="Traceback">name = model\.get_value\(model\.get_iter\(path\), COL_NAME\)</re>
2024+ <re key="Traceback">ValueError</re>
2025+ </pattern>
2026+
2027+<!-- libgtk-x11-2.0.so -->
2028+ <pattern url="http://launchpad.net/bugs/729150">
2029+ <re key="Signal">11</re>
2030+ <re key="Stacktrace">find_image_offset</re>
2031+ <re key="Stacktrace">gtkiconcache</re>
2032+ </pattern>
2033+
2034+<!-- oneconf, server unavailable -->
2035+ <pattern url="https://launchpad.net/bugs/851169">
2036+ <re key="Package">^oneconf</re>
2037+ <re key="Title">oneconf-service crashed with ServerNotFoundError in _conn_request\(\): Unable to find the server at apps.ubuntu.com</re>
2038+ </pattern>
2039+ <pattern url="https://launchpad.net/bugs/856576">
2040+ <re key="Package">^oneconf</re>
2041+ <re key="Title">oneconf-query crashed with IOError in translation\(\): \[Errno 2\] No translation file found for domain: 'oneconf'</re>
2042+ </pattern>
2043+ <pattern url="https://launchpad.net/bugs/1102715">
2044+ <re key="Package">^oneconf</re>
2045+ <re key="Title">No module named oneconf.version</re>
2046+ </pattern>
2047+
2048+<!-- balazar -->
2049+ <pattern url="http://launchpad.net/bugs/132636">
2050+ <re key="Package">balazar</re>
2051+ <re key="Traceback">GLError</re>
2052+ <re key="Traceback">_soya.check_gl_error</re>
2053+ <re key="Traceback">_soya.render</re>
2054+ </pattern>
2055+
2056+ <pattern url="http://launchpad.net/bugs/852343">
2057+ <re key="Package">indicator-session</re>
2058+ <re key="Title">gtk-logout-helper crashed with signal 5</re>
2059+ </pattern>
2060+
2061+ <pattern url="http://launchpad.net/bugs/850662">
2062+ <re key="Package">indicator-sound</re>
2063+ <re key="StacktraceTop">pa_cvolume_set</re>
2064+ </pattern>
2065+
2066+ <pattern url="https://launchpad.net/bugs/264336">
2067+ <re key="Package">^postgresql</re>
2068+ <re key="ProblemType">^Package</re>
2069+ <re key="DpkgTerminalLog">SHMMAX</re>
2070+ </pattern>
2071+
2072+ <pattern url="https://launchpad.net/bugs/656351">
2073+ <re key="Package">^postgresql</re>
2074+ <re key="ProblemType">^Package</re>
2075+ <re key="DpkgTerminalLog">authentication option not in name=value format: sameuser</re>
2076+ </pattern>
2077+
2078+ <pattern url="https://launchpad.net/bugs/783930">
2079+ <re key="Package">^postgresql-common</re>
2080+ <re key="ProblemType">^Package</re>
2081+ <re key="DpkgTerminalLog">Error: /var/lib/postgresql/.* is not accessible or does not exist</re>
2082+ </pattern>
2083+
2084+ <pattern url="https://launchpad.net/bugs/783930">
2085+ <re key="Package">^postgresql-common</re>
2086+ <re key="ProblemType">^Package</re>
2087+ <re key="DpkgTerminalLog">Error: /var/lib/postgresql/.* is not accessible or does not exist</re>
2088+ </pattern>
2089+
2090+ <pattern url="https://launchpad.net/bugs/784321">
2091+ <re key="Package">^postgresql</re>
2092+ <re key="ProblemType">^Package</re>
2093+ <re key="DpkgTerminalLog">server.key.*Permission denied</re>
2094+ </pattern>
2095+
2096+ <pattern url="https://launchpad.net/bugs/842590">
2097+ <re key="Package">^postgresql</re>
2098+ <re key="ProblemType">^Package</re>
2099+ <re key="DpkgTerminalLog">could not translate host name "localhost"</re>
2100+ </pattern>
2101+
2102+ <pattern url ="http://launchpad.net/bugs/871083">
2103+ <re key="Package">^libpam-modules </re>
2104+ <re key="ProblemType">^Package</re>
2105+ <re key="VarLogDistupgradeApttermlog">'./usr/share/man/man8/pam_shells.8.gz' is different from the same file on the system</re>
2106+ </pattern>
2107+
2108+ <pattern url ="http://launchpad.net/bugs/773172">
2109+ <re key="ProblemType">^Package</re>
2110+ <re key="VarLogDistupgradeApttermlog">dpkg-deb --fsys-tarfile returned error exit status</re>
2111+ </pattern>
2112+
2113+ <pattern url ="http://launchpad.net/bugs/773172">
2114+ <re key="ProblemType">^Package</re>
2115+ <re key="DpkgTerminalLog">dpkg-deb --fsys-tarfile returned error exit status</re>
2116+ </pattern>
2117+
2118+ <pattern url ="http://launchpad.net/bugs/773172">
2119+ <re key="ProblemType">^Package</re>
2120+ <re key="DpkgTerminalLog">corrupted filesystem tarfile</re>
2121+ </pattern>
2122+
2123+
2124+ <pattern url="https://launchpad.net/bugs/883439">
2125+ <re key="Package">^plymouth-theme-ubuntu-text </re>
2126+ <re key="ProblemType">^Package</re>
2127+ <re key="DefaultPlymouth">/lib/plymouth/themes/satanic-logo/satanic-logo.plymouth </re>
2128+ <re key="VarLogDistUpgradeApttermlog">update-alternatives: error: readlink.*/etc/alternatives/text.plymouth.* failed: Invalid argument</re>
2129+ </pattern>
2130+
2131+ <pattern url ="http://launchpad.net/bugs/887892">
2132+ <re key="ProblemType">^Package</re>
2133+ <re key="Package">^udev (175-0ubuntu1|173)</re>
2134+ <re key="VarLogDistupgradeApttermlog">unrecognized option '--convert-db'</re>
2135+ </pattern>
2136+
2137+ <pattern url="https://launchpad.net/bugs/182629">
2138+ <re key="Package">^gksu</re>
2139+ <re key="Title">SIGSEGV in gdk_window_set_opacity</re>
2140+ </pattern>
2141+
2142+ <pattern url="https://launchpad.net/bugs/90312">
2143+ <re key="Package">^gksu</re>
2144+ <re key="Title">SIGSEGV in gdk_draw_pixbuf</re>
2145+ </pattern>
2146+
2147+ <pattern url="https://launchpad.net/bugs/898874">
2148+ <re key="Package">^gksu</re>
2149+ <re key="Title">SIGSEGV in (.*__strlen_|fputs)</re>
2150+ </pattern>
2151+
2152+ <pattern url="https://launchpad.net/bugs/442941">
2153+ <re key="DistroRelease">Ubuntu 11.04</re>
2154+ <re key="Package">^tzdata </re>
2155+ <re key="DpkgTerminalLog">tzdata 2011f-1</re>
2156+ <re key="DpkgTerminalLog">post-installation.*128</re>
2157+ </pattern>
2158+
2159+ <pattern url="https://launchpad.net/bugs/442941">
2160+ <re key="DistroRelease">Ubuntu 10.04</re>
2161+ <re key="Package">^tzdata </re>
2162+ <re key="DpkgTerminalLog">tzdata 2010i-1</re>
2163+ <re key="DpkgTerminalLog">post-installation.*128</re>
2164+ </pattern>
2165+
2166+ <pattern url="https://launchpad.net/bugs/442941">
2167+ <re key="DistroRelease">Ubuntu (11.04|10.10|10.04)</re>
2168+ <re key="Package">^tzdata </re>
2169+ <re key="DpkgTerminalLog">could not open /var/cache/debconf/config.dat</re>
2170+ </pattern>
2171+
2172+ <pattern url="https://launchpad.net/bugs/915271">
2173+ <re key="Package">^libreoffice</re>
2174+ <re key="Title">rmdir.*basis3.4</re>
2175+ </pattern>
2176+
2177+ <pattern url="https://launchpad.net/bugs/915271">
2178+ <re key="Package">^libreoffice</re>
2179+ <re key="VarLogDistupgradeApttermlog">rmdir.*basis3.4</re>
2180+ </pattern>
2181+
2182+ <pattern url="https://launchpad.net/bugs/915271">
2183+ <re key="Package">^libreoffice</re>
2184+ <re key="DpkgTerminalLog">rmdir.*basis3.4</re>
2185+ </pattern>
2186+
2187+ <pattern url="http://launchpad.net/bugs/911436">
2188+ <re key="Package">^(cups-client |samba |system-config-printer |evolution-data-server |landscape-client |software-center |libvirt |gnucash |gwibber |git |kde-runtime |cups )</re>
2189+ <re key="Stacktrace">p11_kit_initialize_registered</re>
2190+ </pattern>
2191+
2192+ <pattern url="http://launchpad.net/bugs/925049">
2193+ <re key="Package">^libreoffice</re>
2194+ <re key="StacktraceTop">::notifyInternal()</re>
2195+ </pattern>
2196+
2197+<!-- xorg-server -->
2198+ <pattern url="http://wiki.ubuntu.com/X/Bugs/Transitions">
2199+ <re key="ErrorMessage">installing xserver-xorg-core would break existing software</re>
2200+ <re key="Package">^xserver-xorg-core</re>
2201+ <re key="ProblemType">^Package</re>
2202+ <re key="DpkgTerminalLog"> installing xserver-xorg-core would break existing software</re>
2203+ </pattern>
2204+
2205+<!-- vboxgtk -->
2206+ <pattern url="https://launchpad.net/bugs/511601">
2207+ <re key="Package">^vboxgtk</re>
2208+ <re key="Traceback">components.py", line .*, in __getattr__</re>
2209+ <re key="Traceback">AttributeError: 'MachineState' interfaces do not define a constant 'Discarding'</re>
2210+ </pattern>
2211+
2212+<!-- clamav -->
2213+ <pattern url="https://launchpad.net/bugs/1015337">
2214+ <re key="Package">^clamav-base 0.97.5\+dfsg-1ubuntu0.12.04.1</re>
2215+ <re key="DpkgTerminalLog">install: cannot stat `/usr/share/doc/clamav-base/examples/main.cvd': No such file or directory</re>
2216+ </pattern>
2217+
2218+<!-- ubuntu-release-upgrader -->
2219+ <pattern url="https://launchpad.net/bugs/1023055">
2220+ <re key="Package">^ubuntu-release-upgrader-core </re>
2221+ <re key="Traceback">from DistUpgrade.DistUpgradeVersion import VERSION</re>
2222+ <re key="Traceback">ImportError: No module named DistUpgrade.DistUpgradeVersion</re>
2223+ </pattern>
2224+ <pattern url="https://launchpad.net/bugs/1534374">
2225+ <re key="Package">^ubuntu-release-upgrader-core </re>
2226+ <re key="Dependencies">gcc-4.9-base 4.9.3-0ubuntu4</re>
2227+ <re key="VarLogDistupgradeMainlog">lsb-release: 'trusty'</re>
2228+ <re key="VarLogDistupgradeMainlog">plugins for condition 'vividPreCacheOpen'</re>
2229+ </pattern>
2230+ <pattern url="https://launchpad.net/bugs/1384946">
2231+ <re key="Package">^ubuntu-release-upgrader-core </re>
2232+ <re key="VarLogDistupgradeAptlog">Holding Back gnuplot-nox</re>
2233+ <re key="VarLogDistupgradeAptlog">Holding Back gnuplot-x11</re>
2234+ <re key="VarLogDistupgradeAptlog">\(9\) gnuplot-x11</re>
2235+ <re key="VarLogDistupgradeAptlog">\(9\) gnuplot-nox</re>
2236+ </pattern>
2237+ <pattern url="https://launchpad.net/bugs/996916">
2238+ <re key="Package">^(ubuntu-release-upgrader-core |update-manager)</re>
2239+ <re key="VarLogDistupgradeMainlog">blacklist expr '\^postgresql-.*\[0-9\]\\.\[0-9\].*' matches</re>
2240+ <re key="VarLogDistupgradeMainlog">The package 'postgresql-.*' is marked for removal but it's in the removal blacklist</re>
2241+ </pattern>
2242+ <pattern url="https://launchpad.net/bugs/1605259">
2243+ <re key="Package">^ubuntu-release-upgrader-core </re>
2244+ <re key="VarLogDistupgradeMainlog">ERROR aufs setup failed</re>
2245+ </pattern>
2246+ <!-- don't consolidate this Xorg PPA issue with search-bugs so we can be informative about resolving it -->
2247+ <pattern url="https://launchpad.net/bugs/1069133">
2248+ <re key="Package">^ubuntu-release-upgrader-core </re>
2249+ <re key="VarLogDistupgradeAptlog">xserver-xorg.*~gd~(t|u|v|w)</re>
2250+ <!-- the following bits may have been overly specific i.e. got no false positives w/o them -->
2251+ <!-- <re key="VarLogDistupgradeAptclonesystemstate.tar">\./etc/apt/sources\.list\.d/oibaf-graphics-drivers.*list</re> -->
2252+ <!-- <re key="VarLogDistupgradeMainlog">pkgProblemResolver</re> -->
2253+ </pattern>
2254+ <pattern url="https://launchpad.net/bugs/1510841">
2255+ <re key="Package">^ubuntu-release-upgrader-core </re>
2256+ <re key="VarLogDistupgradeMainlog">MetaPkgs: \S+ \S+</re>
2257+ <re key="VarLogDistupgradeMainlog">marked for removal but it's in the removal blacklist</re>
2258+ </pattern>
2259+ <pattern url="https://launchpad.net/bugs/1610756">
2260+ <re key="Package">^ubuntu-release-upgrader-core </re>
2261+ <re key="VarLogDistupgradeAptlog">Holding Back backuppc:\w+ rather than change libcgi-pm-perl</re>
2262+ </pattern>
2263+ <pattern url="https://launchpad.net/bugs/1611737">
2264+ <re key="Package">^ubuntu-release-upgrader-core </re>
2265+ <re key="VarLogDistupgradeMainlog">ros-(indigo|jade)</re>
2266+ <re key="VarLogDistupgradeAptlog">Broken libboost</re>
2267+ <!-- Not every u-r-u bug contains the full log -->
2268+ <!-- <re key="VarLogDistupgradeMainlog">Dist-upgrade failed.*pkgProblemResolver</re> -->
2269+ </pattern>
2270+ <pattern url="https://launchpad.net/bugs/1886748">
2271+ <re key="Package">^ubuntu-release-upgrader-core 1:18.04</re>
2272+ <re key="VarLogDistupgradeMainlog">ERROR Dist-upgrade failed</re>
2273+ <re key="VarLogDistupgradeAptlog">Holding Back libomp5.*change libomp5-10</re>
2274+ </pattern>
2275+ <pattern url="https://launchpad.net/bugs/1889250">
2276+ <re key="Package">^ubuntu-release-upgrader-core 1:18.04</re>
2277+ <re key="VarLogDistupgradeAptlog">nodejs.*nodesource</re>
2278+ <re key="VarLogDistupgradeAptlog">Fixing nodejs.*via keep of python-minimal</re>
2279+ <re key="VarLogDistupgradeAptclonesystemstate.tar">\./etc/apt/sources\.list\.d/nodesource.list</re> -->
2280+ </pattern>
2281+ <pattern url="https://launchpad.net/bugs/1813354">
2282+ <re key="Package">^ubuntu-release-upgrader-core </re>
2283+ <re key="VarLogDistupgradeMainlog">entry \'# deb mirror.*was disabled</re>
2284+ <re key="VarLogDistupgradeMainlog">No \'ubuntu-minimal\' available/downloadable after sources.list rewrite\+update</re>
2285+ </pattern>
2286+
2287+<!-- compiz -->
2288+ <pattern url="https://launchpad.net/bugs/1366351">
2289+ <re key="Package">^compiz-core 1:0.9.12\+14.10.2014</re>
2290+ <re key="Title">compiz crashed with SIGSEGV in g_closure_invoke()</re>
2291+ <re key="Signal">11</re>
2292+ </pattern>
2293+
2294+ <pattern url="https://launchpad.net/bugs/1433320">
2295+ <re key="Package">^systemd</re>
2296+ <re key="ExecutablePath">/lib/systemd/systemd-</re>
2297+ <re key="Signal">6</re>
2298+ <re key="JournalErrors.txt">systemd-.*\.service: Watchdog timeout</re>
2299+ </pattern>
2300+
2301+ <pattern url="https://launchpad.net/bugs/1773859">
2302+ <re key="Package">^systemd|systemd-shim|systemd-sysv</re>
2303+ <!-- <re key="DpkgTerminalLog">Removing systemd-shim (9-1bzr4ubuntu1)</re> -->
2304+ <re key="DpkgTerminalLog">dpkg-divert:.*error:.*rename involves overwriting \'/usr/share/dbus-1/system-services/org.freedesktop.systemd1.service\'</re>
2305+ <re key="DpkgTerminalLog">different file \'/usr/share/dbus-1/system-services/org.freedesktop.systemd1.service.systemd\', not allowed</re>
2306+ <re key="DpkgTerminalLog">post-removal script.*returned error exit status 2</re>
2307+ </pattern> -->
2308+
2309+ <pattern url="https://launchpad.net/bugs/1773859">
2310+ <re key="Package">^ubuntu-release-upgrader-core</re>
2311+ <re key="VarLogDistupgradeApttermlog">dpkg-divert: error: rename involves overwriting</re>
2312+ <re key="VarLogDistupgradeApttermlog">different file.*not allowed</re>
2313+ <re key="VarLogDistupgradeApttermlog"> installed systemd-shim package post-removal script subprocess returned error exit status 2</re>
2314+ </pattern>
2315+
2316+ <pattern url="https://launchpad.net/bugs/1898152">
2317+ <re key="Package">^ubuntu-release-upgrader-core</re>
2318+ <re key="DistroRelease">.*18.04</re>
2319+ <re key="VarLogDistupgradeAptlog">Broken gnuradio-dev:amd64</re>
2320+ </pattern>
2321+
2322+<!-- nginx -->
2323+ <pattern url="https://launchpad.net/bugs/1512344">
2324+ <re key="ProblemType">^Package</re>
2325+ <re key="Package">nginx-.*</re>
2326+ <re key="SystemctlStatusFull_Nginx.txt">failed.*98: Address already in use</re>
2327+ </pattern>
2328+
2329+<!-- mysql -->
2330+ <pattern url="https://launchpad.net/bugs/1571865">
2331+ <!-- catch both mysql-server-5.7 and mysql-server 5.7.something -->
2332+ <re key="Package">^mysql-server[ -]5\.7</re>
2333+ <re key="Logs.var.log.mysql.error.log">\[ERROR\] unknown variable \'key_buffer\=</re>
2334+ </pattern>
2335+ <pattern url="https://launchpad.net/bugs/1571865">
2336+ <!-- catch both mysql-server-5.7 and mysql-server 5.7.something -->
2337+ <re key="Package">^mysql-server[ -]5\.7</re>
2338+ <re key="Logs.var.log.mysql.error.log">\[ERROR\] unknown variable \'myisam-recover\=</re>
2339+ </pattern>
2340+
2341+ <pattern url="https://launchpad.net/bugs/1574168">
2342+ <!-- catch both mysql-server-5.7 and mysql-server 5.7.something -->
2343+ <re key="Package">^mysql-server[ -]5\.7</re>
2344+ <re key="DpkgTerminalLog">mysql_upgrade: \[ERROR\] 1007: Can\'t create database \'performance_schema\'\; database exists</re>
2345+ </pattern>
2346+
2347+ <pattern url="https://launchpad.net/bugs/1574040">
2348+ <!-- catch both mysql-server-5.7 and mysql-server 5.7.something -->
2349+ <re key="Package">^mysql-server[ -]5\.7</re>
2350+ <re key="DpkgTerminalLog">mysql_upgrade: \[ERROR\] 1049: Unknown database \'performance_schema\'</re>
2351+ </pattern>
2352+
2353+ <pattern url="https://launchpad.net/bugs/1571764">
2354+ <!-- catch both mysql-server-5.7 and mysql-server 5.7.something -->
2355+ <re key="Package">^mysql-server[ -]5\.7</re>
2356+ <re key="Logs.var.log.mysql.error.log">\[ERROR\] Incorrect definition of table performance_schema\.</re>
2357+ </pattern>
2358+
2359+ <pattern url="https://launchpad.net/bugs/1490071">
2360+ <re key="Package">^mysql-server-5\.(6|7)</re>
2361+ <re key="DpkgTerminalLog">Aborting downgrade from \(at least\) 10\.0 to 5\.(6|7)\.</re>
2362+ </pattern>
2363+
2364+ <pattern url="https://launchpad.net/bugs/1579708">
2365+ <re key="Package">^mysql-server-5\.7</re>
2366+ <re key="modified.conffile..etc.mysql.conf.d.mysql.cnf">\[deleted\]</re>
2367+ </pattern>
2368+
2369+ <pattern url="https://launchpad.net/bugs/1579708">
2370+ <re key="Package">^(mysql-server|mysql-server-5.7|mysql-common)</re>
2371+ <re key="modified.conffile..etc.mysql.mysql.cnf">\[deleted\]</re>
2372+ </pattern>
2373+
2374+ <pattern url="https://launchpad.net/bugs/1579708">
2375+ <re key="Package">^(mysql-server|mysql-server-5.7|mysql-common)</re>
2376+ <re key="modified.conffile..etc.mysql.conf.d.mysql.cnf">\[deleted\]</re>
2377+ </pattern>
2378+
2379+ <pattern url="https://launchpad.net/bugs/1579708">
2380+ <re key="Package">^(mysql-server|mysql-server-5.7|mysql-common)</re>
2381+ <re key="modified.conffile..etc.mysql.my.cnf.fallback">\[deleted\]</re>
2382+ </pattern>
2383+
2384+ <pattern url="https://launchpad.net/bugs/1679435">
2385+ <re key="ProblemType">^Package</re>
2386+ <re key="Package">^shim-signed</re>
2387+ <re key="DpkgTerminalLog">^+/var/lib/dkms/virtualbox</re>
2388+ <re key="DpkgHistoryLog">\nInstall[^\n]*gnome-software:\S* \((3\.20\.1\+git201(61013.0.d77d6cf-0ubuntu2|70208.0.a34b091-0ubuntu1)|3.22.7-0ubuntu3)</re>
2389+ <re key="DpkgHistoryLog">\n(?!Upgrade[^\n]*gnome-software)</re>
2390+ <re key="DpkgHistoryLog">\nInstall[^\n]*virtualbox-dkms:\S*</re>
2391+ </pattern>
2392+
2393+ <pattern url="https://launchpad.net/bugs/1679784">
2394+ <re key="ProblemType">^Package</re>
2395+ <re key="Package">^shim-signed</re>
2396+ <re key="DpkgTerminalLog">^+/var/lib/dkms/bcmwl</re>
2397+ <re key="DpkgHistoryLog">\nUpgrade[^\n]*software-properties-gtk:\S* \(0\.96\.20\.6, 0\.96\.20\.7\)</re>
2398+ <re key="DpkgHistoryLog">\nInstall[^\n]*bcmwl-kernel-source:\S</re>
2399+ </pattern>
2400+
2401+ <pattern url="https://launchpad.net/bugs/1679784">
2402+ <re key="ProblemType">^Package</re>
2403+ <re key="Package">^shim-signed</re>
2404+ <re key="DpkgTerminalLog">^+/var/lib/dkms/bcmwl</re>
2405+ <re key="DpkgHistoryLog">\nInstall[^\n]*software-properties-gtk:\S* \(0\.96\.20\.[26]\)</re>
2406+ <re key="DpkgHistoryLog">\n(?!Upgrade[^\n]*software-properties-gtk)</re>
2407+ <re key="DpkgHistoryLog">\nInstall[^\n]*bcmwl-kernel-source:\S</re>
2408+ </pattern>
2409+
2410+ <pattern url="https://launchpad.net/bugs/1708947">
2411+ <re key="ProblemType">^Crash</re>
2412+ <re key="Package">^gdebi-kde</re>
2413+ <re key="Traceback">ModuleNotFoundError: No module named 'DLFCN'</re>
2414+ </pattern>
2415+
2416+ <pattern url="https://launchpad.net/bugs/1726803">
2417+ <re key="ProblemType">^Package</re>
2418+ <re key="Package">^shim-signed</re>
2419+ <re key="DpkgTerminalLog">-/var/lib/dkms/nvidia-375\n\+/var/lib/dkms/nvidia-384</re>
2420+ <re key="Title">^package shim-signed 1.32.*-1ubuntu1 failed to install/upgrade</re>
2421+ </pattern>
2422+
2423+ <!-- grub / efibootmgr update failure due to broken firmwares -->
2424+ <pattern url="https://launchpad.net/bugs/1767276">
2425+ <re key="ProblemType">^Package</re>
2426+ <re key="Package">^(shim-signed|grub-efi-amd64|grub-efi-amd64-signed|efibootmgr)</re>
2427+ <re key="DpkgTerminalLog">Could not delete variable: Interrupted system call</re>
2428+ </pattern>
2429+ <pattern url="https://launchpad.net/bugs/1805490">
2430+ <re key="ProblemType">^Package</re>
2431+ <re key="Package">^(shim-signed|grub-efi-amd64|grub-efi-amd64-signed|efibootmgr)</re>
2432+ <re key="DpkgTerminalLog">Could not delete variable: Invalid argument</re>
2433+ </pattern>
2434+ <pattern url="https://launchpad.net/bugs/1767570">
2435+ <re key="ProblemType">^Package</re>
2436+ <re key="Package">^(shim-signed|grub-efi-amd64|grub-efi-amd64-signed|efibootmgr)</re>
2437+ <re key="DpkgTerminalLog">Could not delete variable: No space left on device</re>
2438+ </pattern>
2439+
2440+ <pattern url="https://launchpad.net/bugs/1779237">
2441+ <re key="ProblemType">^Package</re>
2442+ <re key="SourcePackage">^(python3-defaults|update-notifier|update-manager)</re>
2443+ <!-- <re key="DpkgTerminalLog">E: py3comple:183: cannot create directory /usr/share/hplip/.*FileNotFoundError</re> -->
2444+ <re key="DpkgTerminalLog">error running python rtupdate hook hplip-data</re>
2445+ <re key="DpkgTerminalLog">python3.*post-installation.*4</re>
2446+ </pattern>
2447+ <pattern url="https://launchpad.net/bugs/1788727">
2448+ <re key="ProblemType">^Package</re>
2449+ <re key="SourcePackage">^grub2</re>
2450+ <re key="DpkgTerminalLog">E: Your kernels are unsigned. This system will fail to boot in a secure boot environment</re>
2451+ </pattern>
2452+ <pattern url="https://launchpad.net/bugs/1573508">
2453+ <re key="ProblemType">^Package</re>
2454+ <re key="SourcePackage">^nvidia-graphics-drivers-</re>
2455+ <re key="DKMSBuildLog">error: too (few|many) arguments to function .get_user_pages.</re>
2456+ </pattern>
2457+ <pattern url="https://launchpad.net/bugs/1830066">
2458+ <re key="ProblemType">^Package</re>
2459+ <re key="SourcePackage">^grub$</re>
2460+ <re key="Title">package .* failed to install\/upgrade: run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 1</re>
2461+ <re key="DpkgTerminalLog">Could not find /boot/grub/menu\.lst file\. Would you like /boot/grub/menu\.lst generated for you\? \(y/N\)</re>
2462+ </pattern>
2463+ <pattern url="https://launchpad.net/bugs/1874662">
2464+ <re key="ProblemType">^Bug</re>
2465+ <re key="CasperMD5CheckResult">^(fail|skip)</re>
2466+ <re key="UbiquitySyslog">SQUASHFS error</re>
2467+ </pattern>
2468+ <pattern url="https://launchpad.net/bugs/1928352">
2469+ <re key="ProblemType">^Package</re>
2470+ <re key="SourcePackage">^(shim-signed|grub2-signed)</re>
2471+ <re key="DpkgTerminalLog">grub-install: (warning|aviso): vars_get_variable: read_file.*failed: (Input/output error|Erro de entrada/saída|Error de entrada/salida)\.</re>
2472+ </pattern>
2473+ <pattern url="https://launchpad.net/bugs/1944086">
2474+ <re key="ProblemType">^Crash</re>
2475+ <re key="SourcePackage">^rsyslog$</re>
2476+ <re key="Stacktrace">#0 0x.*in IO_validate_vtable.*at \.\./libio/libioP.h:940</re>
2477+ <re key="Stacktrace">#1 outstring_func.*at vfprintf-internal\.c:239</re>
2478+ <re key="Stacktrace">#2 __vfprintf_internal.*at vfprintf-internal\.c:1404</re>
2479+ </pattern>
2480+ <pattern url="https://launchpad.net/bugs/2018279">
2481+ <re key="ProblemType">^Package</re>
2482+ <re key="Package">^update-notifier</re>
2483+ <re key="DpkgTerminalLog">ModuleNotFoundError: No module named '(apt_pkg|debian)'</re>
2484+ </pattern>
2485+ <!-- GRUB2 non-interactive upgrades failing due to stale grub-{efi,pc}/install_devices -->
2486+ <pattern url="https://launchpad.net/bugs/1940723">
2487+ <re key="ProblemType">^Package</re>
2488+ <re key="Package">^(shim-signed|grub2-signed|grub2)</re>
2489+ <!-- This is the modern error (both for BIOS and UEFI): -->
2490+ <re key="DpkgTerminalLog">You must correct your GRUB install devices before proceeding</re>
2491+ <!-- Previously when installation to a device failed, the package upgrade
2492+ just continued. Except in the UEFI signed case, where grub-multi-install is
2493+ called by the grub-efi-ARCH-signed package, which did fail postinst on
2494+ error, generating this message (only including the prefix as the rest
2495+ is localised): -->
2496+ <re key="DpkgTerminalLog">mount: /var/lib/grub/esp:</re>
2497+ </pattern>
2498+</patterns>
2499
2500=== added file 'check-patterns-for-fixed-bugs'
2501--- check-patterns-for-fixed-bugs 1970-01-01 00:00:00 +0000
2502+++ check-patterns-for-fixed-bugs 2024-02-27 16:26:55 +0000
2503@@ -0,0 +1,106 @@
2504+#!/usr/bin/python
2505+#
2506+# Author: Brian Murray <brian@canonical.com>
2507+# Copyright (C) 2012 Canonical, Ltd.
2508+# License: GPLv3
2509+#
2510+# Parse the bugpatterns.xml file and check to see if the bug for which a
2511+# pattern was written has been fixed. If it has then check the duplicates bugs
2512+# to see what releases and package versions were affected. Then one can
2513+# determine whether or not to remove the pattern or include version check.
2514+
2515+import os
2516+import re
2517+import sys
2518+import xml.dom
2519+
2520+from subprocess import Popen, PIPE
2521+from xml.dom.minidom import parseString
2522+from launchpadlib.launchpad import Launchpad
2523+from launchpadlib.credentials import Credentials
2524+from launchpadlib.errors import HTTPError
2525+
2526+OPEN_STATUS = ['New', 'Incomplete', 'Confirmed', 'Triaged', 'In Progress',
2527+ 'Fix Committed']
2528+
2529+
2530+def connect():
2531+ cachedir = os.path.expanduser('~/.launchpadlib/cache')
2532+ if not os.path.exists(cachedir):
2533+ os.makedirs(cachedir,0700)
2534+ root = 'production'
2535+ credfile = os.path.expanduser('~/.cache/apport/launchpad.credentials')
2536+ launchpad = Launchpad.login_with(sys.argv[0], credentials_file=credfile,
2537+ service_root=root, launchpadlib_dir=cachedir, version="devel")
2538+ return launchpad
2539+
2540+def open_task(bug_number):
2541+ bug = launchpad.bugs[bug_number]
2542+
2543+ for task in bug.bug_tasks:
2544+ if task.status in OPEN_STATUS and 'ubuntu' in task.web_link:
2545+ return True
2546+
2547+ return False
2548+
2549+def check_package_available(srcpkg, version):
2550+ ubuntu = launchpad.distributions['ubuntu']
2551+ primary = ubuntu.getArchive(name='primary')
2552+ for pub in primary.getPublishedSources(source_name=srcpkg,
2553+ exact_match=True, version=version):
2554+ if pub.status == "Published":
2555+ print(" %s %s is available in %s-%s" % (srcpkg,
2556+ version,
2557+ pub.distro_series.name.lower(),
2558+ pub.pocket.lower()))
2559+ else:
2560+ print(" %s version %s is not available" % (srcpkg, version))
2561+
2562+if __name__ == '__main__':
2563+ pattern_file = open('bugpatterns.xml')
2564+ data = pattern_file.read()
2565+ pattern_file.close()
2566+ dom = parseString(data)
2567+
2568+ bug_numbers = []
2569+
2570+ for pattern in dom.getElementsByTagName('pattern'):
2571+ if not pattern.attributes.has_key('url'):
2572+ continue
2573+
2574+ url = pattern.attributes['url'].nodeValue
2575+ if 'launchpad.net' not in url:
2576+ continue
2577+
2578+ for cn in pattern.childNodes:
2579+ # regular expression condition
2580+ if cn.nodeType == xml.dom.Node.ELEMENT_NODE and cn.nodeName == 're' and \
2581+ cn.attributes.has_key('key'):
2582+ key = cn.attributes['key'].nodeValue
2583+ if key == 'SourcePackage':
2584+ value = cn.childNodes[0].nodeValue
2585+ if not re.search('\d', value):
2586+ bug_number = url.split('/')[-1]
2587+ if bug_number not in bug_numbers:
2588+ bug_numbers.append(bug_number)
2589+
2590+ # Connect to Launchpad
2591+ launchpad = connect()
2592+
2593+ for bug_number in bug_numbers:
2594+ if not open_task(bug_number):
2595+ print('LP: #%s has no open tasks' % bug_number)
2596+ dup_tags = Popen(['lp-bug-dupe-properties', '--bug', bug_number, '--rtags'], stdout=PIPE).communicate()[0]
2597+ dup_version = Popen(['lp-bug-dupe-properties', '--bug', bug_number, '-D', 'Package'], stdout=PIPE).communicate()[0]
2598+ print(' %s' % dup_tags.strip('\n'))
2599+ for item in dup_version.split('\n')[1:]:
2600+ things = item.split(': ')[0].strip()
2601+ if things == '' or things == 'None':
2602+ continue
2603+ if len(things.split(' ')) == 1:
2604+ continue
2605+ srcpkg = things.split(' ')[0]
2606+ version = things.split(' ')[1]
2607+ if 'not' in version:
2608+ continue
2609+ check_package_available(srcpkg, version)
2610
2611=== added file 'consolidate-bugs'
2612--- consolidate-bugs 1970-01-01 00:00:00 +0000
2613+++ consolidate-bugs 2024-02-27 16:26:55 +0000
2614@@ -0,0 +1,62 @@
2615+#!/usr/bin/python
2616+#
2617+# Author: Brian Murray <brian@canonical.com>
2618+# Copyright (C) 2011 Canonical, Ltd.
2619+# License: GPLv3
2620+#
2621+# Parse the bugpatterns.xml file and create a list of packages for which to
2622+# search for bug reports for and consolidate duplicates. This is necessary
2623+# for previous releases of Ubuntu which will not check for the generic
2624+# bugpatterns.xml file but rather for per package ones. Additionally useful
2625+# for cleaning up duplicates already reported in the event that pattern
2626+# writers don't use search-bugs.
2627+#
2628+# It'd be better if the xml parsing routine determined if the ProblemType was
2629+# a "Crash" or "Package" and then used search-bugs with the appropriate tags
2630+# instead of just using apport-crash.
2631+
2632+import xml.dom
2633+
2634+from subprocess import *
2635+from xml.dom.minidom import parseString
2636+
2637+pattern_file = open('bugpatterns.xml')
2638+data = pattern_file.read()
2639+pattern_file.close()
2640+
2641+dom = parseString(data)
2642+
2643+packages = []
2644+
2645+for pattern in dom.getElementsByTagName('pattern'):
2646+ if not pattern.attributes.has_key('url'):
2647+ continue
2648+
2649+ for cn in pattern.childNodes:
2650+ if cn.nodeType == xml.dom.Node.ELEMENT_NODE and cn.nodeName == 're' \
2651+ and cn.attributes.has_key('key'):
2652+ key = cn.attributes['key'].nodeValue
2653+ if key == 'PackageVersion':
2654+ continue
2655+ if key != 'SourcePackage' and key != 'Package':
2656+ continue
2657+ if cn.hasChildNodes() and \
2658+ cn.childNodes[0].nodeType == xml.dom.Node.TEXT_NODE:
2659+ package = cn.childNodes[0].nodeValue.encode('UTF-8')
2660+ package = package.replace('^', '')
2661+ package = package.strip()
2662+ if package not in packages:
2663+ packages.append(package)
2664+
2665+for package in packages:
2666+ print 'search-bugs --package %s --tags apport-crash --within 2 -C' % \
2667+ package
2668+ results = Popen(['./search-bugs','--package', '%s' % package, '--tags',
2669+ 'apport-crash', '--within', '2', '-C'], stdout=PIPE).communicate()[0]
2670+ print results
2671+ # need to do apport-bug bugs too
2672+ print 'search-bugs --package %s --tags apport-bug --within 2 -C' % \
2673+ package
2674+ results = Popen(['./search-bugs','--package', '%s' % package, '--tags',
2675+ 'apport-bug', '--within', '2', '-C'], stdout=PIPE).communicate()[0]
2676+ print results
2677
2678=== added file 'convert.py'
2679--- convert.py 1970-01-01 00:00:00 +0000
2680+++ convert.py 2024-02-27 16:26:55 +0000
2681@@ -0,0 +1,28 @@
2682+#!/usr/bin/python
2683+
2684+import glob
2685+import os
2686+from xml.dom.minidom import parseString
2687+from codecs import open
2688+
2689+outfile = 'bugpatterns.xml'
2690+out = open(outfile, encoding='utf-8', mode='wb')
2691+out.write('''<?xml version="1.0"?>
2692+
2693+<patterns>
2694+''')
2695+
2696+for path in sorted(glob.glob('*.xml')):
2697+ if path == outfile: continue
2698+
2699+ pkg = os.path.splitext(path)[0]
2700+ dom = parseString(open(path).read())
2701+
2702+ out.write('\n<!-- Converted from %s -->\n\n' % path)
2703+ for pattern in dom.getElementsByTagName('pattern'):
2704+ xml = pattern.toxml()
2705+ out.write(' ')
2706+ out.write(xml)
2707+ out.write('\n')
2708+
2709+out.write('</patterns>\n')
2710
2711=== added file 'search-bugs'
2712--- search-bugs 1970-01-01 00:00:00 +0000
2713+++ search-bugs 2024-02-27 16:26:55 +0000
2714@@ -0,0 +1,214 @@
2715+#!/usr/bin/python3
2716+# Author: Brian Murray <brian@canonical.com>
2717+# Copyright (C) 2009 Canonical, Ltd.
2718+# License: GPLv3
2719+#
2720+# Given a package name and some criteria query Launchpad for a bug list
2721+# then check each bug against the package's bug pattern
2722+#
2723+# missing the ability to search for no tags
2724+
2725+from apport.crashdb import get_crashdb
2726+from datetime import datetime
2727+from datetime import timedelta
2728+from launchpadlib.launchpad import Launchpad
2729+from os.path import abspath
2730+
2731+
2732+import optparse
2733+import os
2734+import re
2735+import sys
2736+
2737+
2738+def connect():
2739+ cachedir = os.path.expanduser('~/.launchpadlib/cache')
2740+ if not os.path.exists(cachedir):
2741+ os.makedirs(cachedir,0o700)
2742+
2743+ root = 'production'
2744+ credfile = os.path.expanduser('~/.cache/apport/launchpad.credentials')
2745+ launchpad = Launchpad.login_with(sys.argv[0], credentials_file=credfile,
2746+ service_root=root, launchpadlib_dir=cachedir, version="devel")
2747+ return launchpad
2748+
2749+def mark_as_duplicate(master_number, bug):
2750+ comment="Thank you for taking the time to report this bug and helping to make Ubuntu better. This particular bug has already been reported and is a duplicate of bug %s, so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Please continue to report any other bugs you may find." % (master_number)
2751+ master = lp.bugs[master_number]
2752+
2753+ # copy release tags from duplicates to the master bug
2754+ release_tags = []
2755+ for series in ubuntu.series:
2756+ if series.status not in ['Active Development',
2757+ 'Current Stable Release', 'Supported']:
2758+ continue
2759+ release_tags.append(series.name)
2760+ dupe_tags = set(bug.tags)
2761+ master_tags = master.tags
2762+ missing_tags = dupe_tags.difference(master_tags)
2763+ for tag in missing_tags:
2764+ if tag in release_tags:
2765+ master_tags.append(tag)
2766+ master.lp_save()
2767+
2768+ for task in bug.bug_tasks:
2769+ task.status = 'Confirmed'
2770+ bug.newMessage(content=comment)
2771+ bug.duplicate_of = master
2772+ bug.lp_save()
2773+ print('Modified LP: #%s' % (task.bug.id))
2774+
2775+
2776+def trim_dpkg_log(report):
2777+ '''Trim DpkgTerminalLog to the most recent installation session.
2778+ Taken from apport data/general-hook/ubuntu.py'''
2779+
2780+ if 'DpkgTerminalLog' not in report:
2781+ return
2782+ lines = []
2783+ trim_re = re.compile('^\(.* ... \d+ .*\)$')
2784+ if isinstance(report['DpkgTerminalLog'], bytes):
2785+ report['DpkgTerminalLog'] = report['DpkgTerminalLog']\
2786+ .decode('utf-8', errors='ignore')
2787+ for line in report['DpkgTerminalLog'].splitlines():
2788+ if line.startswith('Log started: ') or trim_re.match(line):
2789+ lines = []
2790+ continue
2791+ lines.append(line)
2792+ report['DpkgTerminalLog'] = '\n'.join(lines)
2793+
2794+
2795+parser = optparse.OptionParser(usage="usage: %prog -p PACKAGE -t TAG(s) "\
2796+ "[options]")
2797+parser.add_option("-p", "--package", help="Filter on PACKAGE", dest="package",
2798+ metavar="PACKAGE")
2799+parser.add_option("-s", "--status", help="Filter on STATUS", dest="status",
2800+ metavar="STATUS")
2801+parser.add_option("-t", "--tags", help="Filter on TAG,TAG", dest="tags",
2802+ metavar="TAGS")
2803+parser.add_option("-d", "--dupes", help="Include duplicates in search",
2804+ dest="dupes", action="store_true")
2805+parser.add_option("-q", "--quiet", help="Only print bug numbers",
2806+ dest="quiet", action="store_true")
2807+parser.add_option("-a", "--all", help="Check all package bugs", dest="all",
2808+ action="store_true")
2809+parser.add_option("-k", "--keywords", help="Search for KEYWORDS",
2810+ dest="keywords", metavar="KEYWORDS")
2811+parser.add_option("-w", "--within",
2812+ help="Search for bugs reported within the past X days",
2813+ dest="within", metavar="WITHIN")
2814+parser.add_option("-C", "--consolidate", dest="consolidate",
2815+ help="Mark bugs as duplicate of master bug in pattern",
2816+ action="store_true")
2817+
2818+(opt, args) = parser.parse_args()
2819+
2820+# Connect to Launchpad
2821+lp = connect()
2822+
2823+status_list = []
2824+tag_list = []
2825+ubuntu = lp.distributions['ubuntu']
2826+
2827+valid_status = ['New', 'Incomplete', 'Invalid', "Won't Fix", 'Confirmed',
2828+ 'Triaged', 'In Progress', 'Fix Committed', 'Fix Released',
2829+ 'Unknown']
2830+
2831+if not opt.status:
2832+ status_list = ['New', 'Incomplete', 'Confirmed', 'Triaged',
2833+ 'In Progress', 'Fix Committed' ]
2834+elif opt.status:
2835+ if opt.status not in valid_status:
2836+ print("Invalid status '%s'. Aborting" % (opt.status), file=sys.stderr)
2837+ sys.exit(1)
2838+ else:
2839+ status_list.append(opt.status)
2840+
2841+if opt.package == 'ubuntu':
2842+ package = ubuntu
2843+if opt.package != 'ubuntu':
2844+ package = ubuntu.getSourcePackage(name='%s' % opt.package)
2845+ if package is None:
2846+ print('Package %s not found in Ubuntu' % opt.package)
2847+ sys.exit(1)
2848+elif not opt.package:
2849+ print("A package is required.", file=sys.stderr)
2850+ sys.exit(1)
2851+
2852+if opt.dupes:
2853+ dupes = False
2854+elif not opt.dupes:
2855+ dupes = True
2856+
2857+if opt.tags:
2858+ for tag in opt.tags.split(','):
2859+ tag_list.append(tag)
2860+
2861+if opt.within:
2862+ period = int(opt.within)
2863+ today = datetime.utcnow()
2864+ search_start = today - timedelta(period)
2865+elif not opt.within:
2866+ search_start = None
2867+
2868+
2869+search_args = {'tags': tag_list,
2870+ 'tags_combinator': 'All',
2871+ 'order_by': '-datecreated',
2872+ 'status': opt.status,
2873+ 'search_text': opt.keywords,
2874+ 'omit_duplicates': dupes,
2875+ 'created_since': search_start}
2876+
2877+tasks = package.searchTasks(**search_args)
2878+db = get_crashdb(None)
2879+for task in tasks:
2880+ # they should be retraced first
2881+ if 'need-i386-retrace' in task.bug.tags or 'need-amd64-retrace' in task.bug.tags:
2882+ continue
2883+ task_number = task.bug.id
2884+ try:
2885+ report = db.download(task_number)
2886+ except AssertionError as error:
2887+ print("LP: #%s: %s" % (task_number, error))
2888+ continue
2889+ except Exception as error:
2890+ print("LP: #%s: %s" % (task_number, error))
2891+ continue
2892+ except AttributeError as error:
2893+ print("LP: #%s: %s" % (task_number, error))
2894+ continue
2895+
2896+ # trim the dpkg log file
2897+ trim_dpkg_log(report)
2898+
2899+ try:
2900+ match = report.search_bug_patterns('file://' + abspath('./bugpatterns.xml'))
2901+ except AssertionError as error:
2902+ print("%s" % error)
2903+ continue
2904+
2905+ if match and not opt.quiet:
2906+ # this should handle wiki urls somehow
2907+ master_number = match.split('/')[-1]
2908+ master = lp.bugs[master_number]
2909+ if str(master_number) == str(task_number) and not opt.all:
2910+ print("Reached master bug LP: #%s" % master_number)
2911+ break
2912+ if int(task_number) == int(master_number):
2913+ continue
2914+ print('LP: #%s (%s, %s): Matched bug pattern: %s with %s dupes' % (task_number,
2915+ task.status, task.importance, match, master.number_of_duplicates))
2916+ if opt.consolidate:
2917+ bug = task.bug
2918+ if 'bot-stop-nagging' in bug.tags:
2919+ print('LP: #%s is tagged bot-stop-nagging' % (task_number))
2920+ continue
2921+ if bug.duplicate_of:
2922+ print('LP: #%s is already a duplicate of another bug' % (task_number))
2923+ break
2924+ elif int(bug.id) == int(master_number):
2925+ continue
2926+ mark_as_duplicate(master_number, bug)
2927+ elif match and opt.quiet:
2928+ print('%s' % (task_number))
2929
2930=== added file 'test-local'
2931--- test-local 1970-01-01 00:00:00 +0000
2932+++ test-local 2024-02-27 16:26:55 +0000
2933@@ -0,0 +1,69 @@
2934+#!/usr/bin/python3
2935+
2936+import sys
2937+
2938+import apport
2939+from apport.crashdb import get_crashdb
2940+from launchpadlib.launchpad import Launchpad
2941+from os.path import abspath
2942+
2943+from pprint import pprint
2944+def match_bug(bugnumber):
2945+ db = get_crashdb(None)
2946+ try:
2947+ report = db.download(bugnumber)
2948+ except IOError as e:
2949+ if 'CRC check failed' in e.message:
2950+ print('Skipping %s because it has a bad attachment' % bugnumber)
2951+ return
2952+
2953+ match = report.search_bug_patterns('file://' + abspath('./bugpatterns.xml'))
2954+
2955+ if match:
2956+ print('LP: #%s: Matched bug pattern: %s' % (bugnumber, match ))
2957+ else:
2958+ print('LP: #%s: No match' % bugnumber)
2959+
2960+lp = Launchpad.login_with('apport', 'production')
2961+
2962+if len(sys.argv) != 2:
2963+ print('Usage: %s <.crash file or bug number>' % sys.argv[0], file=sys.stderr)
2964+ sys.exit(1)
2965+
2966+if not sys.argv[1].isdigit():
2967+ report = apport.Report()
2968+ try:
2969+ f = open(sys.argv[1])
2970+ except IOError as e:
2971+ print('Cannot open report file: %s' % str(e), file=sys.stderr)
2972+ sys.exit(1)
2973+ report.load(f)
2974+ f.close()
2975+ match = report.search_bug_patterns('file://' + abspath('./bugpatterns.xml'))
2976+
2977+ if match:
2978+ print('LP: #%s: Matched bug pattern: %s' % ( sys.argv[1], match ))
2979+ sys.exit(0)
2980+ else:
2981+ print('LP: #%s: No match' % sys.argv[1])
2982+ sys.exit(1)
2983+else:
2984+ match_bug(sys.argv[1])
2985+
2986+ bug = lp.bugs[sys.argv[1]]
2987+ # if bug is a duplicate - call this for parent
2988+ if bug.duplicate_of:
2989+ dupe = bug.duplicate_of.id
2990+ print('LP: #%s is a duplicate of ....' % bug.id)
2991+ match_bug(dupe)
2992+ if bug.duplicates:
2993+ print("Checking duplicate bugs...")
2994+ for duplicate in bug.duplicates:
2995+ # Skip if not an apport bug
2996+ if 'apport-crash' in duplicate.tags or \
2997+ 'apport-package' in duplicate.tags or \
2998+ 'apport-kerneloops' in duplicate.tags or \
2999+ 'apport-bug' in duplicate.tags:
3000+ match_bug(duplicate.id)
3001+
3002+ sys.exit(0)
3003
3004=== added file 'update-tags'
3005--- update-tags 1970-01-01 00:00:00 +0000
3006+++ update-tags 2024-02-27 16:26:55 +0000
3007@@ -0,0 +1,129 @@
3008+#!/usr/bin/python
3009+# Author: Matt Zimmerman <mdz@ubuntu.com>
3010+# Copyright (C) 2011 Canonical, Ltd.
3011+# License: GPLv3
3012+#
3013+# Update the bugpattern-needed / bugpattern-written tags for bugs for which
3014+# patterns exist
3015+
3016+from launchpadlib.launchpad import Launchpad
3017+
3018+import xml.dom.minidom
3019+
3020+import argparse
3021+import sys
3022+
3023+BUGPATTERNS = 'bugpatterns.xml'
3024+
3025+class BugDatabase:
3026+ def __init__(self):
3027+ self.launchpad = None
3028+ self.ubuntu = None
3029+
3030+ def connect(self, authenticated=False):
3031+ progname = 'ubuntu-bugpatterns/update-tags'
3032+ root = 'staging'
3033+
3034+ if authenticated:
3035+ self.launchpad = Launchpad.login_with(progname, root)
3036+ else:
3037+ self.launchpad = Launchpad.login_anonymously(progname, root)
3038+
3039+ self.ubuntu = self.launchpad.distributions['ubuntu']
3040+
3041+# Launchpad makes this harder than this unfortunately :-(
3042+# def bugs_with_tag(self, tag):
3043+# bugs = set()
3044+# for task in self.ubuntu.searchTasks(tags=tag):
3045+# bugs.add(task.bug.id)
3046+# return bugs
3047+
3048+ def bug_has_tag(self, bug, tag):
3049+ return tag in self.launchpad.bugs[bug].tags
3050+
3051+ def bug_add_tag(self, bug, tag):
3052+ bug = self.launchpad.bugs[bug]
3053+ new_tags = bug.tags[:]
3054+ new_tags.append(tag)
3055+ bug.tags = new_tags
3056+ bug.lp_save()
3057+
3058+ def bug_remove_tag(self, bug, tag):
3059+ bug = self.launchpad.bugs[bug]
3060+ new_tags = bug.tags[:]
3061+ new_tags.remove(tag)
3062+ bug.tags = new_tags
3063+ bug.lp_save()
3064+
3065+def urls_from_dom(dom):
3066+ urls = set()
3067+
3068+ for pattern in dom.getElementsByTagName('pattern'):
3069+ if not pattern.attributes.has_key('url'): continue
3070+
3071+ url = pattern.attributes['url'].nodeValue
3072+
3073+ urls.add(url)
3074+
3075+ return urls
3076+
3077+def bug_numbers_from_urls(urls):
3078+ bug_numbers = set()
3079+ for url in urls:
3080+ if not 'launchpad.net/bugs/' in url: continue
3081+
3082+ bug_number = int(url.split('/')[-1])
3083+ bug_numbers.add(bug_number)
3084+ return bug_numbers
3085+
3086+def bug_to_url(bug):
3087+ return 'http://launchpad.net/bugs/%d' % bug
3088+
3089+def bugs_to_string(bugs):
3090+ '\n'.join(map(bug_to_url, bugs))
3091+
3092+def main():
3093+ parser = argparse.ArgumentParser(description='Fix up bugpattern-{needed,written} tags')
3094+ parser.add_argument("--file", help="File to read bugpatterns from", dest="file", action="store")
3095+ parser.add_argument("--dry-run", help="Dry run (make no changes)", dest="dry_run", action="store_true")
3096+ parser.add_argument("-r", help="Bazaar revisionspec to compare against when checking recent patterns (ignored for --all-patterns)", dest="revision", default='last:2')
3097+
3098+ args = parser.parse_args()
3099+
3100+ dom = xml.dom.minidom.parseString(open(BUGPATTERNS).read())
3101+ urls = urls_from_dom(dom)
3102+
3103+ bugs_with_patterns = bug_numbers_from_urls(urls)
3104+ if not bugs_with_patterns:
3105+ print "No patterns found"
3106+ return
3107+
3108+ print "Found bug patterns for %d bugs" % len(bugs_with_patterns)
3109+
3110+ db = BugDatabase()
3111+ db.connect(authenticated=not args.dry_run)
3112+
3113+ changes = set()
3114+ for bug in bugs_with_patterns:
3115+ if db.bug_has_tag(bug, 'bugpattern-needed'):
3116+ # remove the bugpattern-needed tag
3117+ changes.add((bug, 'bugpattern-needed', False))
3118+ if not db.bug_has_tag(bug, 'bugpattern-written'):
3119+ # add the bugpattern-written tag
3120+ changes.add((bug, 'bugpattern-written', True))
3121+
3122+ if changes:
3123+ for bug, tag, state in changes:
3124+ print "%s - %s %s" % (bug_to_url(bug), state and 'add' or 'remove', tag)
3125+ if args.dry_run: continue
3126+
3127+ if state:
3128+ db.bug_add_tag(bug, tag)
3129+ else:
3130+ db.bug_remove_tag(bug, tag)
3131+ else:
3132+ print "All good!"
3133+
3134+if __name__ == '__main__':
3135+ main()
3136+ sys.exit(0)

Subscribers

People subscribed via source and target branches