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

Holger Levsen holger at alioth.debian.org
Mon Aug 17 20:53:44 UTC 2009


Author: holger
Date: 2009-08-17 20:53:43 +0000 (Mon, 17 Aug 2009)
New Revision: 484

Added:
   piatti/home/piupartsm/bin/known_problems/unknown_purge_failures.conf
Modified:
   trunk/piuparts-report.py
Log:
detect purge failures better

Added: piatti/home/piupartsm/bin/known_problems/unknown_purge_failures.conf
===================================================================
--- piatti/home/piupartsm/bin/known_problems/unknown_purge_failures.conf	                        (rev 0)
+++ piatti/home/piupartsm/bin/known_problems/unknown_purge_failures.conf	2009-08-17 20:53:43 UTC (rev 484)
@@ -0,0 +1,12 @@
+#
+# detect packages which try to overwrite other packages files
+#
+COMMAND=`rgrep -E "ERROR: Command failed .*'dpkg', '--purge', '--pending']" fail bugged|cut -d " " -f1|sed -e "s#log:#log#"|sort -u 2>/dev/null`
+ISSUE=0
+HEADER='Packages with failed logs because dpkg --purge --pending failed'
+HELPTEXT='
+<p>
+This is often because some dependencies have to be removed together and not seperatedly, and thus rather a bug in piuparts...
+</p>
+
+'


Property changes on: piatti/home/piupartsm/bin/known_problems/unknown_purge_failures.conf
___________________________________________________________________
Added: svn:executable
   + *

Modified: trunk/piuparts-report.py
===================================================================
--- trunk/piuparts-report.py	2009-08-11 09:09:51 UTC (rev 483)
+++ trunk/piuparts-report.py	2009-08-17 20:53:43 UTC (rev 484)
@@ -345,6 +345,7 @@
     "processes_running_error.tpl": "due to leaving processes running behind",
     "unowned_files_after_purge_error.tpl": "due to unowned files after purge",
     "conffile_prompt_error.tpl": "due to prompting due to modified conffiles",
+    "unknown_purge_failures.tpl": "dpkg --purge failed due to an unknown reason"
     "unknown_failures.tpl": "unclassified failures",
     "command_not_found_issue.tpl": "but logfile contains 'command not found'",
 }




More information about the Piuparts-commits mailing list