Add -yes to apt-get.