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.


1 Answer 1


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.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.