在 Ubuntu 17.04 上安装 Google Earth 时遇到的错误

在 Ubuntu 17.04 上安装 Google Earth 时遇到的错误

我需要在我的计算机上安装 Google Earth。我下载了 Google Earth 的 64 位 .deb 包,并尝试使用以下命令进行安装, sudo dpkg -i google-earth-pro-stable_current_amd64.deb 但我收到以下错误

mala@mala-Aspire-F5-573G:/tmp/mozilla_mala0$ sudo dpkg -i google-earth-pro-stable_current_amd64.deb 
(Reading database ... 302542 files and directories currently installed.)
Preparing to unpack google-earth-pro-stable_current_amd64.deb ...
Unpacking google-earth-pro-stable (7.3.0.3830-r0) over (7.3.0.3830-r0) ...
dpkg: dependency problems prevent configuration of google-earth-pro-stable:
 google-earth-pro-stable depends on lsb-core (>= 3.2); however:
  Package lsb-core is not installed.

dpkg: error processing package google-earth-pro-stable (--install):
 dependency problems - leaving unconfigured
Processing triggers for bamfdaemon (0.5.3+17.04.20170406-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for gnome-menus (3.13.3-6ubuntu5) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu2) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for man-db (2.7.6.1-2) ...
Errors were encountered while processing:
 google-earth-pro-stable

答案1

该错误表明存在依赖性问题:

google-earth-pro-stable depends on lsb-core (>= 3.2); however:
Package lsb-core is not installed.

Google Earth 需要该软件包lsb-core,但您的系统上未安装该软件包。
由于该软件包位于 Ubuntu 17.04 存储库中,因此只需运行sudo apt-get install lsb-core安装 lsb-core 即可。然后您可以sudo dpkg -i google-earth-pro-stable_current_amd64.deb再次运行进行安装。

相关内容