man command not working in Ubuntu 18.04











up vote
0
down vote

favorite












My man command is not working at all on my Ubuntu 18.04 machine. Unlike most of the cases I have found described in the internet, where there is an error message after calling man, I do not get any output/ error message at all



If I type which man



I will get /usr/bin/man. And I have checked with echo PATH that/usr/bin is on my PATH.



I have already tried sudo apt install --reinstall man-db, restarted the terminal, but no success.



Does anyone know what the problem can be?










share|improve this question






















  • What do you get if you try whereis man ? This should provide any locations for man, plus the locations for the manual pages (for the command man)
    – guiverc
    Nov 21 at 9:54










  • I get man: /usr/bin/man /usr/local/man /usr/share/man /usr/share/man/man1/man.1.gz /usr/share/man/man7/man.7.gz None of them work by calling man with the full path (some are directories). But the which command will tell me which man linux will call when calling man, right? As I described in my question it is /usr/bin/man, which is in my $PATH
    – BCArg
    Nov 21 at 10:02










  • maybe you can run strace man and then paste the debug info in some nopaste site?(since the info would be long)
    – Alvin Liang
    Nov 21 at 10:12












  • I would check you have some free disk space (df -h) in case it needs it to operate. Next I would dpkg -S /usr/bin/man to ensure your found program comes from man-db (as expected). I'm not sure what you mean by "calling man with the full path" as to access page 1 you man 1 man, to access page 7 man 7 man (which doesn't use the path; unless you meant /usr/bin/man 1 man to view page 1). If you check file type of your binary (ie. file /usr/bin/man) do you get a ELF LSB shared object dyn.linked of correct architecture?
    – guiverc
    Nov 21 at 10:52










  • To answer your comments: 1. space should not be a problem, 2. calling man with the full path I mean typing /usr/bin/man instead of just man. But, again, this does not work either. 3. the output of file /usr/bin/man is ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, BuildID[sha1]=c80771d215f4d9df4bf138ec9cfbf23bc58c950d, stripped
    – BCArg
    Nov 21 at 11:24

















up vote
0
down vote

favorite












My man command is not working at all on my Ubuntu 18.04 machine. Unlike most of the cases I have found described in the internet, where there is an error message after calling man, I do not get any output/ error message at all



If I type which man



I will get /usr/bin/man. And I have checked with echo PATH that/usr/bin is on my PATH.



I have already tried sudo apt install --reinstall man-db, restarted the terminal, but no success.



Does anyone know what the problem can be?










share|improve this question






















  • What do you get if you try whereis man ? This should provide any locations for man, plus the locations for the manual pages (for the command man)
    – guiverc
    Nov 21 at 9:54










  • I get man: /usr/bin/man /usr/local/man /usr/share/man /usr/share/man/man1/man.1.gz /usr/share/man/man7/man.7.gz None of them work by calling man with the full path (some are directories). But the which command will tell me which man linux will call when calling man, right? As I described in my question it is /usr/bin/man, which is in my $PATH
    – BCArg
    Nov 21 at 10:02










  • maybe you can run strace man and then paste the debug info in some nopaste site?(since the info would be long)
    – Alvin Liang
    Nov 21 at 10:12












  • I would check you have some free disk space (df -h) in case it needs it to operate. Next I would dpkg -S /usr/bin/man to ensure your found program comes from man-db (as expected). I'm not sure what you mean by "calling man with the full path" as to access page 1 you man 1 man, to access page 7 man 7 man (which doesn't use the path; unless you meant /usr/bin/man 1 man to view page 1). If you check file type of your binary (ie. file /usr/bin/man) do you get a ELF LSB shared object dyn.linked of correct architecture?
    – guiverc
    Nov 21 at 10:52










  • To answer your comments: 1. space should not be a problem, 2. calling man with the full path I mean typing /usr/bin/man instead of just man. But, again, this does not work either. 3. the output of file /usr/bin/man is ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, BuildID[sha1]=c80771d215f4d9df4bf138ec9cfbf23bc58c950d, stripped
    – BCArg
    Nov 21 at 11:24















up vote
0
down vote

favorite









up vote
0
down vote

favorite











My man command is not working at all on my Ubuntu 18.04 machine. Unlike most of the cases I have found described in the internet, where there is an error message after calling man, I do not get any output/ error message at all



If I type which man



I will get /usr/bin/man. And I have checked with echo PATH that/usr/bin is on my PATH.



I have already tried sudo apt install --reinstall man-db, restarted the terminal, but no success.



Does anyone know what the problem can be?










share|improve this question













My man command is not working at all on my Ubuntu 18.04 machine. Unlike most of the cases I have found described in the internet, where there is an error message after calling man, I do not get any output/ error message at all



If I type which man



I will get /usr/bin/man. And I have checked with echo PATH that/usr/bin is on my PATH.



I have already tried sudo apt install --reinstall man-db, restarted the terminal, but no success.



Does anyone know what the problem can be?







18.04 manpage






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 21 at 9:30









BCArg

212212




