console-setup is waiting for the user input

Asked by Alexander Gordeev on 2012-03-29

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:
2012-03-29
Last query:
2012-03-29
Last reply:
Alexander Gordeev (a-gordeev) said : #1

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