Package: man-db Version: 2.7.5-1 Severity: normal I just noticed that man pages installed in ~/.local/share/man are not found by apropos. This appears to be because there’s no database for this directory. man finds the directory via the corresponding ~/.local/bin entry in PATH. It would be nice if apropos worked too. Since a workaround is to use man -K, how about defaulting -k to try the -K method where no database or whatis file is found?
-- System Information: Debian Release: stretch/sid APT prefers xenial-updates APT policy: (500, 'xenial-updates'), (500, 'xenial-security'), (500, 'xenial'), (100, 'xenial-backports') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.8.0-58-generic (SMP w/4 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages man-db depends on: ii bsdmainutils 9.0.6ubuntu3 ii debconf [debconf-2.0] 1.5.58ubuntu1 ii dpkg 1.18.4ubuntu1.2 ii groff-base 1.22.3-7 ii libc6 2.23-0ubuntu9 ii libgdbm3 1.8.3-13.1 ii libpipeline1 1.4.1-2 ii zlib1g 1:1.2.8.dfsg-2ubuntu4.1 man-db recommends no packages. Versions of packages man-db suggests: ii chromium-browser [www-browser] 59.0.3071.109-0ubuntu0.16.04.1291 ii firefox [www-browser] 54.0+build3-0ubuntu0.16.04.1 ii groff 1.22.3-7 ii less 481-2.1ubuntu0.2 ii links [www-browser] 2.12-1 ii lynx [www-browser] 2.8.9dev8-4ubuntu1 ii w3m [www-browser] 0.5.3-26ubuntu0.1 -- debconf information: man-db/install-setuid: false man-db/auto-update: true