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

Holger Levsen holger at alioth.debian.org
Mon Jan 25 09:09:05 UTC 2010


Author: holger
Date: 2010-01-25 09:09:05 +0000 (Mon, 25 Jan 2010)
New Revision: 636

Added:
   piatti/home/piupartsm/bin/known_problems/pre_depends_error.conf
Modified:
   trunk/debian/changelog
   trunk/piuparts-report.py
Log:
report packages which failed due to a problem with pre-depends

Copied: piatti/home/piupartsm/bin/known_problems/pre_depends_error.conf (from rev 617, piatti/home/piupartsm/bin/known_problems/post_installation_script_error.conf)
===================================================================
--- piatti/home/piupartsm/bin/known_problems/pre_depends_error.conf	                        (rev 0)
+++ piatti/home/piupartsm/bin/known_problems/pre_depends_error.conf	2010-01-25 09:09:05 UTC (rev 636)
@@ -0,0 +1,14 @@
+#
+# detect packages which failed because of a problem with pre-depends
+#
+COMMAND=`rgrep -E "E: Couldn't configure pre-depend .* for .*, probably a dependency cycle." fail bugged | cut -d " " -f1 | sed -e "s#\.log:.*#.log#" | sort -u 2>/dev/null`
+ISSUE=0
+HEADER='Packages with failed logs because of a problem with pre-depends '
+HELPTEXT='
+<p>
+The package(s) in question fail(s) to install or upgrade properly, because a pre-dependent package could not be configured. This is likely due to a dependency cycle.
+<br>
+Note that it is possible, that aptitude can deal with (some of) such situations (ie upgrades), (by removing the packages first), while apt-get cannot. While it can be argued this is a problem in apt-get, it <b>is</b> also a problem in the package(s) listed below, as both aptitude and apt-get can be used for installing packages.
+</p>
+
+'

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2010-01-23 17:09:53 UTC (rev 635)
+++ trunk/debian/changelog	2010-01-25 09:09:05 UTC (rev 636)
@@ -4,6 +4,7 @@
      - report packages which failed due to broken maintainer scripts, 
        due to output from cron after removal and due to not enough force being 
        used.
+     - report packages which failed due to a problem with pre-depends.
      - visual improvements in the output.
      - ignore udebs and binaries from other archs too.
   * piupartsib/packagesdb.py: automatically break circular dependencies when

Modified: trunk/piuparts-report.py
===================================================================
--- trunk/piuparts-report.py	2010-01-23 17:09:53 UTC (rev 635)
+++ trunk/piuparts-report.py	2010-01-25 09:09:05 UTC (rev 636)
@@ -366,7 +366,8 @@
     "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",
-    "needs_remove_but_remove_is_disabled_error.tpl": "due a problem with piuparts not well understood yet"
+    "needs_remove_but_remove_is_disabled_error.tpl": "due a problem with piuparts not well understood yet",
+    "pre_depends_error.tpl": "due to a problem with pre-depends",
 }
 
 




More information about the Piuparts-commits mailing list