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

Mal*_*rel 2 dpkg debian software-installation

我需要在我的电脑上安装谷歌地球。我下载了谷歌地球的 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
Run Code Online (Sandbox Code Playgroud)

小智 5

该错误向您显示了一个依赖问题:

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

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

  • 考虑接受答案。 (2认同)