Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Sep 2025 17:08:37 +0100
From:      Lexi Winter <ivy@freebsd.org>
To:        polyduekes@proton.me
Cc:        "freebsd-stabe@freebsd.org" <freebsd-stabe@freebsd.org>, "freebsd-pkgbase@freebsd.org" <freebsd-pkgbase@freebsd.org>
Subject:   Re: man -k and man -f not working with pkgbase 15-stable installation
Message-ID:  <aMbohRlVbPTp6Dwd@amaryllis.le-fay.org>
In-Reply-To: <ZMo1-6b921XJ-Hq1Z2fpy_wKP0PwR3_hv80BOWsky2cLZ3ZwZMUGPoZ6sTsfDjYy5a7w2XCCFG__FqmCTL5iJgKSGZ6bA6Z5-ojw66cKV10=@proton.me>
References:  <ZMo1-6b921XJ-Hq1Z2fpy_wKP0PwR3_hv80BOWsky2cLZ3ZwZMUGPoZ6sTsfDjYy5a7w2XCCFG__FqmCTL5iJgKSGZ6bA6Z5-ojw66cKV10=@proton.me>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
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.

after discussing this with kevans and bapt, i think we can fix this by
using pkg-triggers(5) to run makewhatis after packages that contain
manpages are installed.  i'll probably combine with this splitting
mandoc into its own package.

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----

iHUEABYKAB0WIQSyjTg96lp3RifySyn1nT63mIK/YAUCaMbohQAKCRD1nT63mIK/
YJR4AP0TvismiS64lfPFIiZuguTWcDSCgZDD1SWwNBqR68kRFgEAkstZiEyTP4fN
OS+6Be7hiDFJorBtNm6EoNjnG21gyQk=
=U7Lt
-----END PGP SIGNATURE-----
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?aMbohRlVbPTp6Dwd>