google-earth not working - broken package with Xenial Xerus

Bug #1562948 reported by JMB
52
This bug affects 11 people
Affects Status Importance Assigned to Milestone
googleearth-package (Ubuntu)
Confirmed
Undecided
Unassigned
lsb (Debian)
Fix Released
Unknown
lsb (Ubuntu)
New
Undecided
Unassigned

Bug Description

With Xubuntu Xenial Xerus 16.04 LTS Beta2 googleearth-package (1.2.2)
is still not working as reported several times before.
This time, there is no way to install google-earth with normal administrator skills
at all - as further outlined below.

As reported for the former LTS Trusty (14.04 LTS) Bug# 1314993,
the package is still not working and dependencies are not met:

From Xenial Beta2:
$ make-googleearth-package --force
$ sudo dpkg -i googleearth_6.0.3.2197+1.2.0-1_amd64.deb
Selecting previously unselected package googleearth.
(Reading database ... 445462 files and directories currently installed.)
Preparing to unpack googleearth_6.0.3.2197+1.2.0-1_amd64.deb ...
Unpacking googleearth (6.0.3.2197+1.2.0-1) ...
dpkg: dependency problems prevent configuration of googleearth:
 googleearth depends on lsb-core; however:
  Package lsb-core is not installed.
 googleearth depends on libcurl3:i386; however:
dpkg: error processing package googleearth (--install):
 dependency problems - leaving unconfigured
Processing triggers for gnome-menus (3.13.3-6ubuntu3) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu4) ...
Processing triggers for mime-support (3.59ubuntu1) ...
Processing triggers for shared-mime-info (1.5-2) ...
Unknown media type in type 'all/all'
Unknown media type in type 'all/allfiles'
Errors were encountered while processing:
 googleearth

As lsb-core is no longer supported by Debian (and thus Ubuntu), this dependency
can not be met and thus also the directly provided Google 32 bit package is not installable.
As reported since years the 64 bit package is also not installable (and never[?] was).

Also the depicted way using Jessie packages (lsb-security_4.1+Debian13+nmu1_i386.deb,
lsb-invalid-mta_4.1+Debian13+nmu1_all.deb and lsb-core_4.1+Debian13+nmu1_i386.deb)
is no longer possible (i.e. with Beta2), as other dependency problems exist.

This problem may be best addressed by google in providing current installation packages
working on current amd64 systems or by Debian/Ubuntu by providing an environment
where these dependencies are met (this was the former reason for the google-earth package).

Even with 32 bit package provided by Google a stable usage is not possible with Werewolf (15.10),
see e.g. Bug #1559489.
Thus, additional care by Google may be appropriate.

Otherwise, this very informative and educative tool is no longer accessible for most users
of the Linux desktop ....

If further pieces of information are needed or something should be tested, I am willing to help.

Best wishes,

JMB

---
Other pieces of information:
lsb_release -rd
  Description: Ubuntu Xenial Xerus (development branch)
  Release: 16.04
  [current today]
~
sudo dpkg -l | grep earth
ii googleearth-package 1.2.2 all utility to automatically build a Debian package of Google Earth
~
apt-cache policy googleearth-package
googleearth-package:
  Installed: 1.2.2
  Candidate: 1.2.2
  Version table:
 *** 1.2.2 500
        500 http://de.archive.ubuntu.com/ubuntu xenial/multiverse amd64 Packages
        500 http://de.archive.ubuntu.com/ubuntu xenial/multiverse i386 Packages
        100 /var/lib/dpkg/status
~~~

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in googleearth-package (Ubuntu):
status: New → Confirmed
Revision history for this message
Brian Smith (brian-smith-i) wrote :

Also affects me

Revision history for this message
Cip Man (cipman-p) wrote :

Maybe others are willing to test on other ubuntu 16.04 flavors what I came up with to make GE run on ubuntu 16.04 64 beta2:

cd ~/Downloads
wget http://launchpadlibrarian.net/176607818/lsb-security_4.1+Debian11ubuntu8_amd64.deb
wget http://launchpadlibrarian.net/176607810/lsb-core_4.1+Debian11ubuntu8_amd64.deb
wget https://dl.google.com/dl/earth/client/current/google-earth-stable_current_amd64.deb
sudo dpkg -i lsb-security_4.1+Debian11ubuntu8_amd64.deb
sudo dpkg -i lsb-core_4.1+Debian11ubuntu8_amd64.deb
sudo apt install -f
sudo dpkg -i google-earth-stable_current_amd64.deb
sudo apt-get install libfreeimage3 libgstreamer-plugins-base0.10-0
# credit to mr. amirpli from Google Products forum from here on (otherwise GE crashes and/or doesn't display the panoramio pics)
cd /opt/google/earth/free
sudo wget https://googledrive.com/host/0B2F__nkihfiNalQzN0ZmcjBPTGs/ge7.1.1.1580-0.x86_64-new-qt-libs-debian7-ubuntu12.tar.xz
sudo tar xvf ge7.1.1.1580-0.x86_64-new-qt-libs-debian7-ubuntu12.tar.xz
google-earth

