You are not logged in.

#1 2014-03-18 22:48:48

jedijimi
Member
From: Hartford Wi
Registered: 2013-12-10
Posts: 93

no man pages [SOLVED]

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

#2 2014-03-18 22:51:14

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: no man pages [SOLVED]

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

#3 2014-03-18 22:52:06

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 12,272
Website

Re: no man pages [SOLVED]

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.

Offline

#4 2014-03-18 22:54:34

jedijimi
Member
From: Hartford Wi
Registered: 2013-12-10
Posts: 93

Re: no man pages [SOLVED]

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

#5 2014-03-18 22:55:56

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: no man pages [SOLVED]

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

#6 2014-03-18 22:55:58

jedijimi
Member
From: Hartford Wi
Registered: 2013-12-10
Posts: 93

Re: no man pages [SOLVED]

I have not done anything like 'PAGER=less man bash'


Crude matter we are not, Luminous beings we are

Offline

#7 2014-03-18 22:56:51

jedijimi
Member
From: Hartford Wi
Registered: 2013-12-10
Posts: 93

Re: no man pages [SOLVED]

ya the 'type -p man' no output


Crude matter we are not, Luminous beings we are

Offline

#8 2014-03-18 22:57:55

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: no man pages [SOLVED]

jedijimi wrote:

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

#9 2014-03-18 22:58:24

jedijimi
Member
From: Hartford Wi
Registered: 2013-12-10
Posts: 93

Re: no man pages [SOLVED]

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

#10 2014-03-18 22:59:27

jedijimi
Member
From: Hartford Wi
Registered: 2013-12-10
Posts: 93

Re: no man pages [SOLVED]

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

#11 2014-03-18 23:01:21

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: no man pages [SOLVED]

What's the output of

\man bash

Does it work?

Offline

#12 2014-03-18 23:02:09

jedijimi
Member
From: Hartford Wi
Registered: 2013-12-10
Posts: 93

Re: no man pages [SOLVED]

┗─╸>> \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

#13 2014-03-18 23:03:43

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: no man pages [SOLVED]

How about

/usr/bin/man bash

Offline

#14 2014-03-18 23:03:51

jedijimi
Member
From: Hartford Wi
Registered: 2013-12-10
Posts: 93

Re: no man pages [SOLVED]

I also seen somewhere to re-install 'geoff'  That did nothing either


Crude matter we are not, Luminous beings we are

Offline

#15 2014-03-18 23:04:40

jedijimi
Member
From: Hartford Wi
Registered: 2013-12-10
Posts: 93

Re: no man pages [SOLVED]

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

#16 2014-03-18 23:05:06

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 12,272
Website

Re: no man pages [SOLVED]

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.

Offline

#17 2014-03-18 23:07:28

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: no man pages [SOLVED]

What's the output of

echo $MANPAGER

and

echo $PAGER

Offline

#18 2014-03-18 23:07:58

jedijimi
Member
From: Hartford Wi
Registered: 2013-12-10
Posts: 93

Re: no man pages [SOLVED]

I don't know how to post using tags but here is the output from /etc/man_db.conf

http://pastebin.com/mQfangRD


Crude matter we are not, Luminous beings we are

Offline

#19 2014-03-18 23:08:59

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: no man pages [SOLVED]

jedijimi wrote:

I don't know how to post using tags but here is the output from /etc/man_db.conf

See https://bbs.archlinux.org/help.php#bbcode

Offline

#20 2014-03-18 23:09:37

jedijimi
Member
From: Hartford Wi
Registered: 2013-12-10
Posts: 93

Re: no man pages [SOLVED]

@karol 'echo $MANPAGER'  most
no output on 'echo $PAGER


Crude matter we are not, Luminous beings we are

Offline

#21 2014-03-18 23:10:53

jedijimi
Member
From: Hartford Wi
Registered: 2013-12-10
Posts: 93

Re: no man pages [SOLVED]

@karol thanks for the link for tags smile


Crude matter we are not, Luminous beings we are

Offline

#22 2014-03-18 23:11:11

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: no man pages [SOLVED]

Run

export MANPAGER=less

and run

/usr/bin/man bash

Offline

#23 2014-03-18 23:11:39

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: no man pages [SOLVED]

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)


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#24 2014-03-18 23:12:35

progandy
Member
Registered: 2012-05-17
Posts: 5,221

Re: no man pages [SOLVED]

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

#25 2014-03-18 23:12:56

jedijimi
Member
From: Hartford Wi
Registered: 2013-12-10
Posts: 93

Re: no man pages [SOLVED]

And it's a win. THX very much big_smile

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

Board footer

Powered by FluxBB