linux - 我在哪里可以找到 Amazon Linux 上的 “libgconf-2.so.4()(64bit)” 和 “xdg-utils” 依赖项?

标签 linux amazon-ec2 dependencies amazon xdgutils

我正在使用 Amazon Linux(目前无法更改此发行版)并尝试在我们的 EC2 机器上安装 Google Chrome(为了以 headless 模式运行 Selenium 服务器)。我收到以下错误。有谁知道我在哪里可以找到“libgconf-2.so.4()(64bit)”和“xdg-utils”依赖项?

davea@mydevbox ~$ sudo yum install google-chrome-stable
sudo password for davea: 
Loaded plugins: fastestmirror, priorities, update-motd, upgrade-helper
Loading mirror speeds from cached hostfile
* amzn-main: packages.us-east-1.amazonaws.com
* amzn-updates: packages.us-east-1.amazonaws.com
amzn-main/latest | 2.1 kB 00:00 
amzn-updates/latest | 2.3 kB 00:00 
Resolving Dependencies
--> Running transaction check
---> Package google-chrome-stable.x86_64 0:49.0.2623.112-1 will be installed
--> Processing Dependency: xdg-utils for package: google-chrome-stable-49.0.2623.112-1.x86_64
--> Processing Dependency: libgconf-2.so.4()(64bit) for package: google-chrome-stable-49.0.2623.112-1.x86_64
--> Finished Dependency Resolution
Error: Package: google-chrome-stable-49.0.2623.112-1.x86_64 (google-chrome)
Requires: libgconf-2.so.4()(64bit)
Error: Package: google-chrome-stable-49.0.2623.112-1.x86_64 (google-chrome)
Requires: xdg-utils
You could try using --skip-broken to work around the problem
** Found 2 pre-existing rpmdb problem(s), 'yum check' output follows:
2000:jdk-1.6.0_45-fcs.x86_64 is a duplicate with 2000:jdk-1.6.0_35-fcs.x86_64
2000:jdk-1.6.0_65-fcs.x86_64 is a duplicate with 2000:jdk-1.6.0_45-fcs.x86_64

谢谢,-戴夫

最佳答案

yum install libgconf2-4
yum install xdg-utils

关于linux - 我在哪里可以找到 Amazon Linux 上的 “libgconf-2.so.4()(64bit)” 和 “xdg-utils” 依赖项?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36579823/

相关文章:

flutter | Dart : Target of URI does not exist

linux - Matlab 命令窗口选项卡(选项卡式)

linux - 如何从 azure 自动化证书中获取公钥

Linux - 在 Rstudio : libjvm. 中加载 rJava 时出错,所以 : missing?

c - 如何通过从 ini 文件中提取值来更新指针的值?

amazon-web-services - Amazon EC2 电子围栏退出 : mprotect() failed: Cannot allocate memory

postgresql - 通过 Postgresql 访问 AWS 上的 OSM 数据

apache - 如何创建同时支持 http 和 https 的虚拟主机?

c# - 不复制程序集的依赖程序集

python - 在 pypi 上给定一个模块,有没有办法反省模块并显示所有依赖项?