212212












  • What do you get if you try whereis man ? This should provide any locations for man, plus the locations for the manual pages (for the command man)
    – guiverc
    Nov 21 at 9:54










  • I get man: /usr/bin/man /usr/local/man /usr/share/man /usr/share/man/man1/man.1.gz /usr/share/man/man7/man.7.gz None of them work by calling man with the full path (some are directories). But the which command will tell me which man linux will call when calling man, right? As I described in my question it is /usr/bin/man, which is in my $PATH
    – BCArg
    Nov 21 at 10:02










  • maybe you can run strace man and then paste the debug info in some nopaste site?(since the info would be long)
    – Alvin Liang
    Nov 21 at 10:12












  • I would check you have some free disk space (df -h) in case it needs it to operate. Next I would dpkg -S /usr/bin/man to ensure your found program comes from man-db (as expected). I'm not sure what you mean by "calling man with the full path" as to access page 1 you man 1 man, to access page 7 man 7 man (which doesn't use the path; unless you meant /usr/bin/man 1 man to view page 1). If you check file type of your binary (ie. file /usr/bin/man) do you get a ELF LSB shared object dyn.linked of correct architecture?
    – guiverc
    Nov 21 at 10:52










  • To answer your comments: 1. space should not be a problem, 2. calling man with the full path I mean typing /usr/bin/man instead of just man. But, again, this does not work either. 3. the output of file /usr/bin/man is ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, BuildID[sha1]=c80771d215f4d9df4bf138ec9cfbf23bc58c950d, stripped
    – BCArg
    Nov 21 at 11:24




















  • What do you get if you try whereis man ? This should provide any locations for man, plus the locations for the manual pages (for the command man)
    – guiverc
    Nov 21 at 9:54










  • I get man: /usr/bin/man /usr/local/man /usr/share/man /usr/share/man/man1/man.1.gz /usr/share/man/man7/man.7.gz None of them work by calling man with the full path (some are directories). But the which command will tell me which man linux will call when calling man, right? As I described in my question it is /usr/bin/man, which is in my $PATH
    – BCArg
    Nov 21 at 10:02










  • maybe you can run strace man and then paste the debug info in some nopaste site?(since the info would be long)
    – Alvin Liang
    Nov 21 at 10:12












  • I would check you have some free disk space (df -h) in case it needs it to operate. Next I would dpkg -S /usr/bin/man to ensure your found program comes from man-db (as expected). I'm not sure what you mean by "calling man with the full path" as to access page 1 you man 1 man, to access page 7 man 7 man (which doesn't use the path; unless you meant /usr/bin/man 1 man to view page 1). If you check file type of your binary (ie. file /usr/bin/man) do you get a ELF LSB shared object dyn.linked of correct architecture?
    – guiverc
    Nov 21 at 10:52










  • To answer your comments: 1. space should not be a problem, 2. calling man with the full path I mean typing /usr/bin/man instead of just man. But, again, this does not work either. 3. the output of file /usr/bin/man is ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, BuildID[sha1]=c80771d215f4d9df4bf138ec9cfbf23bc58c950d, stripped
    – BCArg
    Nov 21 at 11:24


















What do you get if you try whereis man ? This should provide any locations for man, plus the locations for the manual pages (for the command man)
– guiverc
Nov 21 at 9:54




What do you get if you try whereis man ? This should provide any locations for man, plus the locations for the manual pages (for the command man)
– guiverc
Nov 21 at 9:54












I get man: /usr/bin/man /usr/local/man /usr/share/man /usr/share/man/man1/man.1.gz /usr/share/man/man7/man.7.gz None of them work by calling man with the full path (some are directories). But the which command will tell me which man linux will call when calling man, right? As I described in my question it is /usr/bin/man, which is in my $PATH
– BCArg
Nov 21 at 10:02




I get man: /usr/bin/man /usr/local/man /usr/share/man /usr/share/man/man1/man.1.gz /usr/share/man/man7/man.7.gz None of them work by calling man with the full path (some are directories). But the which command will tell me which man linux will call when calling man, right? As I described in my question it is /usr/bin/man, which is in my $PATH
– BCArg
Nov 21 at 10:02












maybe you can run strace man and then paste the debug info in some nopaste site?(since the info would be long)
– Alvin Liang
Nov 21 at 10:12






maybe you can run strace man and then paste the debug info in some nopaste site?(since the info would be long)
– Alvin Liang
Nov 21 at 10:12














I would check you have some free disk space (df -h) in case it needs it to operate. Next I would dpkg -S /usr/bin/man to ensure your found program comes from man-db (as expected). I'm not sure what you mean by "calling man with the full path" as to access page 1 you man 1 man, to access page 7 man 7 man (which doesn't use the path; unless you meant /usr/bin/man 1 man to view page 1). If you check file type of your binary (ie. file /usr/bin/man) do you get a ELF LSB shared object dyn.linked of correct architecture?
– guiverc
Nov 21 at 10:52




I would check you have some free disk space (df -h) in case it needs it to operate. Next I would dpkg -S /usr/bin/man to ensure your found program comes from man-db (as expected). I'm not sure what you mean by "calling man with the full path" as to access page 1 you man 1 man, to access page 7 man 7 man (which doesn't use the path; unless you meant /usr/bin/man 1 man to view page 1). If you check file type of your binary (ie. file /usr/bin/man) do you get a ELF LSB shared object dyn.linked of correct architecture?
– guiverc
Nov 21 at 10:52












To answer your comments: 1. space should not be a problem, 2. calling man with the full path I mean typing /usr/bin/man instead of just man. But, again, this does not work either. 3. the output of file /usr/bin/man is ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, BuildID[sha1]=c80771d215f4d9df4bf138ec9cfbf23bc58c950d, stripped
– BCArg
Nov 21 at 11:24






To answer your comments: 1. space should not be a problem, 2. calling man with the full path I mean typing /usr/bin/man instead of just man. But, again, this does not work either. 3. the output of file /usr/bin/man is ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, BuildID[sha1]=c80771d215f4d9df4bf138ec9cfbf23bc58c950d, stripped
– BCArg
Nov 21 at 11:24

















active

oldest

votes











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: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
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%2f1094739%2fman-command-not-working-in-ubuntu-18-04%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes
















 

draft saved


draft discarded



















































 


draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1094739%2fman-command-not-working-in-ubuntu-18-04%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

數位音樂下載

When can things happen in Etherscan, such as the picture below?

格利澤436b