man doesn't display anything after package installation with conda on Ubuntu 17.10

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
8
down vote

favorite












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






share|improve this question






















  • Show also: type -a man and env | grep 'PAGER|^MAN'
    – glenn jackman
    Apr 19 at 15:31











  • I've added them as an update
    – Abhilash
    Apr 19 at 15:39










  • Do you have any files in /usr/share/man/man1/?
    – terdon♦
    Apr 19 at 16:01






  • 2




    How about ls -l "$(type -p pager)" and (assuming it is a symlink): ls -l "$(readlink "$(type -p pager)")"
    – glenn jackman
    Apr 19 at 16:04











  • @terdon : I have 2145 files in that folder.
    – Abhilash
    Apr 19 at 16:12














up vote
8
down vote

favorite












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






share|improve this question






















  • Show also: type -a man and env | grep 'PAGER|^MAN'
    – glenn jackman
    Apr 19 at 15:31











  • I've added them as an update
    – Abhilash
    Apr 19 at 15:39










  • Do you have any files in /usr/share/man/man1/?
    – terdon♦
    Apr 19 at 16:01






  • 2




    How about ls -l "$(type -p pager)" and (assuming it is a symlink): ls -l "$(readlink "$(type -p pager)")"
    – glenn jackman
    Apr 19 at 16:04











  • @terdon : I have 2145 files in that folder.
    – Abhilash
    Apr 19 at 16:12












up vote
8
down vote

favorite









up vote
8
down vote

favorite











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






share|improve this question














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








share|improve this question













share|improve this question




share|improve this question








edited Apr 20 at 3:08









αғsнιη

23.3k2191152




23.3k2191152










asked Apr 19 at 15:27









Abhilash

1118




1118











  • Show also: type -a man and env | grep 'PAGER|^MAN'
    – glenn jackman
    Apr 19 at 15:31











  • I've added them as an update
    – Abhilash
    Apr 19 at 15:39










  • Do you have any files in /usr/share/man/man1/?
    – terdon♦
    Apr 19 at 16:01






  • 2




    How about ls -l "$(type -p pager)" and (assuming it is a symlink): ls -l "$(readlink "$(type -p pager)")"
    – glenn jackman
    Apr 19 at 16:04











  • @terdon : I have 2145 files in that folder.
    – Abhilash
    Apr 19 at 16:12
















  • Show also: type -a man and env | grep 'PAGER|^MAN'
    – glenn jackman
    Apr 19 at 15:31











  • I've added them as an update
    – Abhilash
    Apr 19 at 15:39










  • Do you have any files in /usr/share/man/man1/?
    – terdon♦
    Apr 19 at 16:01






  • 2




    How about ls -l "$(type -p pager)" and (assuming it is a symlink): ls -l "$(readlink "$(type -p pager)")"
    – glenn jackman
    Apr 19 at 16:04











  • @terdon : I have 2145 files in that folder.
    – Abhilash
    Apr 19 at 16:12















Show also: type -a man and env | grep 'PAGER|^MAN'
– glenn jackman
Apr 19 at 15:31





Show also: type -a man and env | grep 'PAGER|^MAN'
– glenn jackman
Apr 19 at 15:31













I've added them as an update
– Abhilash
Apr 19 at 15:39




I've added them as an update
– Abhilash
Apr 19 at 15:39












Do you have any files in /usr/share/man/man1/?
– terdon♦
Apr 19 at 16:01




Do you have any files in /usr/share/man/man1/?
– terdon♦
Apr 19 at 16:01




2




2




How about ls -l "$(type -p pager)" and (assuming it is a symlink): ls -l "$(readlink "$(type -p pager)")"
– glenn jackman
Apr 19 at 16:04





How about ls -l "$(type -p pager)" and (assuming it is a symlink): ls -l "$(readlink "$(type -p pager)")"
– glenn jackman
Apr 19 at 16:04













@terdon : I have 2145 files in that folder.
– Abhilash
Apr 19 at 16:12




@terdon : I have 2145 files in that folder.
– Abhilash
Apr 19 at 16:12










1 Answer
1






active

oldest

votes

















up vote
7
down vote



accepted










Turns out, after the anaconda installation or some package installation through conda, the default pager is re-written. The exact cause of this is unknown.
Just some more information



