From: Russ Allbery Date: Fri, 7 Aug 2009 20:24:46 +0000 (-0700) Subject: Improve the Installed-Size wording X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=3c12ccafb5b8b42035ee670f2e0f5d3fa1277147;p=debian%2Fdebian-policy.git Improve the Installed-Size wording Avoid the term kibibytes, which is controversial. Document that Installed-Size is only an estimate and may vary based on block size, file system properties, and actions taken by maintainer scripts. --- diff --git a/debian/changelog b/debian/changelog index c0970a0..2552d22 100644 --- a/debian/changelog +++ b/debian/changelog @@ -24,8 +24,8 @@ debian-policy (3.8.3.0) UNRELEASED; urgency=low warnings against its use. Thanks, Steve Langasek. (Closes: #533577) * Add references to the sections on Breaks and Conflicts to the section on binary dependencies. Thanks, Frank Küster. (Closes: #529771) - * Clarify that Installed-Size is in kibibytes. Thanks, Martin Dorey. - (Closes: #534408) + * Clarify the units of Installed-Size and document that it is an + approximation. Thanks, Martin Dorey. (Closes: #534408) * Explain that the copyright dates are for the original Policy manual and that there is no updated list of copyright holders for subsequent revisions available. (Partly addresses #47438) diff --git a/policy.sgml b/policy.sgml index d02f6c1..3c5a22d 100644 --- a/policy.sgml +++ b/policy.sgml @@ -3291,16 +3291,17 @@ Package: libc6 Installed-Size

- This field appears in the control files of binary - packages, and in the Packages files. It gives - the total amount of disk space required to install the - named package. + This field appears in the control files of binary packages, + and in the Packages files. It gives an + estimation the total amount of disk space required to install + the named package. Actual installed size may vary based on + block size, file system properties, or actions taken by + package maintainer scripts.

- The disk space is given as the integer value of the installed - size divided by 1024 (in other words, the size in kibibytes) - and rounded up. + The disk space is given as the integer value of the estimated + installed size in bytes, divided by 1024 and rounded up.