You are not logged in.
So I searched for a man page today. 'man bash' Well i got this error
man: can't execute most: No such file or directory
man: command exited with status 255: LESS=-ix8RmPm Manual page bash(1) ?ltline %lt?L/%L.:byte %bB?s/%s..?e (END):?pB %pB\%.. (press h for help or q to quit)$PM Manual page bash(1) ?ltline %lt?L/%L.:byte %bB?s/%s..?e (END):?pB %pB\%.. (press h for help or q to quit)$ MAN_PN=bash(1) most
Now I've remove 'man-db' and re-installed it, and now been googling for 2 hrs, can't find anything for this. Any one have any ideas??
Last edited by jedijimi (2014-03-18 23:29:17)
Crude matter we are not, Luminous beings we are
Offline
What's the output of
file /usr/bin/man
type -p man
Is your system up to date?
Last edited by karol (2014-03-18 23:01:51)
Offline
man: can't execute most: No such file or directory
Have you removed most since you set your PAGER to it? If so, you need to update your shell's config file. As a temporary override, what happens if you run
PAGER=less man bash
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Online
file /usr/bin/man
/usr/bin/man: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.32, BuildID[sha1]=79e4f01f8b65a802566d5593d594f44fab41d72a, stripped
05:54 PM jimi ~
┗─╸>> type -p man
Crude matter we are not, Luminous beings we are
Offline
What's the output of
type -p man
(these were 2 commands)
Edit: Please read WorMzy post too.
Last edited by karol (2014-03-18 22:56:33)
Offline
I have not done anything like 'PAGER=less man bash'
Crude matter we are not, Luminous beings we are
Offline
ya the 'type -p man' no output
Crude matter we are not, Luminous beings we are
Offline
I have not done anything like 'PAGER=less man bash'
What is the output of
PAGER=less man bash
Do you mean you get nothing?
How about
type man
Offline
This happens when I run Pager=less man bash
05:54 PM jimi ~
┗─╸>> PAGER=less man bash
man: can't execute most: No such file or directory
man: command exited with status 255: LESS=-ix8RmPm Manual page bash(1) ?ltline %lt?L/%L.:byte %bB?s/%s..?e (END):?pB %pB\%.. (press h for help or q to quit)$PM Manual page bash(1) ?ltline %lt?L/%L.:byte %bB?s/%s..?e (END):?pB %pB\%.. (press h for help or q to quit)$ MAN_PN=bash(1) most
Crude matter we are not, Luminous beings we are
Offline
ok here is 'type man'
┗─╸>> type man
man is a function
man ()
{
env LESS_TERMCAP_mb=$(printf "\e[1;31m") LESS_TERMCAP_md=$(printf "\e[1;31m") LESS_TERMCAP_me=$(printf "\e[0m") LESS_TERMCAP_se=$(printf "\e[0m") LESS_TERMCAP_so=$(printf "\e[1;44;33m") LESS_TERMCAP_ue=$(printf "\e[0m") LESS_TERMCAP_us=$(printf "\e[1;32m") man "$@"
}
Crude matter we are not, Luminous beings we are
Offline
What's the output of
\man bash
Does it work?
Offline
┗─╸>> \man bash
man: can't execute most: No such file or directory
man: command exited with status 255: LESS=-ix8RmPm Manual page bash(1) ?ltline %lt?L/%L.:byte %bB?s/%s..?e (END):?pB %pB\%.. (press h for help or q to quit)$PM Manual page bash(1) ?ltline %lt?L/%L.:byte %bB?s/%s..?e (END):?pB %pB\%.. (press h for help or q to quit)$ MAN_PN=bash(1) most
Crude matter we are not, Luminous beings we are
Offline
How about
/usr/bin/man bash
Offline
I also seen somewhere to re-install 'geoff' That did nothing either
Crude matter we are not, Luminous beings we are
Offline
It's all the same
┗─╸>> /usr/bin/man bash
/usr/bin/man: can't execute most: No such file or directory
/usr/bin/man: command exited with status 255: LESS=-ix8RmPm Manual page bash(1) ?ltline %lt?L/%L.:byte %bB?s/%s..?e (END):?pB %pB\%.. (press h for help or q to quit)$PM Manual page bash(1) ?ltline %lt?L/%L.:byte %bB?s/%s..?e (END):?pB %pB\%.. (press h for help or q to quit)$ MAN_PN=bash(1) most
Crude matter we are not, Luminous beings we are
Offline
Can you post your /etc/man_db.conf in-between [ code] tags, please.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Online
What's the output of
echo $MANPAGER
and
echo $PAGER
Offline
I don't know how to post using tags but here is the output from /etc/man_db.conf
Crude matter we are not, Luminous beings we are
Offline
I don't know how to post using tags but here is the output from /etc/man_db.conf
Offline
@karol 'echo $MANPAGER' most
no output on 'echo $PAGER
Crude matter we are not, Luminous beings we are
Offline
@karol thanks for the link for tags
Crude matter we are not, Luminous beings we are
Offline
Run
export MANPAGER=less
and run
/usr/bin/man bash
Offline
Can you post the contents of your ~/.bashrc (and whichever file contains your alias definitions as well if it's a different file).
Last edited by Slithery (2014-03-18 23:16:20)
Offline
What is the output of this command? I guess you set MANPAGER to most somewhere.
env | grep PAGER
You'll probably be able to find the variable definition with something like this:
grep -r PAGER /etc/profile.d
grep PAGER ~/.*rc ~/.*profile
Last edited by progandy (2014-03-18 23:26:07)
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |
Offline
And it's a win. THX very much
Now how do I thread this as solved lol
edit#2 The solve was running 'export MANPAGER=less'
Last edited by jedijimi (2014-03-18 23:16:47)
Crude matter we are not, Luminous beings we are
Offline