retry if packages not installed