Re: man -k and man -f not working with pkgbase 15-stable installation

From: Lexi Winter <ivy_at_freebsd.org>
Date: Mon, 15 Sep 2025 23:21:35 UTC
Lexi Winter:
> polyduekes@proton.me:
> > [...] rebooted into the freshly installed system, tried doing man -k
> > dtrace, got "apropos: nothing appropriate" weird,  tried doing man -f
> > dtrace, again got "whatis: nothing appropriate", tried the same with
> > other manpages like "sh" and the other result was the same [...]
> 
> the problem here seems to be that makewhatis isn't run by pkg when (new)
> manpages are installed.

this will be fixed by https://reviews.freebsd.org/D52564, which causes
makewhatis(8) to be run when new packages are installed.

this requires the pkg(8) PR https://github.com/freebsd/pkg/pull/2516,
which allows pkg to search for triggers in /usr/share/pkg and not just
/usr/local/share/pkg.

i hope to land both of these changes for 15.0-RELEASE.