现象
当执行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
原因
缺少依赖导致的。
解决方法
安装依赖即可:文章来源:https://www.toymoban.com/news/detail-771268.html
sudo apt install libvulkan1文章来源地址https://www.toymoban.com/news/detail-771268.html
到了这里,关于报错-安装谷歌浏览器报错: dpkg: error processing package google-chrome-stable (--install): dependency problems的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!