ensure package download is done before installation