View previous topic :: View next topic |
Author |
Message |
WaMan Tux's lil' helper
Joined: 28 Jun 2002 Posts: 96
|
Posted: Thu Aug 08, 2002 1:41 am Post subject: man pages disappeared |
|
|
I just did a bunch o' emerging and unmerging and now man doesn't seem to work. I.e., when I run
I get
Code: | No manual entry for man | .
I re-emerged 'man' and 'man-pages' and nothing has changed in man.conf, so I'm a little confused...
Any ideas???
Cheers |
|
Back to top |
|
|
WaMan Tux's lil' helper
Joined: 28 Jun 2002 Posts: 96
|
Posted: Thu Aug 08, 2002 2:37 am Post subject: |
|
|
It seems the /usr/share/man is not on the MANPATH. Is there any reason why /etc/man.conf would not be processed?
Thanks |
|
Back to top |
|
|
delta407 Bodhisattva
Joined: 23 Apr 2002 Posts: 2876 Location: Chicago, IL
|
Posted: Thu Aug 08, 2002 2:44 am Post subject: |
|
|
man man
Code: | -C config_file
Specify the configuration file to use; the default is /etc/man.conf. (See
man.conf(5).) |
_________________ I don't believe in witty sigs. |
|
Back to top |
|
|
WaMan Tux's lil' helper
Joined: 28 Jun 2002 Posts: 96
|
Posted: Thu Aug 08, 2002 2:55 am Post subject: |
|
|
Ya,
It seems the $MANPATH is set to something already (which doesn't include /usr/share/man). If $MANPATH is already set, man doesn't check /etc/man.conf. What would set MANPATH behind my back, or rather where would I likely find where it is set??? |
|
Back to top |
|
|
WaMan Tux's lil' helper
Joined: 28 Jun 2002 Posts: 96
|
Posted: Thu Aug 08, 2002 3:20 am Post subject: |
|
|
Strange,
I solved the problem by removing the MANPATH settings in profile.env. (Well, more specifically, by deleting the lines from the files in /etc/env.d that exported MANPATH and then running env-update to regenerate profile.env.) I'm not sure what happened, but it seems that the updated version of man doesn't check man.conf if $MANPATH is already set, whereas the previous version of man augmented $MANPATH with those set in man.conf. |
|
Back to top |
|
|
|