Re: man-db ocassionally needs to be re-installed.

1997-10-16 Thread Andy Spiegl
This is a little off-topic, but related to man-pages, too.

My problem is that - when running man -a as I always do - I often
get to see man pages multiple times.  See this as an example:

~man -w rename
/usr/man/man2/rename.2.gz /var/catman/cat2/rename.2.gz 
/usr/man/man3/rename.3tcl.gz /var/catman/cat3/rename.3tcl.gz 
/usr/man/man3/rename.3tcl.gz /var/catman/cat3/rename.3tcl.gz 
/usr/man/man3/rename.3tcl.gz /var/catman/cat3/rename.3tcl.gz 

I don't know when this started to happen, and I have no idea
what has gone wrong.  For example, I never anything in manpath.config

A trimmed down output of dpkg -l '*man*' is here:
pn  man none (no description available)
un  man-aeb none (no description available)
un  man-browser none (no description available)
ii  man-db  2.3.10-38  Display the on-line manual.
ii  manpages1.15-4 Section 2, 3, 4, 5 and 7 manpages
pn  manpages-de none (no description available)
pn  manpages-es none (no description available)
pn  manpages-fr none (no description available)
pn  manpages-it none (no description available)

Hm, now this is funny, since I do have (some) german manpages.
Oh, boy, this confuses me.  HELP!  :-)

Maybe, the contents (without comments) of manpath.config will help:
# man_db.config
MANDATORY_MANPATH   /usr/man
MANDATORY_MANPATH   /usr/X11R6/man
MANDATORY_MANPATH   /usr/local/man

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/local/bin/X11  /usr/local/man
MANPATH_MAP /usr/X11R6/bin  /usr/X11R6/man
MANPATH_MAP /usr/games  /usr/man

MANDB_MAP   /usr/man/de_DE  /var/catman/de_DE
MANDB_MAP   /usr/man/it_IT  /var/catman/it_IT
MANDB_MAP   /usr/man/var/catman
MANDB_MAP   /usr/local/man  /var/catman/local
MANDB_MAP   /usr/X11R6/man  /var/catman/X11R6

Thanks a lot in advance,
 Andy.

 Andy Spiegl, University of Technology, Muenchen, Germany
 E-Mail: [EMAIL PROTECTED] OR: [EMAIL PROTECTED]
 URL:http://www.appl-math.tu-muenchen.de/~spiegl
 PGP fingerprint: B8 48 24 7B DB 96 6F 1C  D9 6D 8E 6C DB C2 E7 E9
o  _ _ _
  - __o   __o  /\_   _ \\o  (_)\__/o  (_)
  --- _`\,__`\,__(_) (_)/_\_| \   _|/' \/
  -- (_)/ (_)  (_)/ (_)  (_)(_)   (_)(_)'  _\o_
 ~~~


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: man-db ocassionally needs to be re-installed.

1997-10-16 Thread Fabrizio Polacco
Andy Spiegl wrote:
 
 This is a little off-topic, but related to man-pages, too.
 
 My problem is that - when running man -a as I always do - I often
 get to see man pages multiple times.

Yes, and if you skip one choosing Ctrl-D its entry disappear from the
next run (and from the whatis database).
All are known problems, fixed in the latests versions.
I've built bo (aka for Debian 1.3) version numbered 42-51, while the
hamm are numbered 52 .
Latest ( -44 ) went installed just yesterday into:
 project/experimental/man-db_2.3.10-44_i386.deb 

You can have the .deb binary also from 
ftp://ftp.icenet.fi/private/fpolacco/debian/libc5

