Becaus you asked at Stackoverflow http://stackoverflow.com/questions/22957939/how-to-answer-an-apt-get-configuration-change-prompt-on-travis-ci-in-this-case This will fix it we use the debconf package to preconfigure our answers as suggest by debian and ubuntu is debian and so on