Google Chrome 安装错误

Google Chrome 安装错误

好吧,我浏览了所有其他 Google Chrome 安装内容,但它们都没有帮助我。大多数人说sudo apt-get install -fsudo apt-get -f install但这对我不起作用。我得到了以下喷涌:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following packages will be REMOVED:
  google-chrome-stable
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 179 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 310642 files and directories currently installed.)
Removing google-chrome-stable (56.0.2924.87-1) ...
Processing triggers for mime-support (3.60) ...
Processing triggers for desktop-file-utils (0.23-1) ...
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) ...

当我尝试安装 chrome 时,出现以下信息:

(Reading database ... 310642 files and directories currently installed.)
Preparing to unpack google-chrome-stable_current_amd64.deb ...
Unpacking google-chrome-stable (56.0.2924.87-1) over (56.0.2924.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

答案1

请注意,消息表明问题google-chrome-stable depends on libappindicator1; however: Package libappindicator1 is not installed.通常sudo apt-get -f install是由您如何修复的,但由于这对您不起作用,您可以使用手动修复它sudo apt-get install libappindicator1

答案2

sudo apt-get update && sudo apt-get upgrade在安装 chrome 之前你尝试过吗?

如果是这样,请先安装 libappindicator1,sudo apt-get install libappindicator1然后安装 chrome。

相关内容