From: Russ Allbery
Date: Sat, 15 Aug 2009 23:49:37 +0000 (-0700)
Subject: Add dependency recommendation for packages with info documents
X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=245bc78ea9d0592c49d0a36b1faa67f49fd14d7e;p=debian%2Fdebian-policy.git
Add dependency recommendation for packages with info documents
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.
---
diff --git a/policy.sgml b/policy.sgml
index bcbaacb..f6c8bbf 100644
--- a/policy.sgml
+++ b/policy.sgml
@@ -8867,7 +8867,11 @@ name ["syshostname"]:
scripts. This is no longer necessary. The installation
system now uses dpkg triggers.
- This file must not be included in packages.
+ This file must not be included in packages. Packages containing
+ info documents should depend on dpkg (>= 1.15.4) |
+ install-info to ensure that the directory file is properly
+ rebuilt during partial upgrades from Debian 5.0 (lenny) and
+ earlier.