我最近在计算机上安装了Ubuntu 16.04,但尝试安装google chrome,但无法安装。这就是我得到的。
$ sudo dpkg -i ~/Downloads/google_chrome.deb
(Reading database ... 207470 files and directories currently installed.)
Preparing to unpack .../Downloads/google_chrome.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 man-db (2.7.5-1) ...
Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20160824-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for gnome-menus (3.13.3-6ubuntu3.1) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu5) ...
Processing triggers for mime-support (3.59ubuntu1) ...
Errors were encountered while processing:
google-chrome-stable
所以我尝试安装libappindicator1,这就是我得到的
$ sudo apt-get install libappindicator1
E: Type '@deb' is not known on line 1 in source list /etc/apt/sources.list.d/google.list
E: The list of sources could not be read.
E: Type '@deb' is not known on line 1 in source list /etc/apt/sources.list.d/google.list
E: The list of sources could not be read.
我对Linux完全陌生,所以我不知道这意味着什么以及如何修复它。一个帮助,将不胜感激。
google-chrome-stable
可在第三方存储库上使用:Google Chrome(用于稳定版)。
请按照说明进行安装:
新增金钥:
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
设置存储库:
sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list'
安装包:
sudo apt-get update
sudo apt-get install google-chrome-stable
.deb
文件来做1.转到https://www.google.com/intl/zh-CN/chrome/browser/
2.单击下载,将弹出一个带有一些下载选项的小窗口。
.deb
为Ubuntu选择文件。3,使用Ubuntu软件中心打开后会自动安装
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句