~$ anaconda --version
anaconda Command line client (version 1.6.9)
~$ conda --version
conda 4.4.10
~$ history | grep conda
108 bash Anaconda3-5.1.0-Linux-x86_64.sh
110 anaconda-navigator
181 anaconda-navigator
187 anaconda-navigator
311 conda info --envs
312 conda install rpy2
313 conda search PySide
314 conda search Python
366 conda install findspark
367 conda info --envs
370 conda install findspark
373 conda search findspark
374 conda install -c conda-forge findspark
495 anaconda --version
496 conda --version
497 conda list
499 history | grep conda


My strongest guess is that rpy2 installation had this effect of changing the pager information given the time of events.



But these are the steps I took to solve the issue.



~$ update-alternatives --display pager
pager - auto mode
link best version is /bin/less
link currently points to /bin/less
link pager is /usr/bin/pager
slave pager.1.gz is /usr/share/man/man1/pager.1.gz
/bin/less - priority 77
slave pager.1.gz: /usr/share/man/man1/less.1.gz
/bin/more - priority 50
slave pager.1.gz: /usr/share/man/man1/more.1.gz

~$ rm /home/abhilash/anaconda3/bin/pager


Ensure that the pager defaults to the one that came with man-db by typing the following to confirm



~$ ls -l "$(type -p pager)"
lrwxrwxrwx 1 root root 23 Apr 9 13:57 /usr/bin/pager -> /etc/alternatives/pager


This solution was arrived at after going through this link in an attempt to set the pager to default.



Thanks to glenn and terdon for their inputs in solving this issue.






share|improve this answer


















  • 3




    +1 for both your Q and A. Don't forget to click the check mark next to your answer in 40 hours or so when it let's you.
    – WinEunuuchs2Unix
    Apr 19 at 19:52










  • Just the rm /home/abhilash/anaconda3/bin/pager would have probably done it.
    – Aaron Hall
    Jun 7 at 21:00










  • For this this was caused by Microsoft R Open.... which pager showed that I wasn't using /usr/bin/pager. Just had to correct my $PATH order and it was fixed.
    – WillZ
    Jun 15 at 23:11










Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1026441%2fman-command-doesnt-display-anything-after-package-installation-with-conda-on%23new-answer', 'question_page');

);

Post as a guest






























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
7
down vote



accepted










Turns out, after the anaconda installation or some package installation through conda, the default pager is re-written. The exact cause of this is unknown.
Just some more information



~$ anaconda --version
anaconda Command line client (version 1.6.9)
~$ conda --version
conda 4.4.10
~$ history | grep conda
108 bash Anaconda3-5.1.0-Linux-x86_64.sh
110 anaconda-navigator
181 anaconda-navigator
187 anaconda-navigator
311 conda info --envs
312 conda install rpy2
313 conda search PySide
314 conda search Python
366 conda install findspark
367 conda info --envs
370 conda install findspark
373 conda search findspark
374 conda install -c conda-forge findspark
495 anaconda --version
496 conda --version
497 conda list
499 history | grep conda


My strongest guess is that rpy2 installation had this effect of changing the pager information given the time of events.



But these are the steps I took to solve the issue.



~$ update-alternatives --display pager
pager - auto mode
link best version is /bin/less
link currently points to /bin/less
link pager is /usr/bin/pager
slave pager.1.gz is /usr/share/man/man1/pager.1.gz
/bin/less - priority 77
slave pager.1.gz: /usr/share/man/man1/less.1.gz
/bin/more - priority 50
slave pager.1.gz: /usr/share/man/man1/more.1.gz

~$ rm /home/abhilash/anaconda3/bin/pager


Ensure that the pager defaults to the one that came with man-db by typing the following to confirm



~$ ls -l "$(type -p pager)"
lrwxrwxrwx 1 root root 23 Apr 9 13:57 /usr/bin/pager -> /etc/alternatives/pager


This solution was arrived at after going through this link in an attempt to set the pager to default.



Thanks to glenn and terdon for their inputs in solving this issue.






share|improve this answer


















  • 3




    +1 for both your Q and A. Don't forget to click the check mark next to your answer in 40 hours or so when it let's you.
    – WinEunuuchs2Unix
    Apr 19 at 19:52










  • Just the rm /home/abhilash/anaconda3/bin/pager would have probably done it.
    – Aaron Hall
    Jun 7 at 21:00










  • For this this was caused by Microsoft R Open.... which pager showed that I wasn't using /usr/bin/pager. Just had to correct my $PATH order and it was fixed.
    – WillZ
    Jun 15 at 23:11














