I have just installed F38 in an LXC container from https://images.linuxcontainers.org/ I’ve been a Fedora user since before it was branched off from RedHat.
man [anything] returns “No manual entry for [anything]”, so I presumed the base package was not installed, but
dnf install man-pages said it was.
mandb seems to work in the sense that it exits cleanly and does not report an error:
Purging old database entries in /usr/share/man…
Processing manual pages under /usr/share/man…
Updating index cache for path `/usr/share/man/man7’. Wait…done.
Checking for stray cats under /usr/share/man…
Checking for stray cats under /var/cache/man…
Purging old database entries in /usr/local/share/man…
Processing manual pages under /usr/local/share/man…
Checking for stray cats under /usr/local/share/man…
Checking for stray cats under /var/cache/man/local…
1 man subdirectory contained newer manual pages.
0 manual pages were added.
0 stray cats were added.
0 old database entries were purged.
There is almost nothing in
/usr/share/man, eg. 6 entries in
/usr/share/man/man1, most of which are from subsequently installed packages. But the strangest part is they are all symlinks to non-existent files in
/etc/alternatives – sort of: Some of the paths do exists, but they are also symlinks, to paths in
> stat /usr/share/man/man1/man.1.gz
File: /usr/share/man/man1/man.1.gz -> /etc/alternatives/man.1.gz
> stat /etc/alternatives/man.1.gz
File: /etc/alternatives/man.1.gz -> /usr/share/man/man1/man.man-db.1.gz
This includes pages subsequently installed from a package, so man-db or dnf or something seems to have done this.
Anyone have any idea how this happened?