[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1841: man_db problems



Package: man
Version: 2.3.10

1) man -k pattern gives error messages:
cjf@syntropy:~$ man -k ftp
apropos: warning: can't read the fallback whatis text database.
apropos: /usr/local/man/whatis: No such file or directory
ftpusers (5)         - file which lists users who are not allowed to use ftp
archie (1)           - query the Archie anonymous FTP databases using Prospero
ftpwho (1)           - show current process information for each ftp user.
ftpshut (8)          - close down the ftp servers at a given time
xferlog (5)          - FTP server logfile
ftp (1)              - ARPANET file transfer program
smbclient (1)        - ftp-like Lan Manager client program

2) man -l to display the man page in the current directory will
overwrite the page in /var/catman/... --- NOT useful for comparing an
uninstalled man page with one already installed!

3) conflicts with man pages provided in package minicom 1.71-2.  When
I type man sz I get garbage:
cjf@syntropy:~$ man -d sz >& junk
cjf@syntropy:~$ cat junk

using less as pager
found mandatory man directory /usr/man
found mandatory man directory /usr/X11R5/man
found mandatory man directory /usr/X11R6/man
found mandatory man directory /usr/X11/man
found mandatory man directory /usr/X386/man
found mandatory man directory /usr/local/man
found manpath map /bin --> /usr/man
found manpath map /usr/bin --> /usr/man
found manpath map /sbin --> /usr/man
found manpath map /usr/sbin --> /usr/man
found manpath map /usr/local/bin --> /usr/local/man
found manpath map /usr/local/sbin --> /usr/local/man
found manpath map /usr/bin/X11 --> /usr/X386/man
found manpath map /usr/X386/bin --> /usr/X386/man
found manpath map /usr/X11/bin --> /usr/X386/man
found manpath map /usr/X11R5/bin --> /usr/X11R5/man
found manpath map /usr/X11R6/bin --> /usr/X11R6/man
found manpath map /usr/games --> /usr/man
found global mandir /usr/man mapped to catdir /var/catman
found global mandir /usr/local/man mapped to catdir /var/catman/local
found global mandir /usr/X11R6/man mapped to catdir /var/catman/X11R6

path directory /usr/local/bin is in the config file
adding /usr/local/man to manpath

path directory /usr/bin is in the config file
adding /usr/man to manpath

path directory /bin is in the config file
/usr/man is already in the manpath

path directory /usr/bin/X11 is in the config file

path directory /usr/games is in the config file
/usr/man is already in the manpath

path directory . is not in the config file
and doesn't have man or MAN subdirectories

adding mandatory man directories

/usr/man is already in the manpath
adding /usr/X11R6/man to manpath
/usr/local/man is already in the manpath
adding /usr/local/man to manpathlist
adding /usr/man to manpathlist
adding /usr/X11R6/man to manpathlist
*manpath search path* = /usr/local/man:/usr/man:/usr/X11R6/man
regain_effective_privs()
searching in /usr/local/man, section 1
Failed to open /var/catman/local/index.db O_RDONLY
trying section 1 with globbing
globbing pattern: /usr/local/man/man1/sz.1*
globbing pattern: /usr/local/man/man1.Z/sz.1*
globbing pattern: /usr/local/man/man1/sz.*
globbing pattern: /usr/local/man/man1*/sz.1*
globbing pattern: /usr/local/man/cat1/sz.1*
globbing pattern: /usr/local/man/cat1.Z/sz.1*
globbing pattern: /usr/local/man/cat1/sz.*
globbing pattern: /usr/local/man/cat1*/sz.1*
searching in /usr/man, section 1
Succeeded in opening /var/catman/index.db O_RDONLY
trying a db located file.
sec. ext:  1
section:   1
comp. ext: -
id:        A
st_mtime   812940057
pointer:   -
whatis:    XMODEM, YMODEM, ZMODEM file send

Checking physical location: /usr/man/man1/sz.1

ult_src: File /usr/man/man1/sz.1
found ultimate source file /usr/man/man1/sz.1
chdir /usr/man
pre-processors `Revision Level ' from file
man: ignoring unknown preprocessor `R'
man: ignoring unknown preprocessor `v'
man: ignoring unknown preprocessor `i'
man: ignoring unknown preprocessor `s'
man: ignoring unknown preprocessor `i'
man: ignoring unknown preprocessor `o'
man: ignoring unknown preprocessor `n'
man: ignoring unknown preprocessor ` '
man: ignoring unknown preprocessor `L'
man: ignoring unknown preprocessor `v'
man: ignoring unknown preprocessor `l'
man: ignoring unknown preprocessor ` '
is_newer: a=/usr/man/man1/sz.1, b=/usr/man/cat1/sz.1.gz (-2)
is_newer: a=/usr/man/man1/sz.1, b=/var/catman/cat1/sz.1.gz (0)
format: 0, save_cat: 1, found: 1
drop_effective_privs()

trying command: /bin/gzip -dc '/var/catman/cat1/sz.1.gz' | { export MAN_PN LESS; MAN_PN='sz(1)'; LESS="$LESS\$-Pm\:\$ix8mPm Manual page $MAN_PN ?ltline %lt?L/%L.:byte %bB?s/%s..?e (END):?pB %pB\\%.."; less; }
regain_effective_privs()
free_hashtab: 2 entries, 2 (100%) unique

Found 1 man pages
close_catalogue()

I copied the sz.1 source file into my Slackware and Red Hat partitions
and the man program included with them can read the page with no
trouble at all.  Implies that man_db isn't set up robustly enough.

This is under debian 0.93R6, kernel 1.2.13, and libc 4.6.27.

BTW, I like Debian.  Thanks for all the hard work!

--
Christopher J. Fearnley            |    UNIX SIG Leader at PACS
cjf@netaxs.com (finger me!)        |    (Philadelphia Area Computer Society)
cfearnl@pacs.pha.pa.us             |    Design Science Revolutionary
http://www.netaxs.com/~cjf         |    Explorer in Universe
"Dare to be Naive" -- Bucky Fuller |    Linux Advocate
--
Christopher J. Fearnley            |    UNIX SIG Leader at PACS
cjf@netaxs.com (finger me!)        |    (Philadelphia Area Computer Society)
cfearnl@pacs.pha.pa.us             |    Design Science Revolutionary
http://www.netaxs.com/~cjf         |    Explorer in Universe
"Dare to be Naive" -- Bucky Fuller |    Linux Advocate


Reply to: