侧边栏壁纸
博主头像
小麦味气泡水博主等级

Be a gentle and powerful person.

  • 累计撰写 29 篇文章
  • 累计创建 27 个标签
  • 累计收到 0 条评论

目 录CONTENT

文章目录

Linux:RedHat8 YUM安装报错?

小麦味气泡水
2024-08-12 / 0 评论 / 0 点赞 / 18 阅读 / 2288 字
# yum install gcc
上次元数据过期检查:0:00:05 前,执行于 2022年07月20日 星期三 04时47分06秒。
错误:
 问题: package gcc-8.5.0-4.el8_5.x86_64 requires glibc-devel >= 2.2.90-12, but none of the providers can be installed
  - package glibc-devel-2.28-164.el8.i686 requires libpthread.so.0, but none of the providers can be installed
  - package glibc-devel-2.28-164.el8.i686 requires libdl.so.2, but none of the providers can be installed
  - package glibc-devel-2.28-164.el8.i686 requires libm.so.6, but none of the providers can be installed
  - package glibc-devel-2.28-164.el8.i686 requires libresolv.so.2, but none of the providers can be installed
  - package glibc-devel-2.28-164.el8.i686 requires librt.so.1, but none of the providers can be installed
  - package glibc-devel-2.28-164.el8.i686 requires libutil.so.1, but none of the providers can be installed
  - package glibc-devel-2.28-164.el8.i686 requires libBrokenLocale.so.1, but none of the providers can be installed
  - package glibc-devel-2.28-164.el8.i686 requires libanl.so.1, but none of the providers can be installed
  - package glibc-devel-2.28-164.el8.i686 requires libthread_db.so.1, but none of the providers can be installed
  - package glibc-devel-2.28-164.el8.x86_64 requires glibc = 2.28-164.el8, but none of the providers can be installed
  - glibc-2.28-164.el8.i686 has inferior architecture
  - cannot install both glibc-2.28-164.el8.x86_64 and glibc-2.28-206.el8.x86_64
  - package glibc-gconv-extra-2.28-206.el8.x86_64 requires glibc(x86-64) = 2.28-206.el8, but none of the providers can be installed
  - cannot install the best candidate for the job
  - problem with installed package glibc-gconv-extra-2.28-206.el8.x86_64
(尝试在命令行中添加 '--allowerasing' 来替换冲突的软件包 或 '--skip-broken' 来跳过无法安装的软件包 或 '--nobest' 来不只使用软件包的最佳候选)

按照提示加上 --allowerasing,降级就能解决了 (小心风险)

0

评论区