When I try to get the manpages with man
it seems to display nothing and behaves as though I just pressed enter
~$ man ls
~$ man man
I have tried solutions from these pages to no avail
question1 question2. This last question matches my condition exactly but the fixes doesn't seem to work. Although info
seems to work.
Here are some additional information:
~$ man --version
man 2.7.6.1
~$ type -p man
/usr/bin/man
~$ type -t man
file
~$ manpath
/home/abhilash/anaconda3/man:/usr/local/man:/usr/local/share/man:/usr/share/man:/usr/lib/jvm/java-8-oracle/man
~$ uname -a
Linux abhilash-ThinkPad-T440 4.13.0-38-generic #43-Ubuntu SMP Wed Mar 14 15:20:44 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
UPDATE
~$ type -a man
man is /usr/bin/man
~$ env | grep 'PAGER\|^MAN'
~$
UPDATE 2
~$ ls -1 /usr/share/man/man1 | wc -l
2145
~$ ls -l "$(type -p pager)"
lrwxrwxrwx 1 abhilash abhilash 18 Apr 16 18:43 /home/abhilash/anaconda3/bin/pager -> ../lib/R/bin/pager
~$ ls -l "$(readlink "$(type -p pager)")"
ls: cannot access '../lib/R/bin/pager': No such file or directory