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

Re: mandb gets stuck!



on Fri, Aug 31, 2001 at 04:25:01AM -0500, Colin Watson (cjwatson@debian.org) wrote:
> On Fri, Aug 31, 2001 at 12:37:05AM -0700, Karsten M. Self wrote:
> > My suggestion:
> > 
> >    - rename /usr/X11R6/man/man3 to /usr/X11/man/man3-bak
> > 
> >    - create a directory /usr/X11R6/man/man3
> > 
> >    - create symlinks for half the files in man3-bak:
> > 
> >        $ cd /usr/X11R6/man/man3
> >        $ for file in $( ls ../man3-bak/* | head -495 ); 
> >        do 
> > 	   ln -s "$file" "$( basename file )"
> >        done
> > 
> >    - re-run mandb.  If you get the problem, remove half the files and
> >      try again.  If you don't get the problem, replace the 'head' above
> >      with 'tail', and see if it appears.
> > 
> >    - If you can't repeat the problem, then we've found something that
> >      works.
> 
> I'm afraid none of that will work - it turns out it's the database
> (/var/cache/man/X11R6/index.bt) that's broken, not the man pages.

How did you determine this?

-- 
Karsten M. Self <kmself@ix.netcom.com>          http://kmself.home.netcom.com/
 What part of "Gestalt" don't you understand?             There is no K5 cabal
  http://gestalt-system.sourceforge.net/               http://www.kuro5hin.org
   Free Dmitry! Boycott Adobe! Repeal the DMCA!    http://www.freesklyarov.org
Geek for Hire                        http://kmself.home.netcom.com/resume.html

Attachment: pgpE8uEhTVfqT.pgp
Description: PGP signature


Reply to: