• Welcome to LiuJason's Blog!

[已解决]CentOS8下yum安装R报错 R-devel requires R-core-devel but none of the providers can be installed

Linux笔记 Jason 5 years ago (2020-02-17) 1834 Views 0 Comments QR code of this page
文章目录[隐藏]

问题

CentOS8下yum安装R报错:

[root@rstudio ~]# sudo yum install R -y
Extra Packages for Enterprise Linux Modular 8 - x86_64                               59 kB/s |  40 kB     00:00    
Error: 
 Problem: package R-3.6.2-1.el8.x86_64 requires R-devel = 3.6.2-1.el8, but none of the providers can be installed
  - package R-devel-3.6.2-1.el8.x86_64 requires R-core-devel = 3.6.2-1.el8, but none of the providers can be installed
  - conflicting requests
  - nothing provides texinfo-tex needed by R-core-devel-3.6.2-1.el8.x86_64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

解决方案

发现是缺少了texinfo-tex,而这个包在CentOS8下的powertools repo中,而且并没有被默认开启,因此需要手动开启:

dnf install 'dnf-command(config-manager)' -y
sudo yum config-manager --set-enabled PowerTools

This article is under CC BY-NC-SA 4.0 license.
Please quote the original link:https://www.liujason.com/article/531.html
Like (7)
发表我的评论
取消评论

表情 贴图 加粗 删除线 居中 斜体 签到

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址