[Debconf-devel] Bug#376688: /dev/tty

Richard Kettlewell rjk at greenend.org.uk
Thu Aug 3 09:04:01 UTC 2006


> Richard Kettlewell wrote:
> > debconf: (This frontend requires a controlling tty.)
> 
> Doe some reason you don't have a /dev/tty, or it could not be opened.

But I _do_ have a /dev/tty and it _can_ be opened.  From a more recent
upgrade:

    Setting up openoffice.org-bin (1.1.3-9sarge3) ...
    debconf: unable to initialize frontend: Readline
    debconf: (This frontend requires a controlling tty.)
    debconf: falling back to frontend: Teletype

    root# ls -l /dev/tty
    crw-rw-rw-  1 root tty 5, 0 Mar 21  2005 /dev/tty
    root# echo spong > /dev/tty
    spong
    root# read x  < /dev/tty
    foobar
    root# echo $x
    foobar
    root#

ttfn/rjk




More information about the Debconf-devel mailing list