You are not logged in.
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
No problems here... Is /usr/man in your MANPATH ("echo $MANPATH")?
Offline
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
It is actually at /usr/share/man, and that is probably not in your $MANPATH variable.
Well, it should be.... 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
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
It appears that man has its own inbuilt search method for figuring out what directories man pages are in. See "man man"
Offline
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
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
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
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
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
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.
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
thanks for the info guys. I couldn't believe that the man page disappeared after an update.
Offline