[Piuparts-commits] [piuparts] 15/51: known problems: detect trigger problems
Holger Levsen
holger at layer-acht.org
Thu Jul 20 21:15:02 UTC 2017
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch develop
in repository piuparts.
commit c099c1f47015e839bc216fb72d00d24693adad28
Author: Andreas Beckmann <anbe at debian.org>
Date: Sun Jun 18 15:09:27 2017 +0200
known problems: detect trigger problems
Signed-off-by: Andreas Beckmann <anbe at debian.org>
Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
debian/changelog | 2 ++
known_problems/trigger_cycle_error.conf | 12 ++++++++++++
piuparts-report.py | 1 +
3 files changed, 15 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 2f4063d..eda530b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -84,6 +84,8 @@ piuparts (0.78) UNRELEASED; urgency=medium
- Report the issues found in each logfile.
- Recognize more problems caused by a full filesystem.
- Recognize more failures when connecting to databases.
+ * Add known_problems/trigger_cycle_error.conf to report trigger cycles and
+ other trigger problems.
* Add bug templates for failing to upgrade from stretch to buster.
[ Holger Levsen ]
diff --git a/known_problems/trigger_cycle_error.conf b/known_problems/trigger_cycle_error.conf
new file mode 100644
index 0000000..581f1c8
--- /dev/null
+++ b/known_problems/trigger_cycle_error.conf
@@ -0,0 +1,12 @@
+#
+# detect packages which failed because dpkg encountered trigger problems
+#
+PATTERN='dpkg: cycle found while processing triggers|dpkg: dependency problems prevent processing triggers'
+WHERE='fail bugged affected'
+ISSUE=0
+HEADER='Packages with failed logs because dpkg encountered trigger problems'
+HELPTEXT='
+<p>
+This is a bug in ???, but it may have to be worked around in some (unrelated) packages.
+</p>
+'
diff --git a/piuparts-report.py b/piuparts-report.py
index e64f797..15f5e78 100644
--- a/piuparts-report.py
+++ b/piuparts-report.py
@@ -474,6 +474,7 @@ linktarget_by_template = [
("db_setup_error.tpl", "due to failing to setup a database"),
("insserv_error.tpl", "due to a problem with insserv"),
("problems_and_no_force_error.tpl", "due to not enough force being used"),
+ ("trigger_cycle_error.tpl", "due to dpkg encountered trigger problems"),
("immediate_configuration_error.tpl", "due to apt could not perform immediate configuration"),
("pre_depends_error.tpl", "due to a problem with pre-depends"),
("pre_installation_script_error.tpl", "due to pre-installation maintainer script failed"),
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/piuparts/piuparts.git
More information about the Piuparts-commits
mailing list