Bug#1089110: [PATCH] Document that packages cannot require man / info / locale files
On Thu, Dec 05, 2024 at 10:13:24AM -0800, Josh Triplett wrote:
> Package: debian-policy
> Version: 4.7.0.1
> Severity: wishlist
> Tags: patch
> X-Debbugs-Cc: josh@joshtriplett.org
>
> Packages already tend to avoid requiring any files from /usr/share/man
> or /usr/share/info, and don't require files in /usr/share/locale if
> running in a C or C.UTF-8 locale.
>
> The attached patch documents this in Policy, so that it's explicitly
> supported for sysadmins to use dpkg exclusions or similar mechanisms to
> delete /usr/share/doc, /usr/share/info, and /usr/share/locale.
You mean /usr/share/man
> To the best of my knowledge, this documents existing behavior, and will
> not introduce any new bugs on any packages.
Well, I would like to see some hard evidence.
For example, is it OK to build Debian packages on such systems?
What is a graceful failure for some script is a crash for another...
Cheers,
Bill.
Reply to: