Google Earth未安装在14.04上


9

我正在尝试在Ubuntu 14.04上安装Google Earth,并收到以下错误。使用dpkg -i从Google网站安装.deb下载文件时出现问题,此外,我也在Ubuntu Software Center进行了测试。

这个站点中存在类似的问题,涉及安装问题,但是都不是在14.04上,因此我决定发布一个新问题,以寻求当前LTS Ubuntu版本的提示解决方案(这些问题中的大多数评论和建议都针对最早的Ubuntu)。版本)

Preparing to unpack google-earth-stable_current_amd64.deb ...
Unpacking google-earth-stable (7.1.2.2041-r0) ... dpkg: dependency
problems prevent configuration of google-earth-stable: 
google-earth-stable depends on lsb-core (>= 3.2); however:   Package
lsb-core is not installed.  google-earth-stable depends on ia32-libs;
however:   Package ia32-libs is not installed.

dpkg: error processing package google-earth-stable (--install): 
dependency problems - leaving unconfigured Processing triggers for
man-db (2.6.7.1-1) ... Processing triggers for bamfdaemon
(0.5.1+14.04.20140409-0ubuntu1) ... Rebuilding
/usr/share/applications/bamf-2.index... Processing triggers for
gnome-menus (3.10.1-0ubuntu2) ... Processing triggers for
desktop-file-utils (0.22-1ubuntu1) ... Processing triggers for
mime-support (3.54ubuntu1) ... Errors were encountered while
processing:  google-earth-stable

这里描述的我得到了:

sudo dpkg -i google-earth-stable_current_amd64.deb  Selecting
previously unselected package google-earth-stable. (Reading database
... 277661 files and directories currently installed.) Preparing to
unpack google-earth-stable_current_amd64.deb ... Unpacking
google-earth-stable (7.1.2.2041-r0) ... dpkg: dependency problems
prevent configuration of google-earth-stable:  google-earth-stable
depends on lsb-core (>= 3.2); however:   Package lsb-core is not
installed.  google-earth-stable depends on ia32-libs; however:  
Package ia32-libs is not installed.

dpkg: error processing package google-earth-stable (--install): 
dependency problems - leaving unconfigured Processing triggers for
man-db (2.6.7.1-1) ... Processing triggers for bamfdaemon
(0.5.1+14.04.20140409-0ubuntu1) ... Rebuilding
/usr/share/applications/bamf-2.index... Processing triggers for
gnome-menus (3.10.1-0ubuntu2) ... Processing triggers for
desktop-file-utils (0.22-1ubuntu1) ... Processing triggers for
mime-support (3.54ubuntu1) ... Errors were encountered while
processing:  google-earth-stable

Answers:


15

尝试使用此处提供的方法安装Google Earth

Google Earth的问题在于32位软件包不支持多体系结构,因此它无法安装在Ubuntu 64位上运行所需的所有32位依赖项。

我建议您只复制粘贴以下命令:

sudo apt-get install libfontconfig1:i386 libx11-6:i386 libxrender1:i386 libxext6:i386 libgl1-mesa-glx:i386 libglu1-mesa:i386 libglib2.0-0:i386 libsm6:i386; cd /tmp && wget http://dl.google.com/dl/earth/client/current/google-earth-stable_current_i386.deb; sudo dpkg -i google-earth-stable_current_i386.deb; sudo apt-get install -f

然后下载并在64位系统上安装32位软件包。


3

这适用于我系统上的kubuntu 14.04 AMD64

  1. 下载32位软件包(请相信,amd64位软件包并不是Google真正的100%64位-shame,64位存在了多久了?)
  2. 安装google .deb软件包
  3. 打开一个终端并运行以下命令:

    sudo apt-get install libc6-i386 libglib2.0-0:i386 libsm6:i386 libglu1-mesa:i386 libgl1-mesa-glx:i386 libxext6:i386 libxrender1:i386 libx11-6:i386 libfontconfig1:i386 lsb-core
    
  4. 就是这样,现在它应该可以正常运行了从命令行运行 google-earth

参考: GoogleEarth


我在64位软件包中的googleearth-bin文件上使用了file命令,结果表明它是64位可执行文件,这意味着不是100%64位,这是什么意思?
fady mohamed osman 2014年

谢谢您,在安装完这些软件包之后,对我来说,在Google Kubuntu 14.10上就可以很好地安装Google Earth了。
dotancohen 2015年

2

看来ia32-libs(Google Earth想要的)已经不存在了。但是,它已被替换!这对我有用(Ubuntu 14.04 LTS,安装google-earth-stable_current_amd64.deb):

打开终端窗口并复制粘贴:

sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0

完成此操作后,google-earth-stable_current_amd64.deb将被安装而没有任何错误。


没有用,我也不知道为什么会用。该软件包需要对ia32-libs软件包的依赖性。如果没有它,它将安装失败。
vaab 2015年

2

我是Ubuntu 14.04、64位用户。我花了大约两天的时间在互联网上找到此问题的解决方案。我尝试了几乎所有给定的建议,包括Webupd8的解决方案,但没有找到解决方案。

我终于找到了以下解决方案,现在Google Earth在我的PC上可以正常工作。现在,我可以毫无问题地在Google Earth中进行搜索了,甚至没有遇到“空白图片框”的问题。

解:

  1. 卸载以前的Google Earth版本。我使用Synaptic软件包管理器来卸载Google Earth。

  2. 安装ia32-libs

    sudo -i
    cd /etc/apt/sources.list.d
    echo "deb http://old-releases.ubuntu.com/ubuntu/ raring main restricted universe multiverse" >ia32-libs-raring.list
    apt-get update
    apt-get install ia32-libs
    

    PS:最后,您可以删除ia32-libs-raring.listin /etc/apt/sources.list.d,然后通过键入sudo apt-get update命令更新系统。

  3. 然后转到Mint的链接并下载googleearth_6.2.2.6613-r0_i386.deb版本,并通过输入以下内容从终端安装:

    sudo gdebi googleearth_6.2.2.6613-r0_i386.deb  
    
  4. 完成安装后,运行以下命令:google-earth

  5. 在您运行Google地球并在搜索框中搜索某个城市之后,遇到了诸如此类的问题:invalid HTTP request然后在终端中继续进行以下操作:

    sudo mv /opt/google/earth/free/libcurl.so.4 /opt/google/earth/free/backup_libcurl.so.4   
    

Google Earth应该可以正常工作,它确实可以在我的PC上正常运行。



By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.