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

Re: dpkg.log



I'm (finally) catching up on old mail ...

Adrian Bridgett <adrian.bridgett@zetnet.co.uk> writes:

> dpkg-mountable does logging, but I havn't used it for ages so there are no
> logs left on this machine to check.  I believe it used a program called
> "script"...

It uses a version of "script" hacked to take a command-line rather
than just run the user's shell.

Unfortunately it ends up logging the *entire* install which, while
better than nothing -- and invaluable for troubleshooting -- doesn't
really achieve the objective here, which is to have an easy way of
presenting the installer with the few messages requiring their
attention.

Personally I'm in favour of a log file somewhere, which dpkg could
open on a separate fd:
  echo >&5 Don\'t forget to remove /etc when the installation is finished

Andy

-- 
Andy Mortimer                                 andy.mortimer@zetnet.co.uk
-- 
Andy walking, Andy tired,
Andy take a little snooze
    -- "Andy Warhol," David Bowie


Reply to: