admin管理员组文章数量:1414614
I am not able to install gcc on my network switch (64-bit machine) for an application that needs to be compiled on the switch (running the following redhat version.)
[admin@sw ~]$ cat /etc/redhat-release
cat /etc/redhat-release
AlmaLinux release 9.3 (Shamrock Pampas Cat)
[admin@sw ~]$ sudo dnf update -y
sudo dnf update -y
Dependencies resolved.
Nothing to do.
Complete!
[admin@sw ~]$ sudo dnf install gcc
sudo dnf install gcc
Error:
Problem: cannot install both mpfr-3.1.1-4.el7.x86_64 from base and mpfr-4.1.0-7.el9.x86_64 from @System
- mpfr-4.1.0-7.el9.i686 from @System does not belong to a distupgrade repository
- package gcc-4.8.5-44.el7.x86_64 from base requires libmpfr.so.4()(64bit), but none of the providers can be installed
- package gawk-5.1.0-6.el9.i686 from @System requires libmpfr.so.6, but none of the providers can be installed
- conflicting requests
- problem with installed package gawk-5.1.0-6.el9.i686
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages)
[admin@sw ~]$ sudo dnf install gcc --allowerasing
Error:
Problem: The operation would result in removing the following protected packages: sudo
(try to add '--skip-broken' to skip uninstallable packages)
[admin@sw21 ~]$
If you see there are no el7 packages here:
[admin@sw ~]$ rpm -qa | grep mpfr
rpm -qa | grep mpfr
mpfr-4.1.0-7.el9.i686
mpfr-4.1.0-7.el9.x86_64
What am I missing?
本文标签: packagecannot install gcc on almaLinux release 93Stack Overflow
版权声明:本文标题:package - cannot install gcc on almaLinux release 9.3 - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745173697a2646128.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论