News for hackers. Stuff that matters.
Re:Why is Debian the way it is? by pabs3 on Monday October 09, 2023 @02:22AM (#37817476)
The spec for .deb packages is in the deb(5) manual page:

https://manpages.debian.org/bookworm/dpkg-dev/deb.5.en.html

Re:Why is Debian the way it is? by klysm on Monday October 09, 2023 @01:22PM (#37822802)
That's not a 'spec' - it's a vague description of the archive names.
Re:Why is Debian the way it is? by pabs3 on Tuesday October 10, 2023 @03:27AM (#37829405)
It and the other manual pages linked from it contain everything you need to make a .deb from scratch.
Re:Why is Debian the way it is? by klysm on Wednesday October 11, 2023 @12:21AM (#37840853)
I can’t find it right now, but the Debian docs explicitly indicate that you shouldn’t do that because the internal format is not stable. It has changed significantly in the past, and the only “supported” way to do it is with the official Debian tools
Re:Why is Debian the way it is? by pabs3 on Wednesday October 11, 2023 @04:12AM (#37842084)
The .deb format doesn't change significantly at all, the only changes in recent years have been changes to default compression choices (old ones are retained forever though) and some additional fields in the control file.

The only significant future change I can think of is the mtree stuff, which would add an additional metadata file to .deb files.

There are several warts in the .deb file format that the dpkg folks aren't fixing because of compatibility concerns.

https://wiki.debian.org/Teams/Dpkg/RoadMap https://wiki.debian.org/Teams/Dpkg/Spec/MetadataTracking https://wiki.debian.org/Teams/Dpkg/TimeTravelFixes