fix apt-get -y flag not work