[Piuparts-commits] [SCM] piuparts git repository branch, develop, updated. 0.44-648-g94fa298

Andreas Beckmann debian at abeckmann.de
Sun Jun 3 08:37:16 UTC 2012


The following commit has been merged in the develop branch:
commit 94fa298efa339b4b09b2b79bbf2ced677d76f215
Author: Andreas Beckmann <debian at abeckmann.de>
Date:   Sat Jun 2 20:46:56 2012 +0200

    new known problem: "packages have been kept back"
    
    apt may decide not to upgrade some packages due to dependency issues.
    This results in unexpected behavior and successful (because silently
    skipped) tests. These logs should be manually investigated.
    
    Signed-off-by: Andreas Beckmann <debian at abeckmann.de>

diff --git a/debian/changelog b/debian/changelog
index c6783be..765d529 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -80,6 +80,7 @@ piuparts (0.45) UNRELEASED; urgency=low
     - Establish packagesdb working directory in Section.
     - Handle logs in /affected/ directories.
     - detect_well_known_errors: Add bug links if bugs are known.
+    - New known issue: "packages have been kept back".
   * piuparts-analyze.py:
     - Don't report further bugs/versions if we found a match.
     - Classify logs with bugs filed into /bugged/ or /affected/.
diff --git a/home/piupartsm/bin/known_problems/packages_have_been_kept_back_issue.conf b/home/piupartsm/bin/known_problems/packages_have_been_kept_back_issue.conf
new file mode 100644
index 0000000..3d64359
--- /dev/null
+++ b/home/piupartsm/bin/known_problems/packages_have_been_kept_back_issue.conf
@@ -0,0 +1,13 @@
+#
+# detect possible dependency issues
+#
+COMMAND='grep "packages have been kept back"'
+WHERE='fail bugged affected pass'
+ISSUE=1
+HEADER='Packages with logs with the string "packages have been kept back"'
+HELPTEXT='
+<p>
+"packages have been kept back" usually indicates some dependency issue
+that caused apt to not fully upgrade the system.
+</p>
+'
diff --git a/piuparts-report.py b/piuparts-report.py
index b2abb97..0c3d6c1 100644
--- a/piuparts-report.py
+++ b/piuparts-report.py
@@ -378,6 +378,7 @@ linktarget_by_template = [
     ("unowned_files_after_purge_issue.tpl", "but logfile contains unowned files after purge"),
     ("maintainer_script_issue.tpl", "but logfile contains maintainer script failures"),
     ("broken_symlinks_issue.tpl", "but logfile contains 'broken symlinks'"),
+    ("packages_have_been_kept_back_issue.tpl", "but logfile contains 'packages have been kept back'"),
 
     ("dependency_error.tpl", "due to unsatisfied dependencies"),
     ("command_not_found_error.tpl", "due to a 'command not found' error"),

-- 
piuparts git repository



More information about the Piuparts-commits mailing list