You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

在Amazon Linux 2023中安装Google Chrome时出现依赖及架构错误

Amazon Linux 2023安装Google Chrome RPM包报错的原因分析

在Amazon Linux 2023(AL2023)环境下,执行命令sudo dnf install ./google-chrome-stable_current_x86_64.rpm安装Google Chrome稳定版RPM包时,出现如下错误:

Last metadata expiration check: 3:03:15 ago on Thu Jun 27 11:36:32 2024.
Error:
 Problem: conflicting requests
  - package google-chrome-stable-126.0.6478.126-1.x86_64 from @commandline does not have a compatible architecture
  - nothing provides ld-linux-x86-64.so.2()(64bit) needed by google-chrome-stable-126.0.6478.126-1.x86_64 from @commandline
  - nothing provides ld-linux-x86-64.so.2(GLIBC_2.2.5)(64bit) needed by google-chrome-stable-126.0.6478.126-1.x86_64 from @commandline
  - nothing provides ld-linux-x86-64.so.2(GLIBC_2.3)(64bit) needed by google-chrome-stable-126.0.6478.126-1.x86_64 from @commandline
  - nothing provides libc.so.6(GLIBC_2.10)(64bit) needed by google-chrome-stable-126.0.6478.126-1.x86_64 from @commandline
  - nothing provides libc.so.6(GLIBC_2.11)(64bit) needed by google-chrome-stable-126.0.6478.126-1.x86_64 from @commandline
  - nothing provides libc.so.6(GLIBC_2.14)(64bit) needed by google-chrome-stable-126.0.6478.126-1.x86_64 from @commandline
  - nothing provides libc.so.6(GLIBC_2.15)(64bit) needed by google-chrome-stable-126.0.6478.126-1.x86_64 from @commandline
  - nothing provides libc.so.6(GLIBC_2.16)(64bit) needed by google-chrome-stable-126.0.6478.126-1.x86_64 from @commandline
  - nothing provides libc.so.6(GLIBC_2.2.5)(64bit) needed by google-chrome-stable-126.0.6478.126-1.x86_64 from @commandline
  - nothing provides libc.so.6(GLIBC_2.3)(64bit) needed by google-chrome-stable-126.0.6478.126-1.x86_64 from @commandline
  - nothing provides libc.so.6(GLIBC_2.3.2)(64bit) needed by google-chrome-stable-126.0.6478.126-1.x86_64 from @commandline
  - nothing provides libc.so.6(GLIBC_2.3.3)(64bit) needed by google-chrome-stable-126.0.6478.126-1.x86_64 from @commandline
  - nothing provides libc.so.6(GLIBC_2.3.4)(64bit) needed by google-chrome-stable-126.0.6478.126-1.x86_64 from @commandline
  - nothing provides libc.so.6(GLIBC_2.4)(64bit) needed by google-chrome-stable-126.0.6478.126-1.x86_64 from @commandline
  - nothing provides libc.so.6(GLIBC_2.6)(64bit) needed by google-chrome-stable-126.0.6478.126-1.x86_64 from @commandline
  - nothing provides libc.so.6(GLIBC_2.7)(64bit) needed by google-chrome-stable-126.0.6478.126-1.x86_64 from @commandline
  - nothing provides libc.so.6(GLIBC_2.8)(64bit) needed by google-chrome-stable-126.0.6478.126-1.x86_64 from @commandline
  - nothing provides libc.so.6(GLIBC_2.9)(64bit) needed by google-chrome-stable-126.0.6478.126-1.x86_64 from @commandline
  - nothing provides libdl.so.2(GLIBC_2.2.5)(64bit) needed by google-chrome-stable-126.0.6478.126-1.x86_64 from @commandline
  - nothing provides libm.so.6(GLIBC_2.2.5)(64bit) needed by google-chrome-stable-126.0.6478.126-1.x86_64 from @commandline
  - nothing provides libpthread.so.0(GLIBC_2.12)(64bit) needed by google-chrome-stable-126.0.6478.126-1.x86_64 from @commandline
  - nothing provides libpthread.so.0(GLIBC_2.2.5)(64bit) needed by google-chrome-stable-126.0.6478.126-1.x86_64 from @commandline
  - nothing provides libpthread.so.0(GLIBC_2.3.2)(64bit) needed by google-chrome-stable-126.0.6478.126-1.x86_64 from @commandline
  - nothing provides libpthread.so.0(GLIBC_2.3.3)(64bit) needed by google-chrome-stable-126.0.6478.126-1.x86_64 from @commandline
  - nothing provides libpthread.so.0(GLIBC_2.3.4)(64bit) needed by google-chrome-stable-126.0.6478.126-1.x86_64 from @commandline
(try to add '--skip-broken' to skip uninstallable packages)

潜在原因

  • CPU架构不匹配:错误提示中does not have a compatible architecture明确说明,当前AL2023系统的CPU架构与下载的x86_64版本Chrome不兼容。最常见的场景是系统运行在ARM架构实例(如AWS Graviton系列)上,而Chrome包是针对x86_64(AMD/Intel)编译的,两者无法直接兼容。
  • GLIBC依赖版本缺失:报错中大量nothing provides libc.so.6(GLIBC_xxx)(64bit)信息,表明系统自带的GLIBC(GNU C标准库)版本达不到Chrome的要求。即使架构匹配,AL2023的基础库版本可能与Chrome依赖的GLIBC版本存在差异,导致依赖无法满足。
  • 跨架构兼容层未安装:如果是在ARM架构系统上尝试运行x86_64程序,需要提前安装qemu-user-static等跨架构兼容组件,默认AL2023不会预装这些工具,导致系统无法识别和解析x86_64架构的依赖库。

内容的提问来源于stack exchange,提问作者thunderkyg

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.06.21 18:24:53