Ubuntu 18.04 Google Chrome 安装后无法启动

Ubuntu 18.04 Google Chrome 安装后无法启动

我尝试使用以下方式安装 Google Chrome sudo apt-get install -f ./google-chrome-stable_current_amd64.deb

安装乍一看似乎一切正常,但是当我尝试运行 Google Chrome 时,它​​出现了错误:There was an error launching the application.

安装日志:

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) ...

答案1

尝试下一个:

sudo apt purge google-chrome-stable && sudo apt autoremove

确保您有以下列出的正确的存储库/etc/apt/sources.list.d/google-chrome.list

deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main

然后执行下一步:

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

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

sudo apt install google-chrome-beta
sudo apt install google-chrome-unstable

相关内容