错误:依赖检测失败: liberation-fonts 被 google-chrome-stable-113.0.5672.92-1.x86_64 需要 libvulkan.so.1()(64bit) 被 google-chrome-stable-113.0.5672.92-1.x86_64 需要
时间: 2023-06-17 07:06:41 浏览: 400
这个错误提示是因为 `google-chrome-stable` 这个软件包需要 `libvulkan.so.1()(64bit)` 库,但是系统中没有安装该库。
你可以尝试通过以下命令安装 `libvulkan` 库:
对于 CentOS/RHEL 系统:
```
sudo yum install vulkan
```
对于 Ubuntu/Debian 系统:
```
sudo apt-get install libvulkan1
```
安装完成后,再次尝试安装 `google-chrome-stable` 应该就可以顺利进行了。
相关问题
错误:依赖检测失败: liberation-fonts 被 google-chrome-stable-113.0.5672.92-1.x86_64 需要
这个错误提示意味着你正在尝试安装 Google Chrome,但是 Chrome 需要 `liberation-fonts` 这个软件包,而这个软件包在你的系统中似乎没有被安装。
你可以尝试使用以下命令安装 `liberation-fonts`:
```
sudo dnf install liberation-fonts
```
然后再尝试安装 Google Chrome。如果这个命令不能解决问题,那么可能是其他的依赖关系出了问题,你需要进一步排查。
[root@localhost tar]# rpm -ivh google-chrome-stable_current_x86_64.rpm warning: google-chrome-stable_current_x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 7fac5991: NOKEY error: Failed dependencies: libX11.so.6()(64bit) is needed by google-chrome-stable-113.0.5672.126-1.x86_64 libXcomposite.so.1()(64bit) is needed by google-chrome-stable-113.0.5672.126-1.x86_64 libXdamage.so.1()(64bit) is needed by google-chrome-stable-113.0.5672.126-1.x86_64 libXext.so.6()(64bit) is needed by google-chrome-stable-113.0.5672.126-1.x86_64 libXfixes.so.3()(64bit) is needed by google-chrome-stable-113.0.5672.126-1.x86_64 libXrandr.so.2()(64bit) is needed by google-chrome-stable-113.0.5672.126-1.x86_64 libatk-1.0.so.0()(64bit) is needed by google-chrome-stable-113.0.5672.126-1.x86_64 libatk-bridge-2.0.so.0()(64bit) is needed by google-chrome-stable-113.0.5672.126-1.x86_64 libatspi.so.0()(64bit) is needed by google-chrome-stable-113.0.5672.126-1.x86_64 libcairo.so.2()(64bit) is needed by google-chrome-stable-113.0.5672.126-1.x86_64 libcups.so.2()(64bit) is needed by google-chrome-stable-113.0.5672.126-1.x86_64 liberation-fonts is needed by google-chrome-stable-113.0.5672.126-1.x86_64 libgbm.so.1()(64bit) is needed by google-chrome-stable-113.0.5672.126-1.x86_64 libgtk-3.so.0()(64bit) is needed by google-chrome-stable-113.0.5672.126-1.x86_64 libpango-1.0.so.0()(64bit) is needed by google-chrome-stable-113.0.5672.126-1.x86_64 libvulkan.so.1()(64bit) is needed by google-chrome-stable-113.0.5672.126-1.x86_64 libxcb.so.1()(64bit) is needed by google-chrome-stable-113.0.5672.126-1.x86_64 libxkbcommon.so.0()(64bit) is needed by google-chrome-stable-113.0.5672.126-1.x86_64 libxkbcommon.so.0(V_0.5.0)(64bit) is needed by google-chrome-stable-113.0.5672.126-1.x86_64 wget is needed by google-chrome-stable-113.0.5672.126-1.x86_64 xdg-utils is needed by google-chrome-stable-113.0.5672.126-1.x86_64
您在安装 Google Chrome 时出现了依赖性错误。这意味着您需要安装一些其他的软件包才能安装 Google Chrome。您可以使用以下命令来安装这些软件包:
```
sudo yum install -y libX11 libXcomposite libXdamage libXext libXfixes libXrandr atk at-spi2-atk cups-libs liberation-fonts vulkan xdg-utils wget
```
安装这些软件包后,再次尝试安装 Google Chrome。
阅读全文