Ubuntu: problems with man pages



Question:

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

EDIT

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

file.[1-9]  

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


Solution:1

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.


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »