Hello, On Thu 05 Dec 2024 at 10:13am -08, Josh Triplett wrote:
> Package: debian-policy > Version: 4.7.0.1 > Severity: wishlist > Tags: patch > X-Debbugs-Cc: j...@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. > > To the best of my knowledge, this documents existing behavior, and will > not introduce any new bugs on any packages. We already have the requirement that packages don't depend on /usr/share/doc existing, indeed. It certainly makes sense to extend this to forms of documentation installed outside of /usr/share/doc. /usr/share/locale sounds like a valuable, but trickier change. Locales are more entangled with their software than is documentation. In either case, we wouldn't want to make very many packages buggy with this change. Do you have any ideas for determining which packages currently break if the local admin nukes these directory hierarchies? -- Sean Whitton