Skip to content

R-devel rpm name conflict #251

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

Open
rundel opened this issue Apr 9, 2025 · 2 comments
Open

R-devel rpm name conflict #251

rundel opened this issue Apr 9, 2025 · 2 comments

Comments

@rundel
Copy link
Contributor

rundel commented Apr 9, 2025

The current naming convention used for the R-devel rpm package for Fedora (and I assume other rpm based distro) conflicts with the distribution R-devel package which prevents install unless using a solely r-builds based R deployment.

Some slight modification of the internal naming scheme (within the package metadata) for the r-builds package would resolve this issue.

sudo dnf install R-devel-1-1.x86_64.rpm 
Last metadata expiration check: 0:51:08 ago on Tue 08 Apr 2025 08:41:58 PM EDT.
Error: 
 Problem: problem with installed package R-4.4.3-1.fc40.x86_64
  - package R-4.4.3-1.fc40.x86_64 from @System requires R-devel(x86-64) = 4.4.3-1.fc40, but none of the providers can be installed
  - package R-4.4.3-1.fc40.x86_64 from updates requires R-devel(x86-64) = 4.4.3-1.fc40, but none of the providers can be installed
  - package R-4.3.3-1.fc40.x86_64 from fedora requires R-devel(x86-64) = 4.3.3-1.fc40, but none of the providers can be installed
  - cannot install both R-devel-1-1.x86_64 from @commandline and R-devel-4.4.3-1.fc40.x86_64 from @System
  - cannot install both R-devel-1-1.x86_64 from @commandline and R-devel-4.3.3-1.fc40.x86_64 from fedora
  - cannot install both R-devel-1-1.x86_64 from @commandline and R-devel-4.4.3-1.fc40.x86_64 from updates
  - conflicting requests
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages)
@glin
Copy link
Contributor

glin commented Apr 9, 2025

Oh, good to know, thanks. Maybe a lowercase r-devel package would work, and also make the package names consistent across all distros. We can consider a change like this while moving to DEB/RPM repositories later.

Until then, you could extract the RPM, or install manually from the tarballs, e.g. https://cdn.posit.co/r/fedora-41/R-devel-fedora-41.tar.gz

https://github.com/rstudio/r-builds?tab=readme-ov-file#r-builds-tarballs

@rundel
Copy link
Contributor Author

rundel commented Apr 10, 2025

I was able to get it working by renaming the package with rpmrebuild - not ideal but it was enough to get things installed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants