Announcement

Collapse
No announcement yet.

apt broken after installing google earth

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    apt broken after installing google earth

    Hi, I tried installing Google Earth from the deb they provide on their website.
    Now apt is broken!
    Whenever I try to do anything I get
    Code:
    E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
    .
    When running
    Code:
    apt-get -f install
    it downloads several packages and then I get this:

    Code:
    npacking libgnutls26:i386 (from .../libgnutls26_2.12.23-1ubuntu1_i386.deb) ...
    dpkg: error processing /var/cache/apt/archives/libgnutls26_2.12.23-1ubuntu1_i386.deb (--unpack):
     cannot compute MD5 hash for file '/usr/share/doc/libgnutls26/AUTHORS.gz': failed to read (Input/output error)
    dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
    Unpacking libx11-6:i386 (from .../libx11-6_2%3a1.5.0-1ubuntu1_i386.deb) ...
    dpkg: error processing /var/cache/apt/archives/libx11-6_2%3a1.5.0-1ubuntu1_i386.deb (--unpack):
     cannot compute MD5 hash for file '/usr/share/doc/libx11-6/copyright': failed to read (Input/output error)
    dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
    Unpacking libtiff5:i386 (from .../libtiff5_4.0.2-4ubuntu2_i386.deb) ...
    dpkg: error processing /var/cache/apt/archives/libtiff5_4.0.2-4ubuntu2_i386.deb (--unpack):
     cannot compute MD5 hash for file '/usr/share/doc/libtiff5/TODO': failed to read (Input/output error)
    dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
    Unpacking libqt4-declarative:i386 (from .../libqt4-declarative_4%3a4.8.4+dfsg-0ubuntu9_i386.deb) ...
    dpkg: error processing /var/cache/apt/archives/libqt4-declarative_4%3a4.8.4+dfsg-0ubuntu9_i386.deb (--unpack):
     cannot compute MD5 hash for file '/usr/share/doc/libqt4-declarative/copyright': failed to read (Input/output error)
    dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
    No apport report written because MaxReports is reached already
                                                                  Unpacking libqt4-test:i386 (from .../libqt4-test_4%3a4.8.4+dfsg-0ubuntu9_i386.deb) ...
    dpkg: error processing /var/cache/apt/archives/libqt4-test_4%3a4.8.4+dfsg-0ubuntu9_i386.deb (--unpack):
     cannot compute MD5 hash for file '/usr/share/doc/libqt4-test/copyright': failed to read (Input/output error)
    No apport report written because MaxReports is reached already
                                                                  Errors were encountered while processing:
     /var/cache/apt/archives/libgnutls26_2.12.23-1ubuntu1_i386.deb
     /var/cache/apt/archives/libx11-6_2%3a1.5.0-1ubuntu1_i386.deb
     /var/cache/apt/archives/libtiff5_4.0.2-4ubuntu2_i386.deb
     /var/cache/apt/archives/libqt4-declarative_4%3a4.8.4+dfsg-0ubuntu9_i386.deb
     /var/cache/apt/archives/libqt4-test_4%3a4.8.4+dfsg-0ubuntu9_i386.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    So -f install doesn't fix it.

    What should I do now?

    #2
    Try:

    Code:
    sudo apt-get clean
    sudo apt-get update
    sudo apt-get -f install

    man apt-get:

    clean
    clean clears out the local repository of retrieved package files. It removes everything but the
    lock file from /var/cache/apt/archives/ and /var/cache/apt/archives/partial/...

    update
    update is used to resynchronize the package index files from their sources...

    -f, --fix-broken
    Fix; attempt to correct a system with broken dependencies in place. This option, when used with
    install/remove, can omit any packages to permit APT to deduce a likely solution...
    Before you edit, BACKUP !

    Why there are dead links ?
    1. Thread: Please explain how to access old kubuntu forum posts
    2. Thread: Lost Information

    Comment


      #3
      @Rog131 Darn, you beat me to it I was going to suggest the same thing. One more thing would be to uninstall Google Earth, then update/upgrade/install everything else, then (try to) reinstall Earth.
      The unjust distribution of goods persists, creating a situation of social sin that cries out to Heaven and limits the possibilities of a fuller life for so many of our brothers. -- Archbishop Jorge Mario Bergoglio of Buenos Aires (now Pope Francis)

      Comment


        #4
        Looking the Google Earth 64 bit (http://www.google.com/earth/index.html)

        Package: google-earth-stable_current_amd64.deb

        :~$ apt-cache show google-earth-stable
        Package: google-earth-stable
        Version: 7.1.1.1580-r0
        Architecture: amd64
        Maintainer: Google Earth Team <google-earth-support@google.com>
        Installed-Size: 198358
        Pre-Depends: dpkg (>= 1.14.0)
        Depends: lsb-core (>= 3.2), ia32-libs
        Filename: ./google-earth-stable_current_amd64.deb
        Size: 46423542
        MD5sum: 43e0a6696238f6220037d044212c0a7b
        SHA1: d1c28497557d9599cd0dcc0730875f9a47c14c4e
        SHA256: bb134e6c67e6019b6c5662dc987e70c2ae91c5b19508e9ba57 61aeeef8db8606
        Section: net
        Priority: optional
        Description: Explore, search and discover the planet
        Google Earth lets you fly anywhere to see satellite imagery, 3D buildings, 3D trees, terrain, Street View, planets and much more.
        Testing what will happen if...
        :~$ apt-get install -s google-earth-stable
        NOTE: This is only a simulation!
        apt-get needs root privileges for real execution.
        Keep also in mind that locking is deactivated,
        so don't depend on the relevance to the real current situation!
        Reading package lists... Done
        Building dependency tree
        Reading state information... Done
        The following extra packages will be installed:
        alien at-spi2-core bluez-alsa:i386 desktop-file-utils gcc-4.7-base:i386 glib-networking:i386
        ...
        The following packages will be REMOVED:
        libjack-dev libjack0 portaudio19-dev
        The following NEW packages will be installed:
        alien at-spi2-core bluez-alsa:i386 desktop-file-utils gcc-4.7-base:i386 glib-networking:i386
        ...
        udisks2 xaw3dg:i386 zlib1g:i386
        0 upgraded, 277 newly installed, 3 to remove and 1 not upgraded.
        ...
        Well - I would not install this to my 64 bit system .
        Last edited by Rog131; May 21, 2013, 06:46 AM.
        Before you edit, BACKUP !

        Why there are dead links ?
        1. Thread: Please explain how to access old kubuntu forum posts
        2. Thread: Lost Information

        Comment


          #5
          Google Earth is a 32-bit binary that requires certain 32-bit libraries, but instead pulls in the entire set of multilibs. It's poor and lazy packaging.

          Comment


            #6
            apt-get clean did not work. Had to uninstall using Muon to get rid of it.
            So how do I install it properly?
            I used the same on another pc, running the same kubuntu 13.04 64 and it worked just fine.

            Comment


              #7
              Minimum packages.

              By the https://help.ubuntu.com/community/GoogleEarth:
              ...Make sure the lsb-core package is installed!...
              Testing

              Installing the lsb-core:
              The following NEW packages will be installed:
              alien heirloom-mailx lib32z1 librpm3 librpmbuild3 librpmio3 librpmsign1
              lsb-core lsb-invalid-mta ncurses-term pax rpm rpm-common rpm2cpio
              0 upgraded, 14 newly installed, 0 to remove and 1 not upgraded.
              Unpacking the google-earth-stable_current_amd64.deb (Dolphin context menu - Extract Archive here).
              In the google-earth-stable_current_amd64 subdirectory unpacking the data.tar.lzma.
              Copying the /opt/google subdirectory to the /opt/...



              Starting the GE from konsole:
              Code:
              sh /opt/google/earth/free/google-earth
              Results - Kubuntu 12.10 - Opensource AMD drivers

              Seems to work...


              Results - Kubuntu 13.04 - Proprietary AMD drivers

              The GE is dying to the splash screen with the error message:
              Google Earth has caught signal 11.

              We apologize for the inconvenience, but Google Earth has crashed.
              This is a bug in the program, and should never happen under normal
              circumstances. A bug report and debugging data have been written
              to this text file:...
              There are reports:
              - http://askubuntu.com/questions/29671...-splash-screen
              - http://productforums.google.com/foru...U/4E8LVKyQFb4J


              The Minimum package count

              At here it seems to be 14 not 277
              Last edited by Rog131; May 23, 2013, 01:00 PM.
              Before you edit, BACKUP !

              Why there are dead links ?
              1. Thread: Please explain how to access old kubuntu forum posts
              2. Thread: Lost Information

              Comment


                #8
                This thread is about a month old but an auto upgrade of googleearth gave the "invalid http request" error, and the search function wouldn't work.

                when I installed the 7.1 64 bit Debian upgrade of GoogleEarth to fix the problem it crashes. If there is no ~/.googleearth cache file it will run until I try to use the search function, but if that file exists the crash occurs the instant the UI appears. The 7.1 version doesn't supply "libcurl" so that is not the problem. When I open a Konsole and run
                kdesudo /opt/google/earth/free/
                GoogleEarth runs beautifully without any problems what soever. However, as you'd suspect, the active cache file is /root/.googleearth.

                I haven't explored which file(s) have the wrong permission. As long as it is working, and as little as I use it, I can wait till the upstream patch comes along.
                "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
                – John F. Kennedy, February 26, 1962.

                Comment


                  #9
                  After having installed the 7.1 version and running it for several times since 7-17-2013 I tried to use it this morning. It crashed before the splash screen displayed. Same problems as before. Something in the updates since I last ran it messed it up. I'm not going to continue fussing with it. I'll use the inferior web version until Google releases something that runs decently without putzing around with dependencies, etc...
                  "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
                  – John F. Kennedy, February 26, 1962.

                  Comment

                  Working...
                  X