Ubuntu – Man pages are shuffled

manUbuntu

man has no section 2. /usr/share/man/man2 is empty. fork(2) is actually fork(3) and there is no printf(3), printf(2), execve(2), or execve(3). How do I fix my man pages?

I'm on Ubuntu 16.04 and man-db is already installed and reinstalled.

Best Answer

The execve(2), fork(2) and printf(3) manpages are all in the manpages-dev package:

sudo apt install manpages-dev

will make them available.