我在 16.04 LTS 上安裝 Google Chrome 時遇到困難,請幫忙?

我在 16.04 LTS 上安裝 Google Chrome 時遇到困難,請幫忙?

我從他們的網站下載了 64 位元版本的 google chrome 並嘗試安裝它,這就是我每次得到的結果。當我嘗試安裝 libappindicator1 時,它說這取決於 libindicator7,當我嘗試安裝它時,它說取決於 libappindicator1。

我對此還比較陌生,了解不多,非常感謝任何幫助。

Inspiron-5520:~/Downloads$ sudo dpkg -i google-chrome-stable_current_amd64.deb
(Reading database ... 178239 files and directories currently installed.)
Preparing to unpack google-chrome-stable_current_amd64.deb ...
Unpacking google-chrome-stable (50.0.2661.86-1) over (50.0.2661.86-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 man-db (2.7.5-1) ...
Processing triggers for gnome-menus (3.13.3-6ubuntu3) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu5) ...
Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20160415-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for mime-support (3.59ubuntu1) ...
Errors were encountered while processing:
 google-chrome-stable

這是我嘗試安裝 libappindicator1 時得到的結果。

Inspiron-5520:~$ sudo apt-get -f install libappindicator1
[sudo] password for nick: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 libappindicator1 : Depends: libindicator7 (>= 0.4.90) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

這是我嘗試安裝 libindicator7 時得到的結果。

Inspiron-5520:~$ sudo apt-get -f install libindicator7
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 google-chrome-stable : Depends: libappindicator1 but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

答案1

是的,得到同樣的東西,運行sudo apt-get -f install可以修復它。不要輸入套件名稱,apt-get 會計算出來。 Dropbox 也有類似的經歷,但修復起來也不是什麼大問題(相同的方法)

相關內容