On Sun, Feb 16, 2025 at 02:34:37PM +0100, Joerg Jaspert wrote: > On 17507 March 1977, Niels Thykier wrote: > > > Given recent changes to `debhelper` and `debputy`, it might be doable to > > have our build toolds set the `Commands` header in the `.deb` (based on > > a substvar). Both stacks have some support for declarative alternatives > > and can add those automatically. > > > The "downside" to this approach is that the field will "build up" over > > time. Notably, for the `debhelper` stack, it will depend on compat 14 > > (due to a dependency in the code). > > I don't think its a big downside. > > > Anyhow, let me know if this approach might be interesting as an > > alternative to the original proposal (which does not seem to have gotten > > any traction). > > I'm in for the commands field.
This seems to work, yes: $ cat /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_noble_universe{_binary-amd64_Packages,_cnf_Commands-amd64} | gzip | wc -c 19795265 $ cat /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_noble_universe_binary-amd64_Packages | gzip | wc -c 19437112 The file size doesn't change significantly; so the extra Commands file is redundant. -- debian developer - deb.li/jak | jak-linux.org - free software dev ubuntu core developer i speak de, en