after downloading from google the deb file I try:

dpkg -i google-earth-stable_current_amd64.deb

but it complains that lsb-core is missing. So I need that package, "which is a virtual package and is not provided by any available package". It looks like lsb-core has been removed from Debian Stretch.

Any hints?

  • lsb-core is still available on Ubuntu (as at 15.04) and it may well install on Debian if you down-load the .deb file. You may also find this link helpful. – AFH Jan 22 '16 at 16:20
up vote 5 down vote accepted

Debian dropped LSB support, so lsb-core it's not in Debian >= Stretch anymore.

To have it working you should:

  1. Modify the package metadata removing the lsb-core dependency
  2. Ensure the presence of ld-lsb ELF linker (once provided by lsb-core)

To do so you can:

  1. Follow the instructions already reported here
  2. Check the name of the ld-lsb ELF linker required (architecture dependent):

    ldd /opt/google/earth/free/googleearth-bin |grep ld
  3. Using the information gathered in 2, manually create the symlink. For 64-bit architecture the command is:

    sudo ln -s /lib64/ld-linux-x86-64.so.2 /lib64/ld-lsb-x86-64.so.3

    For 32-bit architecture I guess the correct command would be:

    sudo ln -s /lib/ld-linux-x86.so.2 /lib/ld-lsb-x86.so.3

It worked with my Debian Stretch. Try:

sudo apt-get install lsb-compat

Info about the lsb-compat package

This is also the fix when bypassing the installer and extracting the deb. Then the very misleading error is:

bash: ./googleearth-bin: No such file or directory

It is not the google earth binary which is missing, but the specified loader ld-lsb-x86.so.3

I am running Debian Stretch. I downloaded google-earth-pro-stable_current_amd64.deb, and I installed lsb-compat as described above, except sudo is not a command on my system. Instead I used the command su, and supplied the password.

su
apt-get install lsb-compat
cd Downloads
dpkg google-earth-pro_stable_current_amd64.deb

I can run it from a command line with the command google-earth-pro. But the view occupies just a tiny upper left corner of the available screen space. It is not very usable at this point, but it is installed.

Your Answer

 

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.