Ubuntu – Problems with man pages

command linemanpage

after trying to install man pages in italian language I get this error:

man ls
man: can't resolve /usr/share/man/man1/ls.1.gz: No such file or directory
No manual entry for ls
See 'man 7 undocumented' for help when manual pages are not available.

Actually I deleted the man* folders in /usr/shar/man/. How can I solve? I don't want the italian pages, just fix this error


After a reboot, the folders has appeared again, but inside there aren't .gz files, there are files like:


where the numbers are the same of the folder man[1-9]

Best Answer

First reinstall the man-db package, which contains the basic manual infrastructure

sudo apt-get install --reinstall man-db

Then if an individual man page is missing, reinstall the package of the program in question, which should also contain the man pages. For ls, the package is coreutils.

Related Question