The following commit has been merged in the master branch:
commit 346e694287e999e23e6885e9511bd8503ede1b93
Author: Guillem Jover <guil...@debian.org>
Date:   Sat Jun 26 03:08:15 2010 +0200

    libdpkg: Remove obsolete internal status aliases
    
    The strings are “postinst-failed” for stat_halfconfigured and
    “removal-failed” for stat_halfinstalled.
    
    These were used for backward compatibility during upgrades from ancient
    dpkg versions. As they should not appear in newer status files, it's
    really safe to remove them now.

diff --git a/debian/changelog b/debian/changelog
index 3a3388f..ab691ad 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -54,6 +54,8 @@ dpkg (1.15.8) UNRELEASED; urgency=low
     files on package installation. This allows embedded systems to skip
     /usr/share/doc, manpages, etc. Based on work from Tollef Fog Heen and
     Martin Pitt, thanks! Closes: #68788, #68861, #497304, #525567, #583902
+  * Remove obsolete internal status aliases “postinst-failed” for
+    stat_halfconfigured and “removal-failed” for stat_halfinstalled.
 
   [ Updated programs translations ]
   * German (Sven Joachim).
diff --git a/lib/dpkg/parsehelp.c b/lib/dpkg/parsehelp.c
index 7542b47..928ffb7 100644
--- a/lib/dpkg/parsehelp.c
+++ b/lib/dpkg/parsehelp.c
@@ -109,11 +109,6 @@ const struct namevalue statusinfos[] = {
   NAMEVALUE_DEF("triggers-awaited", stat_triggersawaited),
   NAMEVALUE_DEF("triggers-pending", stat_triggerspending),
   NAMEVALUE_DEF("installed",        stat_installed),
-  /* These are additional entries for reading only, in any order ... */
-  /* XXX: backwards compat., remove. */
-  { .name = "postinst-failed", .value = stat_halfconfigured, .length = 15 },
-  /* XXX: backwards compat., remove. */
-  { .name = "removal-failed",  .value = stat_halfinstalled, .length = 14 },
   { .name = NULL }
 };
 

-- 
dpkg's main repository


-- 
To UNSUBSCRIBE, email to debian-dpkg-cvs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to