You are not logged in.

#1 2008-01-22 02:10:08

fflarex
Member
Registered: 2007-09-15
Posts: 466

cannot access pacman man page since update...

Okay, so I just updated pacman to 3.1.1-1, and I can't access pacman's man page. I checked and found that the page does exist on my system (I think, /usr/man/man5/pacman.conf.5.gz and /usr/man/man8/pacman.8.gz both exist). When I try execute 'man pacman' it just tells me "No manual entry for pacman". Oh, and I also tried manually specifying the section.

Any idea what's going on here?

Last edited by fflarex (2008-01-22 02:10:45)

Offline

#2 2008-01-22 02:51:22

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,407
Website

Re: cannot access pacman man page since update...

No problems here...  Is /usr/man in your MANPATH ("echo $MANPATH")?

Offline

#3 2008-01-22 03:20:16

toofishes
Developer
From: Chicago, IL
Registered: 2006-06-06
Posts: 602
Website

Re: cannot access pacman man page since update...

It is actually at /usr/share/man, and that is probably not in your $MANPATH variable.

The real way to fix this is to completely unset MANPATH and let the man program do the search by itself. Simply add a line near the end of /etc/profile like "unset MANPATH" and you will be good to go.

Offline

#4 2008-01-22 03:25:25

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,407
Website

Re: cannot access pacman man page since update...

toofishes wrote:

It is actually at /usr/share/man, and that is probably not in your $MANPATH variable.

Well, it should be....  hmm  But: http://www.archlinux.org/packages/files/13362/ .

Edit:  It appears it only moved to /usr/share/man on x86_64 and not on i686

Last edited by Allan (2008-01-22 04:57:51)

Offline

#5 2008-01-22 03:32:19

fflarex
Member
Registered: 2007-09-15
Posts: 466

Re: cannot access pacman man page since update...

Why am I unsetting MANPATH instead of adding /usr/share/man/ to it?

(BTW: my MANPATH is currently /usr/man:/usr/X11R6/man)

Last edited by fflarex (2008-01-22 03:34:16)

Offline

#6 2008-01-22 03:37:29

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,407
Website

Re: cannot access pacman man page since update...

It appears that man has its own inbuilt search method for figuring out what directories man pages are in.  See "man man" big_smile

Offline

#7 2008-01-23 07:38:18

zodmaner
Member
Registered: 2007-07-11
Posts: 653

Re: cannot access pacman man page since update...

I also run into this problem this morning. Glad to knows that it seems to be nothing serious.

Anyway, since only x86_64 have this 'problem', should we file a bug report on this?

Offline

#8 2008-01-23 08:09:44

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,407
Website

Re: cannot access pacman man page since update...

zodmaner wrote:

Anyway, since only x86_64 have this 'problem', should we file a bug report on this?

No, it a known problem with the transition of man pages to FHS compliant locations.

Offline

#9 2008-01-23 08:29:03

zodmaner
Member
Registered: 2007-07-11
Posts: 653

Re: cannot access pacman man page since update...

Allan wrote:
zodmaner wrote:

Anyway, since only x86_64 have this 'problem', should we file a bug report on this?

No, it a known problem with the transition of man pages to FHS compliant locations.

So that means the proper location of the man page is in /usr/share/man instate of /usr/man? Does this means that the man page for i686 version of pacman will eventually be moved to /usr/share/man too?

Last edited by zodmaner (2008-01-23 08:30:14)

Offline

#10 2008-01-23 08:31:45

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,407
Website

Re: cannot access pacman man page since update...

zodmaner wrote:

So that means the proper location of the man page is in /usr/share/man instate of /usr/man? Does this means that the man page for i686 version of pacman will eventually be moved to /usr/share/man too?

It will.  I'm surprized it didn't at the same time.

Offline

#11 2008-01-23 14:55:05

toofishes
Developer
From: Chicago, IL
Registered: 2006-06-06
Posts: 602
Website

Re: cannot access pacman man page since update...

I built pacman 3.1.1 for i686 with makepkg3.0 and I meant to build the x86_64 version with makepkg3.0 as well, just for backwards compatibility reasons. Oops!

And yes, all packages will hopefully be installing man pages to /usr/share/man now as that is the place 90% of source packages installed them anyway- makepkg just "fixed" them previously and will no longer do that.

Offline

#12 2008-01-23 15:41:55

zodmaner
Member
Registered: 2007-07-11
Posts: 653

Re: cannot access pacman man page since update...

Thank you Allen, toofishes. I have added 'unset MANPATH' to end of /etc/profile like toofishes suggested and now I can access pacman's man page again. big_smile

Also, other programs, such as Brasero, have move their man page to /usr/share/man, making them also inaccessible. We might need to update the /etc/profile file soon or a lot of people will not be able to access man page of a lot of programs.

Offline

#13 2008-02-02 19:58:07

blackmariah
Member
From: Greenville, SC
Registered: 2008-02-02
Posts: 4
Website

Re: cannot access pacman man page since update...

thanks for the info guys.  I couldn't believe that the man page disappeared after an update.

Offline

Board footer

Powered by FluxBB