ubuntu16.04 無法安裝 google chrome ?? [論壇 - Ubuntu安裝問題]


正在瀏覽:   1 名遊客


 到底部   前一個主題   下一個主題  [無發表權] 請登錄或者註冊

(1) 2 »


ubuntu16.04 無法安裝 google chrome ??
會員一級
註冊日期:
2014/4/20 12:53
所屬群組:
已註冊使用者
等級: 2
HP : 0 / 43
MP : 5 / 1162
EXP: 74
離線
把電腦重灌ubuntu 16.04 ,去google官網下載chrome穩定版後,點擊檔案後,按安裝卻一直卡住沒有反應~~請問是ubuntu的bug嗎?

2016/4/24 7:11
應用擴展 工具箱
回覆: ubuntu16.04 無法安裝 google chrome ??
會員三級
註冊日期:
2011/4/21 21:10
所屬群組:
已註冊使用者
等級: 11
HP : 0 / 270
MP : 54 / 9578
EXP: 82
離線
xubuntu 16.04無此問題,安裝、啟動正常。
您要不要先upgrade後再安裝看看?

附件:



png  螢幕快照_2016-04-24_11-04-56.png (139.29 KB)
24890_571c384dd431a.png 1600X900 px

2016/4/24 11:06
應用擴展 工具箱
回覆: ubuntu16.04 無法安裝 google chrome ??
會員五級
註冊日期:
2012/4/22 10:50
所屬群組:
已註冊使用者
等級: 37
HP : 0 / 901
MP : 671 / 29274
EXP: 6
離線
備份連結


ce914018 寫到:
把電腦重灌ubuntu 16.04 ,去google官網下載chrome穩定版後,點擊檔案後,按安裝卻一直卡住沒有反應~~請問是ubuntu的bug嗎?


改用下指令的方式,執行「sudo dpkg -i $deb_package」來安裝,例外發生時,可以看到提示訊息。

下載


$ wget -c https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb



安裝


$ sudo dpkg -i google-chrome-stable_current_amd64.deb




我猜測,你這個情況,是某個相依的套件沒有事先安裝,所以導致發生例外了,

只要執行下面的指令,就可以幫你把相依的套件補齊了


$ sudo apt-get install -f




若上面還不能解決,就執行下面的指令,讓安裝系統恢復可運作的狀態


$ sudo apt-get remove chrome-chrome-stable


2016/4/24 11:16
應用擴展 工具箱
回覆: ubuntu16.04 無法安裝 google chrome ??
會員五級
註冊日期:
2012/4/22 10:50
所屬群組:
已註冊使用者
等級: 37
HP : 0 / 901
MP : 671 / 29274
EXP: 6
離線


(Reading database ... 154656 files and directories currently installed.)
Preparing to unpack google-chrome-stable_current_amd64.deb ...
Unpacking google-chrome-stable (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 mime-support (3.59ubuntu1) ...
Errors were encountered while processing:
google-chrome-stable






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 installed
E: Unmet dependencies. Try using -f.

2016/4/24 11:25
應用擴展 工具箱
回覆: ubuntu16.04 無法安裝 google chrome ??
會員五級
註冊日期:
2012/4/22 10:50
所屬群組:
已註冊使用者
等級: 37
HP : 0 / 901
MP : 671 / 29274
EXP: 6
離線
Xubuntu 16.04 amd64


Selecting previously unselected package google-chrome-stable.
(Reading database ... 154656 files and directories currently installed.)
Preparing to unpack google-chrome-stable_current_amd64.deb ...
Unpacking google-chrome-stable (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 mime-support (3.59ubuntu1) ...
Errors were encountered while processing:
google-chrome-stable





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 installed
E: Unmet dependencies. Try using -f.

2016/4/24 11:27
應用擴展 工具箱
回覆: ubuntu16.04 無法安裝 google chrome ??
會員五級
註冊日期:
2012/4/22 10:50
所屬群組:
已註冊使用者
等級: 37
HP : 0 / 901
MP : 671 / 29274
EXP: 6
離線
備份連結


====================================================

我在「Xubuntu 16.04 amd64」全新安裝,尚未更新或是安裝新的套件的狀況下測試

====================================================


下載


wget -c https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb



安裝


$ sudo dpkg -i google-chrome-stable_current_amd64.deb



顯示


Selecting previously unselected package google-chrome-stable.
(Reading database ... 154656 files and directories currently installed.)
Preparing to unpack google-chrome-stable_current_amd64.deb ...
Unpacking google-chrome-stable (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 mime-support (3.59ubuntu1) ...
Errors were encountered while processing:
google-chrome-stable




執行


$ sudo apt-get install



顯示


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 installed
E: Unmet dependencies. Try using -f.



這個提示訊息,就有提示你要使用「sudo apt-get install -f」。

所以執行


$ sudo apt-get install -f



就可以解決了

請參考我上面的「回覆」。

或是我之前寫的「紀錄」。

2016/4/24 11:29
應用擴展 工具箱
回覆: ubuntu16.04 無法安裝 google chrome ??
會員一級
註冊日期:
2014/4/20 12:53
所屬群組:
已註冊使用者
等級: 2
HP : 0 / 43
MP : 5 / 1162
EXP: 74
離線
指令安裝時, 出現這個錯讓訊息

因相依問題,無法設定 google-chrome-stable:
google-chrome-stable 相依於 libappindicator1﹔然而:
套件 libappindicator1 未安裝。

2016/4/24 11:54
應用擴展 工具箱
回覆: ubuntu16.04 無法安裝 google chrome ??
會員一級
註冊日期:
2014/4/20 12:53
所屬群組:
已註冊使用者
等級: 2
HP : 0 / 43
MP : 5 / 1162
EXP: 74
離線
感謝大大的指導,順利安裝完成,謝謝你~~

2016/4/24 12:03
應用擴展 工具箱
回覆: ubuntu16.04 無法安裝 google chrome ??
會員五級
註冊日期:
2012/4/22 10:50
所屬群組:
已註冊使用者
等級: 37
HP : 0 / 901
MP : 671 / 29274
EXP: 6
離線
ce914018 寫到:
指令安裝時, 出現這個錯讓訊息

因相依問題,無法設定 google-chrome-stable:
google-chrome-stable 相依於 libappindicator1﹔然而:
套件 libappindicator1 未安裝。


跟我上面回覆的提示訊息一樣,只是是英文 :p


所以只要執行



$ sudo apt-get install -f



就可以解決了,我上面的回覆有寫解法,
我也測試過了,經過這樣的方式,是可以正常安裝的。


另外若未來遇到這樣的狀況,若不能解決(有可能整個相依卡住了 )


$ sudo apt-get remove $該套件名稱


上面的例子


$ sudo apt-get remove chrome-chrome-stable



上面的回覆一樣有紀錄這點

更多案例可以參考「[索引] 在 泛Ubuntu 底下,「套件」的操作實務」。

報告完畢


2016/4/24 12:05
應用擴展 工具箱
回覆: ubuntu16.04 無法安裝 google chrome ??
會員一級
註冊日期:
2014/4/20 12:53
所屬群組:
已註冊使用者
等級: 2
HP : 0 / 43
MP : 5 / 1162
EXP: 74
離線
了解,感謝大大熱心的指導,已經順利安裝成功了,真的非常的謝謝你~~

2016/4/24 12:12
應用擴展 工具箱

(1) 2 »

 [無發表權] 請登錄或者註冊


可以查看帖子.
不可發帖.
不可回覆.
不可編輯自己的帖子.
不可刪除自己的帖子.
不可發起投票調查.
不可在投票調查中投票.
不可上傳附件.
不可不經審核直接發帖.