console-setup is waiting for the user input

Asked by Alexander Gordeev

on fresh precise installation console-setup package is waiting for the user input to choose the console encoding, when "apt-get -y --force-yes -q upgrade" is running. It is hanging the script that perfoms system upgrading. How can i prevent it from the user input awaiting?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu console-setup Edit question
Assignee:
No assignee Edit question
Solved by:
Alexander Gordeev
Solved:
Last query:
Last reply:
Revision history for this message
Alexander Gordeev (a-gordeev) said :
#1

the answer is environment variable DEBIAN_FRONTEND, just set it to
DEBIAN_FRONTEND=noninteractive