-
Notifications
You must be signed in to change notification settings - Fork 59
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
pak fails to update curl on Debian-based systems #691
Comments
As shown here, pak still tries to upgrade the package even with the upgrade arg set to FALSE: https://github.com/geocompx/docker/actions/runs/10953278326/job/30413287861#step:8:368 |
After switching from exactly the same command with remotes it worked so this looks like a bug to me:
See geocompx/docker@d79080f#diff-1c8aec6e5624030890094bb61ae09a11a1fa1d3bfa85e6313d1d79aa11742468R13 |
This is not a bug in pak, but an interaction with conda. If you are building non-conda R packages with an active conda, the build can fail. Even loading them can fail. Deactivate conda while you are using non-conda R, especially when you are installing packages.
Because httr2 requires a newer version of curl.
Probably because remotes is not very smart, so just ignores the versioned requirements. |
Ah OK makes sense now. |
We're working on a container that contained the following:
For some reason, it failed to install curl, as shown here and in subsequent error message: https://github.com/geocompx/docker/actions/runs/10944692306/job/30387186965#step:8:233
Wondering if it's something to do with the fact we're using
pixi
to install R here, but thought these unexpected error messages may be of use.More confusing is that, as far as I can tell, the error persists after asking
pak
not to upgrade anything:I get the same error message after that.
The text was updated successfully, but these errors were encountered: