Refresh the apt cache before installing CRAN packages.