[Piuparts-commits] [SCM] piuparts git repository branch, piatti.git, updated. f3d478e5f291baaf9e84d1982ca5e2e6b353a232

Andreas Beckmann debian at abeckmann.de
Sun Apr 1 08:47:59 UTC 2012


The following commit has been merged in the piatti.git branch:
commit 9a68498c63216fc4e9b2bca1addf349960f70713
Author: Andreas Beckmann <debian at abeckmann.de>
Date:   Mon Feb 20 15:19:40 2012 +0100

    known_problems: report failed packages leaving alternatives
    
    Add a report for failed packages that leave unowned files in
    /etc/alternatives (and probably dangling symlinks in /usr/bin)
    after purge.
    
    Signed-off-by: Andreas Beckmann <debian at abeckmann.de>

diff --git a/home/piupartsm/bin/known_problems/alternatives_after_purge_error.conf b/home/piupartsm/bin/known_problems/alternatives_after_purge_error.conf
new file mode 100644
index 0000000..1e48c26
--- /dev/null
+++ b/home/piupartsm/bin/known_problems/alternatives_after_purge_error.conf
@@ -0,0 +1,16 @@
+#
+# detect packages with unowned files in /etc/alternatives after purge (policy 6.8)
+#
+COMMAND='grep -E "/etc/alternatives/.*not owned"'
+WHERE='fail bugged'
+ISSUE=0
+HEADER='Packages with leftover alternatives after purge'
+HELPTEXT='
+<p>
+Packages with unowned files in /etc/alternatives after purge (violating policy 6.8) see
+<a href="http://www.debian.org/doc/debian-policy/ch-maintainerscripts.html#s-removedetails">http://www.debian.org/doc/debian-policy/ch-maintainerscripts.html#s-removedetails</a>
+</p>
+<p>
+Alternatives are usually registered with update-alternatives in <b>postinst configure</b> and need to be unregistered again in <b>prerm remove</b>.
+</p>
+'

-- 
piuparts git repository



More information about the Piuparts-commits mailing list