Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#39980 - manpath shows that '/usr/share/man/' is before '/usr/local/share/man'

Attached to Project: Arch Linux
Opened by jeaye (jeaye) - Sunday, 20 April 2014, 22:59 GMT
Last edited by Bartłomiej Piotrowski (Barthalion) - Friday, 30 May 2014, 14:45 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To No-one
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
manpath(1) reports that the manpath is:

/usr/share/man:/usr/local/man:/usr/local/share/man

Where '/usr/local/share/man' is last. It is important that '/usr/local' is before '/usr/share', as it is in other distros.
This breaks the usage of local man pages and forces the setting of MANPATH, which is undesirable and non-traditional.

Additional info:
* core/man-db 2.6.7.1-1

Steps to reproduce:
On a machine without MANPATH set, run manpath(1) and observe the output.
This task depends upon

Closed by  Bartłomiej Piotrowski (Barthalion)
Friday, 30 May 2014, 14:45 GMT
Reason for closing:  No response
Comment by Dave Reisner (falconindy) - Sunday, 20 April 2014, 23:42 GMT
Running manpath from a live CD (or my own install) yields:

/usr/local/man:/usr/local/share/man:/usr/share/man

So, seems like something you've done locally to alter the path.
Comment by jeaye (jeaye) - Monday, 21 April 2014, 00:49 GMT
Hmm, I've verified with some other Arch users: this only seems to be the case on my machine. I'll look into what's going on.
Comment by Doug Newgard (Scimmia) - Tuesday, 22 April 2014, 03:43 GMT
I have a similar output, but only in X. When I log into a tty, I get the expected output.
Comment by René Herman (rene) - Sunday, 18 May 2014, 20:28 GMT
manpath has become a rather dynamic entity at this point. Specifically, it follows your $PATH:

[rene@e600 ~]$ PATH=/usr/bin:/usr/local/bin manpath
/usr/share/man:/usr/local/man:/usr/local/share/man
[rene@e600 ~]$ PATH=/usr/local/bin:/usr/bin manpath
/usr/local/man:/usr/local/share/man:/usr/share/man

I therefore expect that you will want to check your (regular) path?

P.S. Only noticed after posting that this is already a month old...

Loading...