如何安装谷歌浏览器?

如何安装谷歌浏览器?

当我安装 google chrome 软件包时,我正在解决 Kali Linux 中的一个问题,我想安装,但它显示如下:

sudo apt install ./google-chrome-stable_current_amd64.deb

> Reading package lists... Done

> Building dependency tree       
Reading state information... Done                                                                                                                                                                                                          
Note, selecting 'google-chrome-stable' instead of './google-chrome-stable_current_amd64.deb'                                                                                                                                               
Some packages could not be installed. This may mean that you have                                                                                                                                                                          
requested an impossible situation or if you are using the unstable                                                                                                                                                                         
distribution that some required packages have not yet been created                                                                                                                                                                         
or been moved out of Incoming.                                                                                                                                                                                                             
The following information may help to resolve the situation:                                                                                                                                                                               
> 
> The following packages have unmet dependencies:                                                                                                                                                                                            
 google-chrome-stable : Depends: xdg-utils (>= 1.0.2) but it is not installable                                                                                                                                                            
                        Recommends: libu2f-udev but it is not installable                                                                                                                                                                  
                        Recommends: libvulkan1 but it is not installable                                                                                                                                                                   
E: Unable to correct problems, you have held broken packages.

请帮我解决这个问题。

答案1

尝试使用格德比代替易于

sudo gdebi google-chrome-stable_current_amd64.deb

man gdebi仔细阅读描述部分的摘录:

   gdebi  lets  you  install local deb packages resolving and installing
   its dependencies. apt does the same, but only for remote (http,  ftp)
   located packages. It can also resolve build-depends of debian/control
   files.

相关内容