modified apt-get wait command