-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
libgit2.so.1.7 not found on GH actions ubuntu latest #760
Comments
Seems like a bug indeed, IDK why
As a workaround you can install it manually for now. |
I tried install.packages("git2r") in the actions workflow which downloads a binary package from posit server, and still does not work, so maybe that is the issue? > install.packages("git2r")
Installing package into ‘/home/runner/work/_temp/Library’
(as ‘lib’ is unspecified)
trying URL 'https://packagemanager.posit.co/cran/__linux__/noble/latest/src/contrib/git2r_0.36.2.tar.gz' https://github.com/tdhock/atime/actions/runs/14229862608/job/39877988708#step:8:35 |
I meant installing the |
I tried both.
The output I got was
https://github.com/tdhock/atime/actions/runs/14241985711/job/39913793703 |
hi @gaborcsardi
I see that pak is used in r-lib/actions/setup-r-dependencies so I'm filing here (please tell me if it is not appropriate).
I expected that my tests should pass on github actions ubuntu latest, but I am seeing a libgit2.so.1.7 not found, https://github.com/tdhock/atime/actions/runs/14228891516/job/39874934273#step:8:226
this package has
Imports: git2r
so I assumed that git2r and its dependencies should be installed prior to package checking. And it works fine on other versions of ubuntu, so maybe there is some configuration issue with the new ubuntu image? https://github.com/actions/runner-images/releases/tag/ubuntu24%2F20250330.1 this worked in the past and it looks like this new runner image was deployed just 2 days ago.Thanks in advance if you can help.
The text was updated successfully, but these errors were encountered: