On Sat, 11 Feb 2017, Russ Allbery wrote:

Philippe Michel <philippe.mich...@sfr.fr> writes:

The two-sided bearoff database, gnubg_ts0.bd, is not included in
gnubg-data.

Yes, the user is prompted to generate it when the package is installed,
since it's fairly fast to generate on modern CPUs and extremely large to
ship in the archive.

If you're not seeing that prompt, check your debconf settings with
dpkg-reconfigure debconf.  You probably have prompting turned up to
high or critical or otherwise disabled.

I'm new to Debian and didn't know of this feature. Prompting is indeed set to high but this is the default.

That said, the default (if prompting is supppressed) is currently not to
generate the database, and it's fast enough to generate that I think that
default may be incorrect.  I'll look at changing the default in the next
upload.

If the alternative is no database at all, I think the prompt level should be raised to have the question asked with the default debconf setting (and the user somehow goaded into creating the database :-).

If there is one, possibly smaller than the upstream default, either packaged or generated at install time, the current behaviour seems reasonable but maybe superfluous except if you get fancy and allow to choose the size of the database to be created.

I'm surprised you find the default gnubg_ts0.bd "extremely large", though. It's 6M (if compressed) when the current gnubg-data package is about 11M, most of it documentation rather than data used by the software.

If size really matters, why not split this into gnubg-doc and gnubg-data, the latter including ts0.bd and being a prerequisite contrary to the former.

Reply via email to