up vote
7
down vote



accepted










Turns out, after the anaconda installation or some package installation through conda, the default pager is re-written. The exact cause of this is unknown.
Just some more information



~$ anaconda --version
anaconda Command line client (version 1.6.9)
~$ conda --version
conda 4.4.10
~$ history | grep conda
108 bash Anaconda3-5.1.0-Linux-x86_64.sh
110 anaconda-navigator
181 anaconda-navigator
187 anaconda-navigator
311 conda info --envs
312 conda install rpy2
313 conda search PySide
314 conda search Python
366 conda install findspark
367 conda info --envs
370 conda install findspark
373 conda search findspark
374 conda install -c conda-forge findspark
495 anaconda --version
496 conda --version
497 conda list
499 history | grep conda


My strongest guess is that rpy2 installation had this effect of changing the pager information given the time of events.



But these are the steps I took to solve the issue.



~$ update-alternatives --display pager
pager - auto mode
link best version is /bin/less
link currently points to /bin/less
link pager is /usr/bin/pager
slave pager.1.gz is /usr/share/man/man1/pager.1.gz
/bin/less - priority 77
slave pager.1.gz: /usr/share/man/man1/less.1.gz
/bin/more - priority 50
slave pager.1.gz: /usr/share/man/man1/more.1.gz

~$ rm /home/abhilash/anaconda3/bin/pager


Ensure that the pager defaults to the one that came with man-db by typing the following to confirm



~$ ls -l "$(type -p pager)"
lrwxrwxrwx 1 root root 23 Apr 9 13:57 /usr/bin/pager -> /etc/alternatives/pager


This solution was arrived at after going through this link in an attempt to set the pager to default.



Thanks to glenn and terdon for their inputs in solving this issue.






share|improve this answer


















  • 3




    +1 for both your Q and A. Don't forget to click the check mark next to your answer in 40 hours or so when it let's you.
    – WinEunuuchs2Unix
    Apr 19 at 19:52










  • Just the rm /home/abhilash/anaconda3/bin/pager would have probably done it.
    – Aaron Hall
    Jun 7 at 21:00










  • For this this was caused by Microsoft R Open.... which pager showed that I wasn't using /usr/bin/pager. Just had to correct my $PATH order and it was fixed.
    – WillZ
    Jun 15 at 23:11












up vote
7
down vote



accepted







up vote
7
down vote



accepted






Turns out, after the anaconda installation or some package installation through conda, the default pager is re-written. The exact cause of this is unknown.
Just some more information



~$ anaconda --version
anaconda Command line client (version 1.6.9)
~$ conda --version
conda 4.4.10
~$ history | grep conda
108 bash Anaconda3-5.1.0-Linux-x86_64.sh
110 anaconda-navigator
181 anaconda-navigator
187 anaconda-navigator
311 conda info --envs
312 conda install rpy2
313 conda search PySide
314 conda search Python
366 conda install findspark
367 conda info --envs
370 conda install findspark
373 conda search findspark
374 conda install -c conda-forge findspark
495 anaconda --version
496 conda --version
497 conda list
499 history | grep conda


My strongest guess is that rpy2 installation had this effect of changing the pager information given the time of events.



But these are the steps I took to solve the issue.



~$ update-alternatives --display pager
pager - auto mode
link best version is /bin/less
link currently points to /bin/less
link pager is /usr/bin/pager
slave pager.1.gz is /usr/share/man/man1/pager.1.gz
/bin/less - priority 77
slave pager.1.gz: /usr/share/man/man1/less.1.gz
/bin/more - priority 50
slave pager.1.gz: /usr/share/man/man1/more.1.gz

~$ rm /home/abhilash/anaconda3/bin/pager


Ensure that the pager defaults to the one that came with man-db by typing the following to confirm



~$ ls -l "$(type -p pager)"
lrwxrwxrwx 1 root root 23 Apr 9 13:57 /usr/bin/pager -> /etc/alternatives/pager


This solution was arrived at after going through this link in an attempt to set the pager to default.



