我需要在我的电脑上安装谷歌地球。我下载了谷歌地球的 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
该错误显示了一个依赖问题:
Google 地球需要该软件包
lsb-core
,但它未安装在您的系统上。由于此软件包位于 Ubuntu 17.04 存储库中,因此只需运行
sudo apt-get install lsb-core
安装 lsb-core。然后你可以sudo dpkg -i google-earth-pro-stable_current_amd64.deb
再次运行安装。