Skip to content
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

Platform detection for sysreqs is wrong on RHEL #610

Open
gaborcsardi opened this issue Apr 11, 2024 · 1 comment
Open

Platform detection for sysreqs is wrong on RHEL #610

gaborcsardi opened this issue Apr 11, 2024 · 1 comment
Labels
bug an unexpected problem or unintended behavior

Comments

@gaborcsardi
Copy link
Member

❯ pak::pkg_sysreqs("curl", sysreqs_platform="rhel-9.3")
Error:
! error in pak subprocess
Caused by error in `sysreqs2_command(sysreqs_platform, "update")`:
! Unknown OS. Don't know how to query or install system packages for
rhel-9.3.
Type .Last.error to see the more details.
❯ pak::pkg_sysreqs("curl", sysreqs_platform="redhat-9.3")
── Install scripts ─────────────────────────────────────────────── Redhat 9.3 ──
dnf install -y libcurl-devel openssl-devel

── Packages and their system dependencies ──────────────────────────────────────
curl – libcurl-devel, openssl-devel
@gaborcsardi gaborcsardi added the bug an unexpected problem or unintended behavior label Apr 11, 2024
@michaelmayer2
Copy link

While the abobe sysreqs_platform will find some dependencies, it for some reason will not find all.

> Sys.setenv("PKG_SYSREQS_PLATFORM" = "redhat-9.3")
> pak::pkg_sysreqs("units")
── Install scripts ──────────────────────────────────────────────────────────────────────────────────────────── Redhat 9.3 ──

── Packages and their system dependencies ───────────────────────────────────────────────────────────────────────────────────
> Sys.setenv("PKG_SYSREQS_PLATFORM" = "redhat-9")
> pak::pkg_sysreqs("units")
── Install scripts ────────────────────────────────────────────────────────────────────────────────────────────── Redhat 9 ──
dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm
dnf install -y udunits2-devel

── Packages and their system dependencies ───────────────────────────────────────────────────────────────────────────────────
units – udunits2-devel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug an unexpected problem or unintended behavior
Projects
None yet
Development

No branches or pull requests

2 participants