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

Re: man errors when no man page available



On Thu, Dec 07, 2000 at 09:28:55AM -0600, Robert Guthrie wrote:
> Sometimes when I try to view a man page that doesn't exist (try man
> nomanpage, or man foooooo), I get these errors:
> man: warning: /usr/share/man/man1/vi.1.gz is a dangling symlink
> man: can't open /usr/share/man/man1/vi.1: No such file or directory
> man: warning: /usr/share/man/man1/vi.1.gz: bad symlink or ROFF `.so' request  
>         
> "man vi" just gives me "No manual entry for vi", but not those errors; I use 
> vim.

See: update-alternatives(8).  Also reference (grep) the
<package>.postinst script under /var/lib/dpkg/info/ for vim.  I'm sure
you'll see an example as to how update-alternatives is used.  

-- 
Chad "^chewie, gunnarr" Walstrom <chewie@wookimus.net>
             http://www.wookimus.net/

Attachment: pgpyhx7VjIt7S.pgp
Description: PGP signature


Reply to: