Closed dcloud9 closed 2 years ago
I found this problem a couple of days ago, and just found out the root cause. The script provision-rstudio.sh on line 7 tries to install a very specific version of a library, namely libcurl-devel-7.76.1
. Unfortunately, it's companion library, libcurl, is already installed at version 7.79.1 in the base image. Therefore, this library install fails, which causes the R installation to fail, and everything falls apart afterward. To fix it, you can simply change the specific library version to be libcurl-devel-7.79.1
, save, and redeploy. The build then ran successfully for me in 52 minutes. I have not yet tested just having it install whatever version is current by not specifying version numbers. As the base image continues to update, this problem could come up again.
Agreed. Shall we raise a PR for this? Or there's already a much better future-proofing route in the roadmap?
I have no idea what is on their roadmap. If you want to raise a PR, I'll go in with you. I'm not sure if they would rather use another specific version, as I suggested above, or just leave the version off to use whatever is the latest. I have not tested the latter.
Fixed the issue in the PR #11 and closing the issue
I continue to have the same problem with the master branch. I am trying again with the version of libcurl
removed.
Hi, We hit these
bash
errors whenpacker
is ranI think because of
R
is not in thePATH
var? Below are thebash
commands in theprovision-rstudio.sh
script.