Thanks to glenn and terdon for their inputs in solving this issue.






share|improve this answer














Turns out, after the anaconda installation or some package installation through conda, the default pager is re-written. The exact cause of this is unknown.
Just some more information



~$ anaconda --version
anaconda Command line client (version 1.6.9)
~$ conda --version
conda 4.4.10
~$ history | grep conda
108 bash Anaconda3-5.1.0-Linux-x86_64.sh
110 anaconda-navigator
181 anaconda-navigator
187 anaconda-navigator
311 conda info --envs
312 conda install rpy2
313 conda search PySide
314 conda search Python
366 conda install findspark
367 conda info --envs
370 conda install findspark
373 conda search findspark
374 conda install -c conda-forge findspark
495 anaconda --version
496 conda --version
497 conda list
499 history | grep conda


My strongest guess is that rpy2 installation had this effect of changing the pager information given the time of events.



But these are the steps I took to solve the issue.



~$ update-alternatives --display pager
pager - auto mode
link best version is /bin/less
link currently points to /bin/less
link pager is /usr/bin/pager
slave pager.1.gz is /usr/share/man/man1/pager.1.gz
/bin/less - priority 77
slave pager.1.gz: /usr/share/man/man1/less.1.gz
/bin/more - priority 50
slave pager.1.gz: /usr/share/man/man1/more.1.gz

~$ rm /home/abhilash/anaconda3/bin/pager


Ensure that the pager defaults to the one that came with man-db by typing the following to confirm



~$ ls -l "$(type -p pager)"
lrwxrwxrwx 1 root root 23 Apr 9 13:57 /usr/bin/pager -> /etc/alternatives/pager


This solution was arrived at after going through this link in an attempt to set the pager to default.



Thanks to glenn and terdon for their inputs in solving this issue.







share|improve this answer














share|improve this answer



share|improve this answer








edited Apr 19 at 18:53

























answered Apr 19 at 18:36









Abhilash

1118




1118







  • 3




    +1 for both your Q and A. Don't forget to click the check mark next to your answer in 40 hours or so when it let's you.
    – WinEunuuchs2Unix
    Apr 19 at 19:52










  • Just the rm /home/abhilash/anaconda3/bin/pager would have probably done it.
    – Aaron Hall
    Jun 7 at 21:00










  • For this this was caused by Microsoft R Open.... which pager showed that I wasn't using /usr/bin/pager. Just had to correct my $PATH order and it was fixed.
    – WillZ
    Jun 15 at 23:11












  • 3




    +1 for both your Q and A. Don't forget to click the check mark next to your answer in 40 hours or so when it let's you.
    – WinEunuuchs2Unix
    Apr 19 at 19:52










  • Just the rm /home/abhilash/anaconda3/bin/pager would have probably done it.
    – Aaron Hall
    Jun 7 at 21:00










  • For this this was caused by Microsoft R Open.... which pager showed that I wasn't using /usr/bin/pager. Just had to correct my $PATH order and it was fixed.
    – WillZ
    Jun 15 at 23:11







3




3




+1 for both your Q and A. Don't forget to click the check mark next to your answer in 40 hours or so when it let's you.
– WinEunuuchs2Unix
Apr 19 at 19:52




+1 for both your Q and A. Don't forget to click the check mark next to your answer in 40 hours or so when it let's you.
– WinEunuuchs2Unix
Apr 19 at 19:52












Just the rm /home/abhilash/anaconda3/bin/pager would have probably done it.
– Aaron Hall
Jun 7 at 21:00




Just the rm /home/abhilash/anaconda3/bin/pager would have probably done it.
– Aaron Hall
Jun 7 at 21:00












For this this was caused by Microsoft R Open.... which pager showed that I wasn't using /usr/bin/pager. Just had to correct my $PATH order and it was fixed.
– WillZ
Jun 15 at 23:11




For this this was caused by Microsoft R Open.... which pager showed that I wasn't using /usr/bin/pager. Just had to correct my $PATH order and it was fixed.
– WillZ
Jun 15 at 23:11

















 

draft saved


draft discarded















































 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1026441%2fman-command-doesnt-display-anything-after-package-installation-with-conda-on%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

pylint3 and pip3 broken

Missing snmpget and snmpwalk

How to enroll fingerprints to Ubuntu 17.10 with VFS491