Public bug reported:

While launching ami-018c9568 on AWS I was unable to inject a script which 
include apt-get dist-upgrade </dev/null due to the TERM setting likely due to 
incompatibility with readline hooks or something. In order to get this working 
I had to set TERM=dumb and export TERM and then script inject works fine. Here 
is the err output:
StdErr: + id
+ apt-get -y update
+ apt-get -y dist-upgrade
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell 
buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin: 
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell 
buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell 
buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
update-rc.d: warning: default stop runlevel arguments (0 1 6) do not match 
rsync Default-Stop values (none)

** Affects: ubuntu
     Importance: Undecided
         Status: New


** Tags: ami aws dist-upgrade

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1313983

Title:
  EC2 14.04 ami-018c9568 dist-upgrade unable to initialize frontend.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/1313983/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to