[Piuparts-commits] rev 634 - piatti/home/piupartsm/bin/known_problems trunk

Holger Levsen holger at alioth.debian.org
Mon Jan 11 12:50:05 UTC 2010


Author: holger
Date: 2010-01-11 12:50:03 +0000 (Mon, 11 Jan 2010)
New Revision: 634

Added:
   piatti/home/piupartsm/bin/known_problems/needs_remove_but_remove_is_disabled_error.conf
Modified:
   trunk/piuparts-report.py
Log:
detect problems due to a piuparts problem not well understood yet

Copied: piatti/home/piupartsm/bin/known_problems/needs_remove_but_remove_is_disabled_error.conf (from rev 617, piatti/home/piupartsm/bin/known_problems/insserv_error.conf)
===================================================================
--- piatti/home/piupartsm/bin/known_problems/needs_remove_but_remove_is_disabled_error.conf	                        (rev 0)
+++ piatti/home/piupartsm/bin/known_problems/needs_remove_but_remove_is_disabled_error.conf	2010-01-11 12:50:03 UTC (rev 634)
@@ -0,0 +1,11 @@
+#
+# detect packages with fail due a problem not well understood yet
+#
+COMMAND=`rgrep "E: Packages need to be removed but remove is disabled." fail bugged | cut -d " " -f1 | sed -e "s#\.log:.*#.log#" | sort -u 2>/dev/null`
+ISSUE=0
+HEADER='Packages with failed logs with the string "E: Packages need to be removed but remove is disabled."'
+HELPTEXT='
+<p>
+These packages need to be rescheduled for a new piuparts run (this happens semi-automatically, if not, please complain). The reason for this kind of problem is not well understood yet.
+</p>
+'

Modified: trunk/piuparts-report.py
===================================================================
--- trunk/piuparts-report.py	2010-01-09 15:12:48 UTC (rev 633)
+++ trunk/piuparts-report.py	2010-01-11 12:50:03 UTC (rev 634)
@@ -365,7 +365,8 @@
     "pre_removal_script_error.tpl": "due to pre-removal maintainer script failed",
     "post_removal_script_error.tpl": "due to post-removal maintainer script failed",
     "cron_error_after_removal_error.tpl": "due to errors from cronjob after removal",
-    "problems_and_no_force_error.tpl": "due to not enough force being used"
+    "problems_and_no_force_error.tpl": "due to not enough force being used",
+    "needs_remove_but_remove_is_disabled_error.tpl": "due a problem with piuparts not well understood yet"
 }
 
 




More information about the Piuparts-commits mailing list