我一直在尝试将 Google Chrome 安装到我的 Kali Linux 操作系统上,但没有成功。
这是我的过程:
root@localhost:~/Downloads# dpkg -i google-chrome-stable_current_amd64.deb
(Reading database ... 303734 files and directories currently installed.)
Preparing to unpack google-chrome-stable_current_amd64.deb ...
Unpacking google-chrome-stable (55.0.2883.87-1) over (55.0.2883.87-1) ...
dpkg: dependency problems prevent configuration of google-chrome-stable:
google-chrome-stable depends on libappindicator1; however:
Package libappindicator1 is not installed.
dpkg: error processing package google-chrome-stable (--install):
dependency problems - leaving unconfigured
Processing triggers for menu (2.1.47) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for gnome-menus (3.13.3-8) ...
Processing triggers for desktop-file-utils (0.23-1) ...
Processing triggers for mime-support (3.60) ...
Errors were encountered while processing:
google-chrome-stable
当我尝试安装时libappindicator1,我得到:
root@localhost:~/Downloads# apt-get install libappindicator1
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libappindicator1 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'libappindicator1' has no installation candidate
如何成功安装 Chrome
答案1
这libappindicator1
软件包可用于 kali-linux 滚动。
编辑您的sources.list
如下:
deb http://http.kali.org/kali kali-rolling main contrib non-free
然后运行:
ap-get update
apt-get install libappindicator1
dpkg -i google-chrome-stable_current_amd64.deb
apt-get -f install