报错-安装谷歌浏览器报错: dpkg: error processing package google-chrome-stable (--install): dependency problems

目录

  • 现象
  • 原因
  • 解决方法

现象

当执行sudo dpkg -i google-chrome-stable_current_amd64.deb ,有如下报错:

Selecting previously unselected package google-chrome-stable.
(Reading database ... 188699 files and directories currently installed.)
Preparing to unpack google-chrome-stable_current_amd64.deb ...
Unpacking google-chrome-stable (117.0.5938.88-1) ...
dpkg: dependency problems prevent configuration of google-chrome-stable:
 google-chrome-stable depends on libvulkan1; however:
  Package libvulkan1 is not installed.

dpkg: error processing package google-chrome-stable (--install):
 dependency problems - leaving unconfigured
Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.2) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Errors were encountered while processing:
 google-chrome-stable

原因

缺少依赖导致的。

解决方法

安装依赖即可:

sudo apt install libvulkan1

你可能感兴趣的:(chrome,前端,linux)