Update repo index before trying to install packages