Chrome 无法在 lubuntu 16.10 中打开

Chrome 无法在 lubuntu 16.10 中打开

故事

我查阅了各种关于如何安装 Google Chrome 的旧指南,直到最终使其正常工作,但是当我最终安装它时(在手动安装一些缺失的软件包之后遇到很多麻烦)它却没有打开,一次也没有。

电脑

  • HP 笔记本,很旧了。
  • 2 GB 内存
  • AMD CPU 双核 1700 MHz
  • 运行 LUbuntu 16.10 64 位

Chrome 安装

我从 Ubuntu 64 位官方 Google 页面下载了该文件,然后通过 GDebi 安装它,同时必须手动安装缺少的软件包。

问题

Chrome 无法打开,自安装以来就再也没有出现过。

诊断

$ google-chrome
/usr/bin/google-chrome: line 55: /opt/google/chrome/chrome: cannot execute binary file: Exec format error
/usr/bin/google-chrome: line 55: /opt/google/chrome/chrome: Success

什么也没有发生(google-chrome-stable 也一样)。

$ whereis google-chrome-stable
google-chrome-stable: /usr/bin/google-chrome-stable

安装文件:

$ sudo apt install ./google-chrome-stable_current_amd64.deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'google-chrome-stable:amd64' instead of './google-chrome-stable_current_amd64.deb'
The following NEW packages will be installed:
  google-chrome-stable:amd64
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/46,2 MB of archives.
After this operation, 180 MB of additional disk space will be used.
Selecting previously unselected package google-chrome-stable:amd64.
(Reading database ... 194730 files and directories currently installed.)
Preparing to unpack .../google-chrome-stable_55.0.2883.87-1_amd64.deb ...
Unpacking google-chrome-stable:amd64 (55.0.2883.87-1) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu1) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up google-chrome-stable:amd64 (55.0.2883.87-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

David Foerster 的建议

$ readlink -f /usr/bin/google-chrome
/opt/google/chrome/google-chrome

$ file /opt/google/chrome/chrome
/opt/google/chrome/chrome: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.26, BuildID[sha1]=77d30c39976a4947b23b12abb107e28f66637823, stripped

我看到了另一个帖子(Google Chrome 无法在 ubuntu 16.04 LTS 中打开) 谈论的是同样的事情(仅在 16.04 中),但它在过去 2 天里已经死了......

答案1

尝试卸载 Google Chrome sudo apt remove --purge google-chrome-stable。卸载 Google Chrome 后,下载新的 Google Chrome .deb 文件。下一步是将新下载的.deb文件移动到您的主目录中。现在打开终端并输入sudo apt install ./[NAME-OF-THE-DEB-FILE]

相关内容