Siduction Forum

Siduction Forum => Software - Support => Topic started by: vilde on 2015/04/16, 18:29:53

Title: googleearth is not working to install
Post by: vilde on 2015/04/16, 18:29:53
I can't install Googleearth on my 64 bit xfce.

Try to ignore everything about locales when you read.

root@T420:/home/vilde# LANG=en dpkg -i googleearth_6.0.3.2197+1.2.0-1_amd64.deb
Selecting previously unselected package googleearth.
(Reading database ... 207948 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 libfreeimage3; however:
  Package libfreeimage3 is not installed.
googleearth depends on lsb-core; however:
  Package lsb-core is not installed.
googleearth depends on libcurl3:i386; however:
googleearth depends on libsm6:i386; however:
googleearth depends on libfontconfig1:i386; however:
googleearth depends on libxt6:i386; however:
googleearth depends on libxrender1:i386; however:
googleearth depends on libxext6:i386; however:
googleearth depends on libgl1-mesa-glx:i386; however:
googleearth depends on libgl1-mesa-dri:i386; however:

dpkg: error processing package googleearth (--install):
dependency problems - leaving unconfigured
Processing triggers for mime-support (3.58) ...
Processing triggers for desktop-file-utils (0.22-1) ...
Processing triggers for bamfdaemon (0.2.118-1) ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for shared-mime-info (1.3-1) ...
Processing triggers for menu (2.1.47) ...
Errors were encountered while processing:
googleearth
root@T420:/home/vilde# LANG=en apt-get -f install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following packages will be REMOVED:
  googleearth
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LANG = "en"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Can't set locale; make sure $LC_* and $LANG are correct!
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LANG = "en"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
(Reading database ... 208780 files and directories currently installed.)
Removing googleearth (6.0.3.2197+1.2.0-1) ...
Processing triggers for menu (2.1.47) ...
Processing triggers for shared-mime-info (1.3-1) ...
Processing triggers for mime-support (3.58) ...
Processing triggers for desktop-file-utils (0.22-1) ...
Processing triggers for bamfdaemon (0.2.118-1) ...
Rebuilding /usr/share/applications/bamf.index...
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LANG = "en"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LANG = "en"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LANG = "en"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
root@T420:/home/vilde#

Title: Re: googleearth is not working to install
Post by: melmarker on 2015/04/16, 18:39:18
and it will never work again in a current sid - one should read about multiarch and how to activate it - and then install the i386 package
Title: Re: googleearth is not working to install
Post by: vilde on 2015/04/16, 19:06:23
Quote from: melmarker on 2015/04/16, 18:39:18
and it will never work again in a current sid - one should read about multiarch and how to activate it - and then install the i386 package
ok, thank you
Title: Re: googleearth is not working to install
Post by: ReinerS on 2015/04/16, 22:56:28
hmm, just gave it a try again.
It complains about needing lsb-core >=3.2 however 4.1+Debian13+nmu1 is installed.
Trying to also install the lsb-core:i386 (same version) results in a lot of depency problems and doesn't install.

regards

Reiner
Title: Re: googleearth is not working to install
Post by: towo on 2015/04/16, 23:07:19
Quote from: ReinerS on 2015/04/16, 22:56:28
hmm, just gave it a try again.
It complains about needing lsb-core >=3.2 however 4.1+Debian13+nmu1 is installed.
Trying to also install the lsb-core:i386 (same version) results in a lot of depency problems and doesn't install.

regards

Reiner
Blame google for the f***ing wrong packaging on their ge-packages.
Just unpack the deb, fix the dependencys and repack it. Then it installs and works fine.
Title: Re: googleearth is not working to install
Post by: ReinerS on 2015/04/16, 23:20:13
hmm, I will try it however I actually donot know yet/remember  how to repack a package.
Unpacking and changing might not be the problem but how to make a .deb again ?

regards

Reiner
Title: Re: googleearth is not working to install
Post by: towo on 2015/04/16, 23:23:17
https://debianforum.de/forum/viewtopic.php?p=1024704#p1024704
Title: Re: googleearth is not working to install
Post by: ReinerS on 2015/04/16, 23:31:23
Thank you for the infos. I will try that.

regards

Reiner
Title: Re: googleearth is not working to install
Post by: johnlittle001 on 2015/04/17, 14:24:12
I struggled with this issue about 6 months ago.  Once I figured it out I decided to take note of the solution so that wouldn't have to figure it out again in the future.  Here are my notes.

================================
TO INSTALL googleearth

download 64 bit deb file from google website

First extract the files installed by the binary package:
$ dpkg-deb -x mypackage.deb subdirname

Next extract the package metadata:
$ dpkg-deb -e mypackage.deb subdirname/DEBIAN

At this point edit the "control" files in subdirname/DEBIAN to remove reference to dependencies

Finally, create the modified package:
dpkg-deb -b subdirname mypackage-new.deb

then install
dpkg -i mypackage-new.deb
Title: Re: googleearth is not working to install
Post by: vilde on 2015/04/17, 16:38:07
Quote from: johnlittle001 on 2015/04/17, 14:24:12
I struggled with this issue about 6 months ago.  Once I figured it out I decided to take note of the solution so that wouldn't have to figure it out again in the future.  Here are my notes.

================================
TO INSTALL googleearth

download 64 bit deb file from google website

First extract the files installed by the binary package:
$ dpkg-deb -x mypackage.deb subdirname

Next extract the package metadata:
$ dpkg-deb -e mypackage.deb subdirname/DEBIAN

At this point edit the "control" files in subdirname/DEBIAN to remove reference to dependencies

Finally, create the modified package:
dpkg-deb -b subdirname mypackage-new.deb

then install
dpkg -i mypackage-new.deb
Hmmmm.... that worked to install but googelearth is not starting :(
Title: Re: googleearth is not working to install
Post by: jure on 2015/04/17, 17:35:09
wenn ich das Packet so wie beschrieben neu baue, erhalte ich bei dem Versuch das zu installieren
if I build the package as described  and try to install I got
dpkg -i google-earth-stable_current_amd64-neu.deb
Vormals nicht ausgewähltes Paket google-earth-stable wird gewählt.
(Lese Datenbank ... 202313 Dateien und Verzeichnisse sind derzeit installiert.)                                                             
Vorbereitung zum Entpacken von google-earth-stable_current_amd64-neu.deb ...                                                               
Entpacken von google-earth-stable (7.1.4.1529-r0) ...                                                                                       
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von google-earth-stable:                                                               
google-earth-stable hängt ab von lsb-core; aber:                                                                                           
  Paket lsb-core ist nicht installiert.                                                                                                     
google-earth-stable hängt ab von libcurl3:i386; aber:                                                                                     
google-earth-stable hängt ab von libxt6:i386; aber:                                                                                       
                                                                                                                                           
dpkg: Fehler beim Bearbeiten des Paketes google-earth-stable (--install):                                                                   
Abhängigkeitsprobleme - verbleibt unkonfiguriert
Fehler traten auf beim Bearbeiten von:
google-earth-stable


wenn ich dann mal simuliere, was passiert wenn die fehlenden Pakete installiert werden, erhalte ich
if I simulate what happens when the missing packages are installed , I get

apt-get -s -f install
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.       
Statusinformationen werden eingelesen.... Fertig
Abhängigkeiten werden korrigiert ... Fertig
Die folgenden zusätzlichen Pakete werden installiert:
  alien at debugedit ed libcomerr2:i386 libcurl3:i386 libgsasl7 libgssapi-krb5-2:i386 libidn11:i386 libk5crypto3:i386 libkeyutils1:i386
  libkrb5-3:i386 libkrb5support0:i386 libkyotocabinet16 libmailutils4 libntlm0 librpm3 librpmbuild3 librpmio3 librpmsign1 librtmp1:i386
  libssh2-1:i386 libxt6:i386 lsb-core lsb-invalid-mta lsb-security mailutils mailutils-common ncurses-term pax rpm rpm-common rpm2cpio
  time
Vorgeschlagene Pakete:
  rpm-i18n krb5-doc:i386 krb5-user:i386 lsb mailutils-mh mailutils-doc elfutils rpmlint rpm2html
Empfohlene Pakete:
  default-mta mail-transport-agent krb5-locales:i386
Die folgenden NEUEN Pakete werden installiert:
  alien at debugedit ed libcomerr2:i386 libcurl3:i386 libgsasl7 libgssapi-krb5-2:i386 libidn11:i386 libk5crypto3:i386 libkeyutils1:i386
  libkrb5-3:i386 libkrb5support0:i386 libkyotocabinet16 libmailutils4 libntlm0 librpm3 librpmbuild3 librpmio3 librpmsign1 librtmp1:i386
  libssh2-1:i386 libxt6:i386 lsb-core lsb-invalid-mta lsb-security mailutils mailutils-common ncurses-term pax rpm rpm-common rpm2cpio
  time
0 aktualisiert, 34 neu installiert, 0 zu entfernen und 77 nicht aktualisiert.
1 nicht vollständig installiert oder entfernt.


muss das so, ist das ok (es fehlen halt ein paar Pakete die in  "Depends"  stehen und hier nachinstalliert würden) oder ist da noch etwas faul ?
is this ok (some missing packages are installed now) or is something wrong here ?
Title: Re: googleearth is not working to install
Post by: dieres on 2015/04/17, 23:47:19
Just installed :
as root:
dpkg --add-architecture i386
apt-get update
apt-get install libc6:i386
apt-get install googleearth-package

as user:
make-googleearth-package

as root:
dpkg -i <NameOfCreatedDeb>
apt-get -f install

and goglearth is running here on Last cinnamon DE
Title: Re: googleearth is not working to install
Post by: vilde on 2015/04/18, 09:44:20
I have to ask following:

What dieras, did is the (old) way to install 32 bit googleearth in a multiarch  environment.

What towo and johnlittle001 are  doing is installing the 64 bit google earth by changing some faulty dependencies  in googleeart_xxxx.deb package.

Am I right?
Title: Re: googleearth is not working to install
Post by: towo on 2015/04/18, 09:48:27
What towo and johnlittle001 are  doing is installing the 64 bit google earth by changing some faulty dependencies
No, i even speak about the 32bit package, but there are also wrong dependencies.
Title: Re: googleearth is not working to install
Post by: dieres on 2015/04/18, 11:47:51
I have towo understand in that way that old way was special 64-bit package from google and since multiarch is out this is the only way to install all that crap as skype teamviewer and googleearth with multiarch in 32bit.
This software was never real 64bit, so I had understood.
Title: Re: googleearth is not working to install
Post by: vilde on 2015/04/18, 18:58:22
I can't install multiarch: Tried on two different indian summer, xfce 64 bit installations, same result.

root@T420:/home/vilde# LANG=EN dpkg --add-architekture i386
dpkg: error: unknown option --add-architekture

Type dpkg --help for help about installing and deinstalling packages [*];
Use 'apt' or 'aptitude' for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug flag values;
Type dpkg --force-help for a list of forcing options;
Type dpkg-deb --help for help about manipulating *.deb files;

Options marked [*] produce a lot of output - pipe it through 'less' or 'more' !
root@T420:/home/vilde#

Title: Re: googleearth is not working to install
Post by: towo on 2015/04/18, 18:59:38
use your brain!


dpkg --add-architecture
Title: Re: googleearth is not working to install
Post by: vilde on 2015/04/18, 19:04:32
Quote from: towo on 2015/04/18, 18:59:38
use your brain!


dpkg --add-architecture
Sorry.,, but I did copy and past from, dieras post here dpkg --add-architekture i386 and I'm not that good in English spelling that I noticed that.

Thanks towo
Title: Re: googleearth is not working to install
Post by: dieres on 2015/04/18, 19:46:29
Sorry, next time I will copy and paste from the terminal to avoid typos.  So please use googleearth not googlearth. I have just fixed my posting.