Revision history for this message
JMB (jmb-tux) wrote :

Hello Cip Man,
your version works fine for me (Xubuntu) - and I won't expect it could be dependant on flavor.
As usual, the workaround for search for special keyboard layout is necessary:
sudo vi /opt/google/earth/free/googleearth # -> adding before `exec ...'-line:
  export LC_ALL=de_DE.ISO-8859-15
for German keyboard layout - otherwise any address leads to Africa.
Thanks for your help,
JMB

Revision history for this message
Cip Man (cipman-p) wrote :

Or you can just put a en_US locale regardless of your actual locale setting, the only ill effect [I think] being GE shows the USA map when it starts - but I believe everyone sets a 'my start location', so not a problem.

Here's a one line command for this 'all searches end up in Africa' workaround:

sudo sed -i '/exec/ i export LC_ALL=en_US.UTF-8' /opt/google/earth/free/googleearth

Thanks

Revision history for this message
Leopoldo Cantillo (leopoldo-cantillo) wrote :

The same problem I have when try to Install Epson printer L220, the driver depends of lsb package, in Kubuntu 16.04 I try the workaround: install lsb-secruity then lsb-core from but get many deps errors:
es paquets suivants contiennent des dépendances non satisfaites :
 lsb-core : Dépend: at
            Dépend: m4
            Dépend: mailutils mais ne sera pas installé ou
                     mailx
            Dépend: ncurses-term mais ne sera pas installé
            Dépend: pax
            Dépend: alien (>= 8.36) mais ne sera pas installé
E: Dépendances non satisfaites.

How can fix it ?

Revision history for this message
Cip Man (cipman-p) wrote :

That's what 'sudo apt install -f' does - installs all the missing dependencies in your list after installing lsb-core.

Revision history for this message
Ari Torhamo (ari-torhamo) wrote :

@ Cip Man

Your installation instruction worked for me on Ubuntu 16.04, thank you. Your solution for the Africa problem worked for a couple of searches, but now every search takes me to Africa again. Giving the sed command again doesn't help. Quickly looking everything else seems to work fine. Any ideas? Running Google Earth from the terminal gives the following error messages:

[0422/211755:ERROR:net_util.cc(2195)] Not implemented reached in bool net::HaveOnlyLoopbackAddresses()
[0422/211755:ERROR:x509_certificate_nss.cc(730)] CERT_PKIXVerifyCert for www.google.com failed err=-8181
[0422/211755:ERROR:x509_certificate_nss.cc(730)] CERT_PKIXVerifyCert for kh.google.com failed err=-8181
[0422/211755:ERROR:nss_ocsp.cc(581)] No URLRequestContext for OCSP handler.
[0422/211755:ERROR:nss_ocsp.cc(581)] No URLRequestContext for OCSP handler.
[0422/211755:ERROR:nss_ocsp.cc(581)] No URLRequestContext for OCSP handler.

(The list goes on like this)

Revision history for this message
Cip Man (cipman-p) wrote :

Tis means you need to go and visit that place in Africa ASAP :)
Try what JMB suggested in post #4:
- edit /opt/google/earth/free/googleearth with sudo
- make sure there is only one "export LC_ALL= ...." line
- make that line pointing to your specific ISO locale; for DE take JMP's example in post #4, or for finish put fi_FI ISO-8859-1 etc.

Revision history for this message
Cip Man (cipman-p) wrote :

P.S. ... fi_FI.ISO-8859-1 - *with a dot* before ISO

Revision history for this message
James Caird (james-caird) wrote :

@ Cip Man
Thanks very much for your solution to this (and to Mr. Amirpli). It seems to work fine in 16.04

Revision history for this message
Hieronymus (hieronymusch) wrote :

Hello

I not quite sure if my problem really is a follow-up after installing googleearth.

I followed a posting on the ubuntu-mate forums (https://ubuntu-mate.community/t/how-to-install-google-earth-on-ubuntu-16-04/5268)
and installed the packages
https://pkgs.org/ubuntu-15.10/ubuntu-main-i386/lsb-invalid-mta_4.1+Debian11ubuntu8_all.deb.html
https://pkgs.org/ubuntu-15.10/ubuntu-main-amd64/lsb-security_4.1+Debian11ubuntu8_amd64.deb.html
https://pkgs.org/ubuntu-15.10/ubuntu-main-amd64/lsb-core_4.1+Debian11ubuntu8_amd64.deb.html

Now I'm unable to login. It just gives me a /o/oauth/GetOAuthToken error.

Any ideas?

Azti (azti-magnetiko)
summary: - google-earth not working - broken package with Xenial Xerus
+ google-earth not working - broken package with Xenial Xerus
Changed in lsb (Debian):
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.