You are not logged in.

#1 2008-01-25 14:31:23

DonVla
Member
From: Bonn, Germany
Registered: 2007-06-07
Posts: 997

cannot access man in /usr/share/man/... [solved]

hi,

strange: the manuals stored under /usr/share/man are not recognized though i have

MANPATH /usr/share/man

in my /etc/man.conf. it's the original man.conf from the man package. i haven't changed anything.
for example, the mplayer man page is under /usr/share/man/man1/mplayer.1.gz, but when i try

man mpl[TAB]

only mplex is shown.
when i run "man mplayer" i get a "No manual entry for mplayer".

what should i do?

vlad

ps: is this the right forum? it's rather a package issue...

Last edited by DonVla (2008-01-25 16:01:14)

Offline

#2 2008-01-25 14:48:21

pressh
Developer/TU
From: Netherlands
Registered: 2005-08-14
Posts: 1,719

Re: cannot access man in /usr/share/man/... [solved]

add

unset MANPATH

to your .bashrc

or alternatively redefine all your required MANPATHs there

Offline

#3 2008-01-25 15:05:35

DonVla
Member
From: Bonn, Germany
Registered: 2007-06-07
Posts: 997

Re: cannot access man in /usr/share/man/... [solved]

thank you pressh!

it works now.
i see the MANPATH isn't set correctly in /etc/profile.
there is only:

export MANPATH="/usr/man:/usr/X11R6/man"

vlad

Offline

#4 2008-01-25 15:16:28

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: cannot access man in /usr/share/man/... [solved]

We've removed MANPATH from /etc/profile in newer filesystem packages - make sure you don't have an /etc/profile.pacnew hanging around

Offline

#5 2008-01-25 16:00:16

DonVla
Member
From: Bonn, Germany
Registered: 2007-06-07
Posts: 997

Re: cannot access man in /usr/share/man/... [solved]

thank you all!

"unset MANPATH" and now it works.
my first AL bug report:
http://bugs.archlinux.org/task/9335

vlad

Last edited by DonVla (2008-01-25 16:00:44)

Offline

#6 2008-01-25 16:09:28

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: cannot access man in /usr/share/man/... [solved]

As I already said, this has been fixed already in the new filesystem package.  /etc/profile moved from the bash package to the filesystem package - try re-installing filesystem to get a new /etc/profile.

-edit- aw, crap, files are improperly tagged in CVS.  It looks like the new filesystem package is still in testing, and not moved to core yet.

In any case, it is fixed already, and will be pushed to [core] soon.

Last edited by Cerebral (2008-01-25 16:12:24)

Offline

#7 2008-01-26 02:14:11

sinister99
Member
Registered: 2007-04-10
Posts: 136

Re: cannot access man in /usr/share/man/... [solved]

I didn't even notice when this update was installed.  Shouldn't there be a .install message to warn users?  Simply saying:

[2008-01-13 09:06] warning: /etc/profile installed as /etc/profile.pacnew

is not enough.

Offline

#8 2008-01-26 02:25:04

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: cannot access man in /usr/share/man/... [solved]

Pacman provides that warning *itself*. Look at your log:

grep pacnew /var/log/pacman.log

Offline

#9 2008-01-26 13:44:47

solstice
Member
Registered: 2006-10-27
Posts: 235
Website

Re: cannot access man in /usr/share/man/... [solved]

what is for you a new filesystem package ?
at least if you mention the version of that package it will help a lot.

i am still at filesystem 2007.11-3 here
and filesystem-2007.11-5 is in [testing]

Offline

#10 2008-01-26 14:59:09

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: cannot access man in /usr/share/man/... [solved]

The version in testing, 2007-11-5, is the one with the /etc/profile changes.

Offline

Board footer

Powered by FluxBB