Bug#531611: marked as pending

Raphael Hertzog hertzog at debian.org
Sun Jun 7 20:04:04 UTC 2009


tag 531611 pending
thanks

Hello,

Bug #531611 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:

    http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=057523d

---
commit 057523d0a806a3cb5be38c8da1a2fc3f044ef4cc
Author: Raphael Hertzog <hertzog at debian.org>
Date:   Sun Jun 7 18:05:20 2009 +0200

    Remove invalid master alternatives on upgrade
    
    update-alternatives was very laxist in its past and allowed things that
    are now rightfully forbidden. For example, you can't use alternatives as
    slave when it's a master alternative already. However there is sometimes
    cruft files in /var/lib/dpkg/alternatives/ due to historical changes (or
    bugs) that incorrectly trigger this check.
    
    We avoid this problem by removing the conflicting files on upgrade.

diff --git a/debian/changelog b/debian/changelog
index 03ea52d..31e1e3b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,8 @@ dpkg (1.15.3) UNRELEASED; urgency=low
   [ Raphael Hertzog ]
   * Unset TAR_OPTIONS when creating/extracting tar archives for source
     packages. Closes: #530860
+  * Add cleanup of known invalid (master) alternatives in preinst script.
+    Closes: #530633, #531611
 
   [ Updated dpkg translations ]
   * Simplified Chinese (Deng Xiyue). Closes: #531387






More information about the pkg-gnome-maintainers mailing list