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

Holger Levsen holger at alioth.debian.org
Sat Sep 19 17:19:52 UTC 2009


Author: holger
Date: 2009-09-19 17:19:52 +0000 (Sat, 19 Sep 2009)
New Revision: 504

Added:
   piatti/home/piupartsm/bin/known_problems/insserv_error.conf
Modified:
   trunk/debian/changelog
   trunk/piuparts-report.py
Log:
 * piuparts-report.py: report packages failing due to insserv errors.
   (Closes: #546540) 


Added: piatti/home/piupartsm/bin/known_problems/insserv_error.conf
===================================================================
--- piatti/home/piupartsm/bin/known_problems/insserv_error.conf	                        (rev 0)
+++ piatti/home/piupartsm/bin/known_problems/insserv_error.conf	2009-09-19 17:19:52 UTC (rev 504)
@@ -0,0 +1,26 @@
+#
+# detect packages with fail due to insserv error
+#
+COMMAND=`rgrep "insserv: exiting now" 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 "insserv: exiting now"'
+HELPTEXT='
+<p>
+Some packages fail to install because the init.d script have
+conflicting provide.  This is normally reported like this:
+
+<pre>
+  insserv: script clvm: service lvm already provided!
+  insserv: exiting now!
+</pre>
+</p>
+
+<p>
+Other packages fail to install because their dependencies are missing.
+This is normally reported like this:
+<pre>
+  insserv: Service portmap has to be enabled to start service quotarpc
+  insserv: exiting now!
+</pre>
+</p>
+'


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

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2009-09-18 15:52:38 UTC (rev 503)
+++ trunk/debian/changelog	2009-09-19 17:19:52 UTC (rev 504)
@@ -1,3 +1,10 @@
+piuparts (0.37) UNRELEASED; urgency=low
+
+  * piuparts-report.py: report packages failing due to insserv errors.
+    (Closes: #546540) 
+
+ -- Holger Levsen <holger at debian.org>  Sat, 19 Sep 2009 19:17:03 +0200
+
 piuparts (0.36) unstable; urgency=low
 
   [ Holger Levsen ]

Modified: trunk/piuparts-report.py
===================================================================
--- trunk/piuparts-report.py	2009-09-18 15:52:38 UTC (rev 503)
+++ trunk/piuparts-report.py	2009-09-19 17:19:52 UTC (rev 504)
@@ -346,6 +346,7 @@
     "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_error.tpl": "dpkg --purge failed due to an unknown reason",
+    "insserv_error.tpl": "due to a problem with insserv",
     "unknown_failures.tpl": "unclassified failures",
     "command_not_found_issue.tpl": "but logfile contains 'command not found'",
 }




More information about the Piuparts-commits mailing list