我正在尝试在 RHEL 7 上安装 R。我正在使用 epel-release-7-2.noarch.rpm 并解决了许多依赖项(通过手动 .rpm 安装一个一个),但在依赖项解析结束时我得到了这些错误:
--> Finished Dependency Resolution
Error: Package: R-core-3.1.1-7.el7.x86_64 (epel)
Requires: tex(dvips)
Error: Package: R-core-devel-3.1.1-7.el7.x86_64 (epel)
Requires: texinfo-tex
Error: Package: R-java-devel-3.1.1-7.el7.x86_64 (epel)
Requires: java-devel
Error: Package: R-core-3.1.1-7.el7.x86_64 (epel)
Requires: tex(latex)
Error: Package: R-core-devel-3.1.1-7.el7.x86_64 (epel)
Requires: tex(latex)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
我使用的系统没有注册到 Red Hat Subscription Management,所以我不能使用 subscription-manager 来注册它并解决依赖关系。
我在哪里可以找到 tex(dvips) 和 tex(latex)?我正在尝试从 mirror.centos.org/centos/7/os/x86_64/Packages/ 下载它,但我仍然没有找到正确的文件
更新:
最后我自己解决了更新 RHEL 存储库的问题:
cd /etc/yum.repos.d/ …