Centos7安装、更新Google浏览器,遇到的依赖包问题

下载了最新的chrome安装包,更新时,出现问题,如下:

[root@localhost ~]# rpm -Uvh google-chrome-stable_current_x86_64.rpm
error: Failed dependencies:
        libvulkan.so.1()(64bit) is needed by google-chrome-stable-87.0.4280.66-1.x86_64

查看该函数库文件的依赖包

[root@localhost ~]# yum provides */libvulkan.so.1
Loaded plugins: fastestmirror, langpacks
Determining fastest mirrors
 * base: mirrors.aliyun.com
 * epel: mirror.yer.az
 * extras: mirrors.aliyun.com
 * updates: mirrors.cn99.com
epel/x86_64/primary_db                                                                                                                                                               | 6.9 MB  00:00:03     
google-chrome                                                                                                                                                                                           3/3
base/7/x86_64/filelists_db                                                                                                                                                           | 7.2 MB  00:00:06     
epel/x86_64/filelists_db                                                                                                                                                             |  12 MB  00:00:03     
extras/7/x86_64/filelists_db                                                                                                                                                         | 224 kB  00:00:00     
google-chrome/filelists                                                                                                                                                              | 1.8 kB  00:00:00     
updates/7/x86_64/filelists_db                                                                                                                                                        | 2.1 MB  00:00:02     
vulkan-1.1.97.0-1.el7.i686 : Vulkan loader and validation layers
Repo        : base
Matched from:
Filename    : /usr/lib/libvulkan.so.1



vulkan-1.1.97.0-1.el7.x86_64 : Vulkan loader and validation layers
Repo        : base
Matched from:
Filename    : /usr/lib64/libvulkan.so.1

安装vulkan-1.1.97.0-1.el7.x86_64

[root@localhost ~]# yum -y install vulkan-1.1.97.0-1.el7.x86_64
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: mirrors.aliyun.com
 * epel: mirror.yer.az
 * extras: mirrors.aliyun.com
 * updates: mirrors.cn99.com
Resolving Dependencies
--> Running transaction check
---> Package vulkan.x86_64 0:1.1.97.0-1.el7 will be installed
--> Processing Dependency: vulkan-filesystem = 1.1.97.0-1.el7 for package: vulkan-1.1.97.0-1.el7.x86_64
--> Processing Dependency: libwayland-client.so.0()(64bit) for package: vulkan-1.1.97.0-1.el7.x86_64
--> Running transaction check
---> Package libwayland-client.x86_64 0:1.15.0-1.el7 will be installed
---> Package vulkan-filesystem.noarch 0:1.1.97.0-1.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

============================================================================================================================================================================================================
 Package                                                 Arch                                         Version                                              Repository                                  Size
============================================================================================================================================================================================================
Installing:
 vulkan                                                  x86_64                                       1.1.97.0-1.el7                                       base                                       3.6 M
Installing for dependencies:
 libwayland-client                                       x86_64                                       1.15.0-1.el7                                         base                                        33 k
 vulkan-filesystem                                       noarch                                       1.1.97.0-1.el7                                       base                                       6.3 k

Transaction Summary
============================================================================================================================================================================================================
Install  1 Package (+2 Dependent packages)

Total size: 3.6 M
Total download size: 3.6 M
Installed size: 22 M
Downloading packages:
(1/2): vulkan-filesystem-1.1.97.0-1.el7.noarch.rpm                                                                                                                                   | 6.3 kB  00:00:00     
(2/2): vulkan-1.1.97.0-1.el7.x86_64.rpm                                                                                                                                              | 3.6 MB  00:00:06     
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                                       590 kB/s | 3.6 MB  00:00:06     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : vulkan-filesystem-1.1.97.0-1.el7.noarch                                                                                                                                                  1/3 
  Installing : libwayland-client-1.15.0-1.el7.x86_64                                                                                                                                                    2/3 
  Installing : vulkan-1.1.97.0-1.el7.x86_64                                                                                                                                                             3/3 
  Verifying  : vulkan-1.1.97.0-1.el7.x86_64                                                                                                                                                             1/3 
  Verifying  : libwayland-client-1.15.0-1.el7.x86_64                                                                                                                                                    2/3 
  Verifying  : vulkan-filesystem-1.1.97.0-1.el7.noarch                                                                                                                                                  3/3 

Installed:
  vulkan.x86_64 0:1.1.97.0-1.el7                                                                                                                                                                            

Dependency Installed:
  libwayland-client.x86_64 0:1.15.0-1.el7                                                             vulkan-filesystem.noarch 0:1.1.97.0-1.el7                                                            

Complete!

重新执行更新命令,更新chrome

[root@localhost ~]# rpm -Uvh google-chrome-stable_current_x86_64.rpm
Preparing...                          ################################# [100%]
Updating / installing...
   1:google-chrome-stable-87.0.4280.66################################# [ 50%]
Redirecting to /bin/systemctl start atd.service
Cleaning up / removing...
   2:google-chrome-stable-76.0.3809.10################################# [100%]

Guess you like

Origin blog.csdn.net/ASAS1314/article/details/109819602
Recommended