[Slackbuilds-users] always run `mandb -c` after installing/removing manpages?
Arkadiusz Drabczyk
arkadiusz at drabczyk.org
Sun Aug 11 18:03:16 UTC 2024
In most packages manual page index caches are not updated which leads
to the following situation:
$ man -k zathura
zathura: nothing appropriate.
man -k can find the manpages only when caches are updated:
$ sudo mandb -c
$ man -k zathura
zathura (1) - a document viewer
zathurarc (5) - zathura configuration file
Unfortunately it takes some time, for example 10 seconds on my system.
sbopkglint already has 60-usr_info.t.sh, should a similar error
regarding manpages also be addded?
I know there is /etc/cron.daily/man-db but the command specified there
does not traverse /usr/man/man1/ where zathura manpages are located
for some reason:
$ man -w zathura
/usr/man/man1/zathura.1.gz
--
Arkadiusz Drabczyk <arkadiusz at drabczyk.org>
More information about the SlackBuilds-users
mailing list