FYI, here is a list of recent changes (post -38 in 1.3.1), from the
changelog file (in reverse order, recent on top):
  * avoided bashism in debian/rules.
  * deleted bogus files with spaces embedded in name (#13888)
  * applied patch for alpha by [EMAIL PROTECTED] #13851
  * zsoelim.l - added new start condition to avoid expansion of .so
 requests inside a macro definition. (fixes #2969 and #13812)
  * added quote around var in mkcatdirs (fixes #13738, tx M.Konarski)
  * added removal of tempfiles from handler for SIGINT
 (fixes bug#13352 Thanks to John Goerzen)
  * changed way to call groff adding -P-g so grops can guess a page size
 (fixes #13563 uncorrectly assigned to groff, thx John Kallal)
  * solved deletion of entries in index when skipping their display
 (#10483)
  * wiped wrong message displayed when skipping display of manpage.
  * avoided redundant searches for section names longer than one char.
  * Added removal of tempfiles via atexit().
  * restored original order in search sections (3 before 2) changed by
 previous maintainer (don't know why) (#12192 thx Juan Cespedes)
  * redirecting unusefull error messages in postrm and preinst (#12224)
  * doesn't provide gencat anymore, but can't use libc6's gencat.
 (#9841)
  * Changed tests in postinst to work with ash (#12212 thx Herbert Xu)
  * Changed define of debian version for use in non-debian systems
 (thanx to Albert Chin-A-Young); added file include/version.h
  * (Italian version) Minori correzioni a mandb.m da parte di Borto.
  * several corrections to it's = its typos in manpages [man(1),
 manpath(1),
 zsoelim(1), mandb(8)] Fixes Bug#11440 thanx to David Damerell.
  * Restore correct NAMN swedish parse for whatis (bug introduced by me
 fixing #6497 on version -34) Thanx to John F. Bunch. (fixes #12069)
  * Fixed segfault using an empty arg to -S option (Bug#12074, Thx
 Herbert Thielen)
  * Fixed wrong manpath behaviour (Bug#10377, Thanx to Michael Lachmann)
  * reduced output in postinst (Bug#11902).
  * included execution of chmanconfig (which adds MANDB_MAP lines for
 lang manpages) inside mkcatdirs (which creates catdir hierarchies).
  * added debian version info to option -V
  * corrected a couple of italian messages that didn't work (Grazie 
 Borto)
  * added nlsutils in Replaces: field of control file (fixes Bug#9943)
  * Ugly typo in debian/rules that made .dwww-index disappear from last
 version (-38): my fault! (sigh) (autoBug#10130)
  * dropped scan of current directory if explicitly present in PATH both
 as an empty entry or an explicit dot; this used to left index files
 here and there.  (fixes Bug#10039, thanks to Giuliano Procida)
  * allowed non man dirs if in manpath.config
 (now accepts manpages hierarchies like /usr/share/ucbman)
 fixes Bug#9947, thanks to Richard Kettlewell.


Cheers,
Fabrizio
-- 
| [EMAIL PROTECTED][EMAIL PROTECTED][EMAIL PROTECTED]
| Pluto Leader - Debian Developer  Happy Debian 1.3.1 User - vi-holic
| 6F7267F5 fingerprint 57 16 C4 ED C9 86 40 7B 1A 69 A1 66 EC FB D2 5E



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: man-db ocassionally needs to be re-installed.

1997-10-13 Thread Joey Hess
[EMAIL PROTECTED] wrote:
 Monthly, or more often, since installing Bo 1.3 on new system, I have had to
 re-install man-db, after getting segmentation faults whenever executing man.  
 I don't believe this is related to libc6, as has been reported.  It happens
 at almost random times.  Perhaps certain package upgrades have caused this?
 Or is it bit rot?  
 
 I have found that when man seg faults, I only have to run
 /var/lib/dpkg/info/man-db.postinst, and everything as fine again.

Actually, you only have to run mandb (as root, I think), and it fixes the
problem.

You might want to refer to bug reports #10483, #11278, etc at 
http://www.debian.org/Bugs/db/pa/lman-db.html - the maintainer is aware 
of the problem, and I hope he figures out a fix soon.

-- 
see shy jo


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: man-db ocassionally needs to be re-installed.

1997-10-13 Thread Fabrizio Polacco
Joey Hess wrote:
 
 You might want to refer to bug reports #10483, #11278, etc at
 http://www.debian.org/Bugs/db/pa/lman-db.html - the maintainer is
 aware of the problem, and I hope he figures out a fix soon.
 

I have all the reports, but I wasn't able to reproduce the problem in
any way.
I've prepared an unstripped executable that could permit you to debug
the core (or reproduce the segfault while in gdb) to help me figure
what's the problem.
It's in  ftp://ftp.icenet.fi/private/fpolacco/debian/temp/man.gz

It looks that the problem is related to a corrupted database (thus
rebuilding it with mandb -c fixes the problem), but it's not clear how
the database went corrupted.
The installation of other manpages could be the trigger because man
tryes to upgrade the database when it notices a new manpage.
The bug should be related with bad behaviour for unexpected input.

Finding the manpage that produces this could help a lot.

Fabrizio
-- 
| [EMAIL PROTECTED][EMAIL PROTECTED][EMAIL PROTECTED]
| Pluto Leader - Debian Developer  Happy Debian 1.3.1 User - vi-holic
| 6F7267F5 fingerprint 57 16 C4 ED C9 86 40 7B 1A 69 A1 66 EC FB D2 5E


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


man-db ocassionally needs to be re-installed.

1997-10-12 Thread adavis
Monthly, or more often, since installing Bo 1.3 on new system, I have had to
re-install man-db, after getting segmentation faults whenever executing man.  
I don't believe this is related to libc6, as has been reported.  It happens
at almost random times.  Perhaps certain package upgrades have caused this?
Or is it bit rot?  

I have found that when man seg faults, I only have to run
/var/lib/dpkg/info/man-db.postinst, and everything as fine again.

Alan Davis
-- 

I consider that the golden rule requires   Alan E. Davis
that if I like a program I must share itMarianas High School
with other people who like it  AAA196, Box 10001   
Saipan, MP  96950   
 ---Richard StallmanNorthern Mariana Islands
GMT+10


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .