- $ sudo apt-get update
- $ sudo apt-get dist-upgrade
- Download deb package from http://earth.google.com
- $ sudo dpkg -i go*.deb
- If many dependency failures, this is the last working try: $ sudo apt-get install lsb-core lsb-release pax alien rpm rpm2cpio libelf1 librpm1 librpmbuild1 librpmio1 libelf1 librpm1 librpmio1 rpm-common
Hint: I did block (double click in the package) and middle click (anywhere in terminal) to get the dependency transferred at the cursor position.
Below is detail notes:
$ sudo dpkg -i google-earth-stable_current_i386.deb
(Reading database ... 182343 files and directories currently installed.)
Preparing to replace google-earth-stable 6.0.1.2032-r0 (using google-earth-stable_current_i386.deb) ...
Unpacking replacement google-earth-stable ...
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.
dpkg: error processing google-earth-stable (--install):
dependency problems - leaving unconfigured
Processing triggers for man-db ...
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend requires a screen at least 13 lines tall and 31 columns wide.)
debconf: falling back to frontend: Readline
Processing triggers for menu ...
Errors were encountered while processing:
google-earth-stable
$ sudo apt-get install lsb-core
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
lsb-core : Depends: lsb-release but it is not going to be installed
Depends: pax but it is not going to be installed
Depends: alien (>= 8.36) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
$ sudo apt-get install lsb-core lsb-release pax alien
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
alien : Depends: rpm (>= 2.4.4-2) but it is not going to be installed
Depends: rpm2cpio but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
$ sudo apt-get install lsb-core lsb-release pax alien rpm rpm2cpio
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
rpm : Depends: libelf1 (>= 0.131) but it is not going to be installed
Depends: librpm1 (>= 4.8.0) but it is not going to be installed
Depends: librpmbuild1 (>= 4.8.0) but it is not going to be installed
Depends: librpmio1 (>= 4.8.0) but it is not going to be installed
Depends: rpm-common (= 4.8.1-6) but it is not going to be installed
rpm2cpio : Depends: libelf1 (>= 0.131) but it is not going to be installed
Depends: librpm1 (>= 4.8.0) but it is not going to be installed
Depends: librpmio1 (>= 4.8.0) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
$ sudo apt-get install lsb-core lsb-release pax alien rpm rpm2cpio libelf1 librpm1 librpmbuild1 librpmio1 libelf1 librpm1 librpmio1
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
librpm1 : Depends: rpm-common (= 4.8.1-6) but it is not going to be installed
rpm : Depends: rpm-common (= 4.8.1-6) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
$ sudo apt-get install lsb-core lsb-release pax alien rpm rpm2cpio libelf1 librpm1 librpmbuild1 librpmio1 libelf1 librpm1 librpmio1 rpm-common
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
lsb-rpm lintian lzma lsb elfutils rpm-i18n
The following NEW packages will be installed:
alien libelf1 librpm1 librpmbuild1 librpmio1 lsb-core lsb-release pax rpm rpm-common rpm2cpio
0 upgraded, 11 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0 B/5,155 kB of archives.
After this operation, 7,500 kB of additional disk space will be used.
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend requires a screen at least 13 lines tall and 31 columns wide.)
debconf: falling back to frontend: Readline
Preconfiguring packages ...
Selecting previously deselected package lsb-release.
(Reading database ... 182344 files and directories currently installed.)
Unpacking lsb-release (from .../lsb-release_3.2-23.2squeeze1_all.deb) ...
Selecting previously deselected package pax.
Unpacking pax (from .../p/pax/pax_20090728-1_i386.deb) ...
Selecting previously deselected package libelf1.
Unpacking libelf1 (from .../libelf1_0.148-1_i386.deb) ...
Selecting previously deselected package librpmio1.
Unpacking librpmio1 (from .../rpm/librpmio1_4.8.1-6_i386.deb) ...
Selecting previously deselected package rpm-common.
Unpacking rpm-common (from .../rpm-common_4.8.1-6_i386.deb) ...
Selecting previously deselected package librpm1.
Unpacking librpm1 (from .../r/rpm/librpm1_4.8.1-6_i386.deb) ...
Selecting previously deselected package librpmbuild1.
Unpacking librpmbuild1 (from .../librpmbuild1_4.8.1-6_i386.deb) ...
Selecting previously deselected package rpm2cpio.
Unpacking rpm2cpio (from .../rpm/rpm2cpio_4.8.1-6_i386.deb) ...
Selecting previously deselected package rpm.
Unpacking rpm (from .../r/rpm/rpm_4.8.1-6_i386.deb) ...
Selecting previously deselected package alien.
Unpacking alien (from .../a/alien/alien_8.81_all.deb) ...
Selecting previously deselected package lsb-core.
Unpacking lsb-core (from .../lsb-core_3.2-23.2squeeze1_i386.deb) ...
Processing triggers for man-db ...
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend requires a screen at least 13 lines tall and 31 columns wide.)
debconf: falling back to frontend: Readline
Setting up lsb-release (3.2-23.2squeeze1) ...
Setting up pax (1:20090728-1) ...
Setting up libelf1 (0.148-1) ...
Setting up librpmio1 (4.8.1-6) ...
Setting up rpm-common (4.8.1-6) ...
Setting up librpm1 (4.8.1-6) ...
Setting up librpmbuild1 (4.8.1-6) ...
Setting up rpm2cpio (4.8.1-6) ...
Setting up rpm (4.8.1-6) ...
Setting up alien (8.81) ...
Setting up lsb-core (3.2-23.2squeeze1) ...
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend requires a screen at least 13 lines tall and 31 columns wide.)
debconf: falling back to frontend: Readline
dpkg: warning: obsolete option '--print-installation-architecture', please use '--print-architecture' instead.
Setting up google-earth-stable (6.0.3.2197-r0) ...
Processing triggers for python-support ...
Processing triggers for menu ...
$ google-earth