I tried that but manpath.config being readonly I don't want to tamper with it. Instead I tried to add the nginx.1.gz manpage downloaded from http://manpages.ubuntu.com/manpages/precise/man1/nginx.1.html and I put it in /usr/share/man/man1/ then ran mandb but it didn't find the new file. Any ideas? – czzarrAug 20 '12 at 20:40
Try adding the line MANDATORY_MANPATH <directory containing manpage> to /etc/manpath.config If it breaks something, you can just remove that line from the file. You'll need to use sudo to edit the file (e.g., sudo gedit /etc/manpath.config from the command line will work). – dxvxdAug 21 '12 at 4:04