mirror of
https://github.com/quamotion/dotnet-packaging.git
synced 2026-02-14 13:45:53 +00:00
Debian Packages fail with file names > 100 characters #20
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @qmfrederik on GitHub (Nov 4, 2017).
The
TarHeaderclass defines the filename aschar[100]so anything beyond 100 characters isn't accepted as a file name.There seem to be various extensions to the original tar format which work around this; from the dpkg manual:
@qmfrederik commented on GitHub (Nov 4, 2017):
Example of a Debian package with file names > 100 characters (to figure out how Debian handles this natively):
https://packages.debian.org/stretch/all/libmono-system-runtime-interopservices-runtimeinformation4.0-cil/filelist
@ichan-akira commented on GitHub (Jul 22, 2021):
Hi @qmfrederik this solution you've created 4 years ago really help me to solve the same problem which is file name > 100 characters in *.deb package. That's why I am planning to fix issue I open at https://github.com/ygoe/DotnetMakeDeb/issues/3. It is ok for me to adapt your method?
Thanks in advance 🙇
@qmfrederik commented on GitHub (Jul 22, 2021):
Sure, go ahead! If you're just drawing inspiration from here (which is basically a reflection of what the standards say): glad I could help. If you're copying non-trivial of the code: then please keep track of the copyright statements & licenses 😄 .
@ichan-akira commented on GitHub (Jul 22, 2021):
Thanks @qmfrederik, the specific code that inspired from your solution is this.
I hope everything is ok and no copyright infringement is made. 🙇 🙏