Package: man-db
Version: 2.4.3-3
Severity: normal

On Tue, Feb 21, 2006 at 08:07:35PM -0800, Barnaby DiAnni wrote:
> --- Colin Watson <[EMAIL PROTECTED]> wrote:
> > On Mon, Feb 20, 2006 at 05:25:33PM -0800, Barnaby
> > DiAnni wrote:
> > > Sorry to intrude but this is driving me batty and
> > > google searching isn't helping 
> > > 
> > > I get this
> > > 
> > > [EMAIL PROTECTED]:~/bin# man man
> > > man: can't execute exec: No such file or directory
> > > man: command exited with status 65280: /bin/gzip -dc
> > > /var/cache/man/cat1/man.1.gz | exec /usr/bin/less
> > > man: can't remove /tmp/zmanQljDU0: No such file or
> > > directory
> > 
> > Please send the full output of 'man --debug man'.
> 
> Hello Colin,
> 
> Thanks for the response.. I'll attach the output.

Oh, that's interesting. Apparently you have an old /etc/manpath.conf:

  Starting pipeline: /bin/gzip -dc /var/cache/man/cat1/man.1.gz | exec 
/usr/bin/less [input: 0, output: 0]

The new way man runs external commands (which is cleaner and less
vulnerable to security problems) can't handle the 'exec' there, and it
was removed from man's default pager command in man-db 2.4.3, but
apparently you had it in /etc/manpath.config (or perhaps ~/.manpath) as
well. To work around this problem, edit /etc/manpath.config and look for
a line like this:

  DEFINE        pager   exec /usr/bin/less

Remove the 'exec' from that line (or in fact you may just be able to put
a "#" at the start of the line to disable it and use the built-in
default) and try again.

man should handle this somehow without you having to change anything,
though. This message opens a bug in the Debian bug tracking system to
remind me to do something about it.

Thanks,

-- 
Colin Watson                                       [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to