Bug#587377: debian-policy: Decide on arbitrary file/path names limit
Jonathan Nieder <firstname.lastname@example.org> writes:
> This is a hard one. I agree that dpkg shouldn't enforce this (though
> perhaps it could recover better).
> To throw out a strawman, I suppose 256 characters should be a reasonable
> maximum for paths in Debian packages.
Running a variant of your script (modified to consult $1 rather than $0
and account for leading slashes) against uncompressed amd64 Contents
files gives a maximum length of 211 characters at present for testing
and unstable, corresponding to
so it looks like a limit of 256 should indeed be ample.
Thanks for taking the time to revisit this issue, BTW.
Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org)
http://www.mit.edu/~amu/ | http://email@example.com