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

Re: mandb gets stuck!



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.

Cheers,

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]



Reply to: