DEBIAN_FRONTEND environment variable ignored

Bug #1031357 reported by David Wei
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
debconf (Ubuntu)
New
Undecided
Unassigned

Bug Description

I'm running a Precise amd64 AMI (ami-a29943cb) on Amazon EC2. When running 'apt-get update' and 'apt-get -y upgrade' in a script with DEBIAN_FRONTEND=noninteractive set, I still get the following error from debconf:

ERROR: debconf: unable to initialize frontend: Dialog
ERROR: debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
ERROR: debconf: falling back to frontend: Readline
ERROR: debconf: unable to initialize frontend: Readline
ERROR: debconf: (This frontend requires a controlling tty.)
ERROR: debconf: falling back to frontend: Teletype
ERROR: dpkg-preconfigure: unable to re-open stdin:

I get this using both OpenSSH 'ssh user@host "script.sh"' and Ruby's Net::SSH implementation. However, when using OpenSSH's ssh, a GRUB prompt does come up when defconf falls back to Teletype.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.