From 245bc78ea9d0592c49d0a36b1faa67f49fd14d7e Mon Sep 17 00:00:00 2001
From: Russ Allbery <rra@debian.org>
Date: Sat, 15 Aug 2009 16:49:37 -0700
Subject: [PATCH] Add dependency recommendation for packages with info
 documents
MIME-Version: 1.0
Content-Type: text/plain; charset=utf8
Content-Transfer-Encoding: 8bit

This is an additional fix for #538665.  Recommend a dependency that
ensures a triggerized install-info is available so that the dir file
will be properly rebuilt on partial upgrades from lenny.  Reviewed
by Bill Allombert and Raphaël Hertzog.
---
 policy.sgml | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/policy.sgml b/policy.sgml
index bcbaacb..f6c8bbf 100644
--- a/policy.sgml
+++ b/policy.sgml
@@ -8867,7 +8867,11 @@ name ["<var>syshostname</var>"]:
 	    scripts.  This is no longer necessary.  The installation
 	    system now uses dpkg triggers.
 	  </footnote>
-	  This file must not be included in packages.
+	  This file must not be included in packages.  Packages containing
+	  info documents should depend on <tt>dpkg (>= 1.15.4) |
+	  install-info</tt> to ensure that the directory file is properly
+	  rebuilt during partial upgrades from Debian 5.0 (lenny) and
+	  earlier.
 	</p>
 
 	<p>
-- 
2.39.5