]> git.donarmstrong.com Git - debian/debian-policy.git/commitdiff
Add dependency recommendation for packages with info documents
authorRuss Allbery <rra@debian.org>
Sat, 15 Aug 2009 23:49:37 +0000 (16:49 -0700)
committerRuss Allbery <rra@debian.org>
Sat, 15 Aug 2009 23:49:37 +0000 (16:49 -0700)
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

index bcbaacb2073e0ae65da43e0288b59c3cfdc2c986..f6c8bbff20359d1de1151b20a4e4aa82bd2ccacd 100644 (file)
@@ -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>