Re: manpages mancano
On Tue, Sep 09, 2003 at 10:22:03PM +0200, Hugh Hartmann wrote:
>
> On Tue, Sep 09, 2003 at 04:52:12PM +0200, Paolo Ariano wrote:
> > ciao a *
> Ciao Paolo,
>
>
> > ho un problemino con man:
> Puo' succedere anche questo .... :-) Infatti e' successo anche a me ... :-)
>
> > dpkg --list | grep manpages
> > ii funny-manpages 1.3-4 more funny manpages
> > ii manpages 1.48-2 Manual pages about u
> > ii manpages-dev 1.48-2 Manual pages about us
> > ii manpages-it 0.3.3-2 Contains a collection
> >
> > se poi provo:
> >
> > man ls (tutto funziona e la pagina è in italiano)
> >
> > man apt-get
> > Non c' il manuale per apt-get
> > See 'man 7 undocumented' for help when manual pages are not available.
> >
> > e così per dpkg, dselect etc etc forse non è un problema perchè le
> > pagine non esistono o forse tutti voi state usano un altro sistema di
> > help e io sono rimasto a man (anzi a pied...)
>
> No, se e' lo stesso problema che ho incontrato (a volte .... ritornano e'
> ...:-)) dovuto probabilmente al MANPATH, .. cerco di spiegarmi, tempo fa,
> nelle release di debian piu' "arcaiche", per le man page si usavano di
> preferenza le dir:
>
> /usr/man/man1, man2, man3 .....
>
> per xwindow:
>
> /usr/X11R6/man/man1, man2, man3, ....
>
> e anche, per gli applicativi non Debian:
>
> /usr/local/man1, man2, man3, ....
>
> ora, nelle ultime release di debian si fa molto uso anche della dir:
>
> /usr/share/man
>
> ... ergo e' presente un file di configurazione del percorso (path) delle
> man page: /etc/manpath.config, che riporto di seguito:
>
> # man_db.config
> #
> # This file is used by the man_db package to configure the man and cat paths.
> # It is also used to provide a manpath for those without one by examining
> # their PATH environment variable. For details see the manpath(5) man page.
> #
> # Lines beginning with `#' are comments and are ignored. Any combination of
> # tabs or spaces may be used as `whitespace' separators.
> #
> # There are three mappings allowed in this file:
> # --------------------------------------------------------
> # MANDATORY_MANPATH manpath_element
> # MANPATH_MAP path_element manpath_element
> # MANDB_MAP global_manpath [relative_catpath]
> #---------------------------------------------------------
> # every automatically generated MANPATH includes these fields
> #
> #MANDATORY_MANPATH /usr/src/pvm3/man
> #
> MANDATORY_MANPATH /usr/man
> MANDATORY_MANPATH /usr/X11R6/man
> MANDATORY_MANPATH /usr/local/man
> MANDATORY_MANPATH /usr/share/man
> ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^
> #---------------------------------------------------------
> # set up PATH to MANPATH mapping
> # ie. what man tree holds man pages for what binary directory.
> #
> # *PATH* -> *MANPATH*
> #
> MANPATH_MAP /bin /usr/man
> MANPATH_MAP /usr/bin /usr/man
> MANPATH_MAP /sbin /usr/man
> MANPATH_MAP /usr/sbin /usr/man
> MANPATH_MAP /usr/local/bin /usr/local/man
> MANPATH_MAP /usr/local/sbin /usr/local/man
> MANPATH_MAP /usr/X11R6/bin /usr/X11R6/man
> MANPATH_MAP /usr/bin/X11 /usr/X11R6/man
> MANPATH_MAP /usr/games /usr/man
> MANPATH_MAP /opt/bin /opt/man
> MANPATH_MAP /opt/sbin /opt/man
>
> #---------------------------------------------------------
> # For a manpath element to be considered `global' it must be mentioned
> # below. Each line may have an optional extra string indicating the catpath
> # associated with the manpath. The keyword 'FSSTND' indicates that the
> # default FSSTND catpath location should be used. If no catpath string is
> # used, the catpath will default to the given manpath.
> #
> # You *must* provide all `global' man paths, including alternate system
> # man paths and locale specific manpaths and combinations of both, if
> # they exist, otherwise `user' permissions will be used to manipulate the
> # manual pages. Also, utilities like mandb will not initialise the database
> # cache for any manpaths not mentioned below.
> #
> # Any manpaths that are `contained' within other manpaths must be mentioned
> # *before* the containing manpath. E.g. /usr/man/preformat must be listed
> # before /usr/man.
> #
> # *MANPATH* -> *CATPATH*
> #
> MANDB_MAP /usr/man /var/catman
> MANDB_MAP /usr/local/man /var/catman/local
> MANDB_MAP /usr/X11R6/man /var/catman/X11R6
> MANDB_MAP /opt/man /var/catman/opt
> ---------
>
> Ecco, devi verificare se il tuo file /etc/manphat.config ha delle righe
> simili e vedere se manca il percorso /usr/share/man dove risiedono le man
> page di dpkg e dselect e molte altre ....
>
> Buona lettura ... :-)
>
> Bye
> Hugh Hartmann
>
>
>
>
>
Reply to: