You are not logged in.

#1 2017-12-17 15:23:04

ojles
Member
Registered: 2017-12-17
Posts: 6

[Solved] man is displaying POSIX manual instead of linux manual

After I execute `man ps` it shows me the POSIX Programmers Manual and this message

This  manual page is part of the POSIX Programmer's Manual.
The Linux implementation of this interface may

Is there a way to install linux manual? Or POSIX manual is still a good one?

Last edited by ojles (2017-12-18 08:33:52)

Offline

#2 2017-12-17 16:26:38

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,097

Re: [Solved] man is displaying POSIX manual instead of linux manual

`man 1 ps`  vs `man 1p ps` ?
procps-ng not installed?

Last edited by Mr.Elendig (2017-12-17 16:27:39)


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#3 2017-12-17 16:34:00

ojles
Member
Registered: 2017-12-17
Posts: 6

Re: [Solved] man is displaying POSIX manual instead of linux manual

@Mr.Elendig

`man 1 ps`  vs `man 1p ps` ?

`man 1 ps` opens  PS(1P) page

procps-ng not installed?

Installed and it works. But `man ls` is 'LS(1P) POSIX Programmer's Manual'
It's not that I need the manual for `ls`, but just curious how can I change this to linux manual

Last edited by ojles (2017-12-17 16:41:41)

Offline

#4 2017-12-17 16:49:59

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: [Solved] man is displaying POSIX manual instead of linux manual

No, just edit your first post and prepend "[Solved]" to the thread title. smile

EDIT: oh, ninja edit

Last edited by eschwartz (2017-12-17 16:51:13)


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

#5 2017-12-17 17:14:43

ojles
Member
Registered: 2017-12-17
Posts: 6

Re: [Solved] man is displaying POSIX manual instead of linux manual

Eschwartz wrote:

No, just edit your first post and prepend "[Solved]" to the thread title. smile

Thanks

Eschwartz wrote:

EDIT: oh, ninja edit

Yep, forgot about it.

Offline

#6 2017-12-17 20:12:12

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,863

Re: [Solved] man is displaying POSIX manual instead of linux manual

locale issue? Is it the english manpage?
ls.1 is in coreutils, ls.1p in man-pages

man ls
man 1 ls
man 1p ls
LC_ALL=C man ls

Offline

#7 2017-12-18 08:32:41

ojles
Member
Registered: 2017-12-17
Posts: 6

Re: [Solved] man is displaying POSIX manual instead of linux manual

seth wrote:

locale issue? Is it the english manpage?
ls.1 is in coreutils, ls.1p in man-pages

man ls
man 1 ls
man 1p ls
LC_ALL=C man ls

After installing coreutils man was showing LS(1).
Can you explain me how did you get to this solution?

Offline

#8 2017-12-18 08:40:36

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,863

Re: [Solved] man is displaying POSIX manual instead of linux manual

How did you go without coreutils? It's a dependency for the kernel packages.
It also provides the ls binary.

=> What OS are actually you running?
It would seem some busybox based?

Offline

#9 2017-12-18 09:08:27

ojles
Member
Registered: 2017-12-17
Posts: 6

Re: [Solved] man is displaying POSIX manual instead of linux manual

seth wrote:

How did you go without coreutils? It's a dependency for the kernel packages.
It also provides the ls binary.

=> What OS are actually you running?
It would seem some busybox based?

I guess I had busybox installed.

$ uname -a
Linux archlinux 4.13.11-1-ARCH #1 SMP PREEMPT Thu Nov 2 10:25:56 CET 2017 x86_64 GNU/Linux

Offline

#10 2017-12-18 12:09:07

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,543
Website

Re: [Solved] man is displaying POSIX manual instead of linux manual

ojles wrote:

I guess I had busybox installed.

That wasn't the question.  I also have busybox installed, but I also have coreutils (I'd love not to, but that's not really possible in arch).  So the question is not whether you had busybox in addition to coreutils, but how could you not have coreutils installed?

Note that if you are running a busybox shell (e.g., ash) with a prefer-applets option then `man` is a builtin and is not calling /usr/bin/man, so it may behave quite differently.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#11 2017-12-18 14:35:12

ojles
Member
Registered: 2017-12-17
Posts: 6

Re: [Solved] man is displaying POSIX manual instead of linux manual

Trilby wrote:

That wasn't the question.  I also have busybox installed, but I also have coreutils (I'd love not to, but that's not really possible in arch).  So the question is not whether you had busybox in addition to coreutils, but how could you not have coreutils installed?

To be honest, I don't know. But I found my pacman logs.

[2017-09-14 01:27] [ALPM] installed coreutils (8.28-1)

after that

[2017-12-18 10:27] [PACMAN] Running 'pacman -S coreutils'
[2017-12-18 10:27] [ALPM] transaction started
[2017-12-18 10:27] [ALPM] reinstalled coreutils (8.28-1)
[2017-12-18 10:27] [ALPM] transaction completed
[2017-12-18 10:27] [ALPM] running 'systemd-update.hook'...
[2017-12-18 10:27] [ALPM] running 'texinfo-install.hook'...

EDIT: after this reinstalation man was working

Last edited by ojles (2017-12-18 14:36:10)

Offline

Board footer

Powered by FluxBB