首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Ubuntu18.04 Google chrome安装后无法启动

Ubuntu18.04 Google chrome安装后无法启动
EN

Ask Ubuntu用户
提问于 2020-03-09 20:40:57
回答 1查看 2K关注 0票数 0

我试着用sudo apt-get install -f ./google-chrome-stable_current_amd64.deb安装Google

乍一看,安装似乎一切正常,但当我尝试运行google chrome时,它给了我错误:There was an error launching the application.

安装日志:

代码语言:javascript
复制
sudo apt-get install -f ./google-chrome-stable_current_amd64.deb
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'google-chrome-stable' instead of './google-chrome-stable_current_amd64.deb'
The following packages were automatically installed and are no longer required:
  bsdtar cryptsetup cryptsetup-bin db-util db5.3-util extlinux fonts-lato hfsplus icoutils
  javascript-common ldmtool libafflib0v5 libarchive-tools libbfio1 libconfig9 libdate-manip-perl
  libewf2 libfwup1 libguestfs-hfsplus libguestfs-perl libguestfs-reiserfs libguestfs-tools
  libguestfs-xfs libguestfs0 libhfsp0 libhivex0 libintl-perl libintl-xs-perl libjs-jquery
  libldm-1.0-0 libruby2.5 libsodium-dev libstring-shellquote-perl libsys-virt-perl libtsk13
  libwin-hivex-perl lsscsi pkg-config rake ruby ruby-bcrypt-pbkdf ruby-blankslate ruby-builder
  ruby-childprocess ruby-did-you-mean ruby-domain-name ruby-erubis ruby-excon ruby-ffi ruby-fog-core
  ruby-fog-json ruby-fog-libvirt ruby-fog-xml ruby-formatador ruby-http-cookie ruby-i18n ruby-json
  ruby-libvirt ruby-listen ruby-log4r ruby-mime-types ruby-mime-types-data ruby-minitest
  ruby-multi-json ruby-net-scp ruby-net-sftp ruby-net-ssh ruby-net-telnet ruby-netrc ruby-nokogiri
  ruby-oj ruby-pkg-config ruby-power-assert ruby-rb-inotify ruby-rbnacl ruby-rest-client ruby-sqlite3
  ruby-test-unit ruby-unf ruby-unf-ext ruby2.5 rubygems-integration scrub sleuthkit sqlite3 supermin
  vagrant-libvirt zerofree
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:
  google-chrome-stable
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 63,6 MB of archives.
After this operation, 224 MB of additional disk space will be used.
Get:1 http://dl.google.com/linux/chrome/deb stable/main amd64 google-chrome-stable amd64 80.0.3987.132-1 [63,6 MB]
Fetched 63,6 MB in 8s (7 660 kB/s)                                                                    
Selecting previously unselected package google-chrome-stable.
(Reading database ... 191242 files and directories currently installed.)
Preparing to unpack .../google-chrome-stable_80.0.3987.132-1_amd64.deb ...
Unpacking google-chrome-stable (80.0.3987.132-1) ...
Setting up google-chrome-stable (80.0.3987.132-1) ...
update-alternatives: using /usr/bin/google-chrome-stable to provide /usr/bin/x-www-browser (x-www-browser) in auto mode
update-alternatives: using /usr/bin/google-chrome-stable to provide /usr/bin/gnome-www-browser (gnome-www-browser) in auto mode
update-alternatives: using /usr/bin/google-chrome-stable to provide /usr/bin/google-chrome (google-chrome) in auto mode
Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.2) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ...
Processing triggers for mime-support (3.60ubuntu1) ...
EN

回答 1

Ask Ubuntu用户

发布于 2020-03-09 20:53:22

尝试下一个:

代码语言:javascript
复制
sudo apt purge google-chrome-stable && sudo apt autoremove

确保在/etc/apt/sources.list.d/google-chrome.list中列出了正确的存储库:

代码语言:javascript
复制
deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main

然后做下一个:

代码语言:javascript
复制
wget https://dl.google.com/linux/linux_signing_key.pub
sudo apt-key add linux_signing_key.pub
sudo apt update
sudo apt install google-chrome-stable

您还可以尝试不稳定的版本:

代码语言:javascript
复制
sudo apt install google-chrome-beta
sudo apt install google-chrome-unstable
票数 0
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/1215994

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档