Results 1 to 6 of 6

Thread: Problem closing apt

  1. #1
    Join Date
    Sep 2008
    Beans
    14

    Problem closing apt

    ubuntu 10.04

    A little advise please,
    I was using apt to download and install googleearth, we had a short power cut, after this i tried to download again and get these 2 error msg,

    "Previous installation hasn't been completed"
    and
    "Unable to get exclusive lock"

    It looks like apt or another package manager is still running, but i am unable to find a way to force a quit.

    Any advise please,
    cheers
    grockle

  2. #2
    Join Date
    Feb 2007
    Beans
    23,127
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Problem closing apt

    Hi and are you able to update?
    You can try
    Code:
    sudo dpkg --configure -a
    Code:
    sudo apt-get -f install
    I believe the support for 10.04 has ended except for the sever edition.

  3. #3
    Join Date
    Sep 2008
    Beans
    14

    Re: Problem closing apt

    Code:
    sudo dpkg --configure -a
    
    error msg,   status database area is locked by another process
    
    
    sudo apt-get -f install
    
    error msg,    Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
    Yes i did try the above, without any luck

    It's got me beat


    grockle

  4. #4
    Join Date
    Feb 2007
    Beans
    23,127
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Problem closing apt


  5. #5
    Join Date
    Sep 2013
    Beans
    1

    Re: Problem closing apt

    Here is a link to the step by step.

    https://help.ubuntu.com/community/GoogleEarth

    Try this & then redo the instalation.

    Uninstallation

    You can uninstall Google Earth as any other package. From the terminal you can do it using the following commands:

    • Find the exact package name:
      dpkg --list 'google-earth*' | cat which may show that the package name is google-earth-stable.
    • Uninstall the package:
      sudo dpkg -P google-earth-stable

    If you installed Google Earth by a method that included running sh GoogleEarthLinux.bin (now depreciated), the unistallation can be done by pasting the following command in a terminal:

    • This command is all on one line. Copy it and paste it in your terminal.

    sudo rm -rf /opt/google-earth && sudo rm /usr/share/mime/application/vnd.google-earth.* /usr/share/mimelnk/application/vnd.google-earth.* /usr/share/applnk/Google-googleearth.desktop /usr/share/mime/packages/googleearth-mimetypes.xml /usr/share/gnome/apps/Google-googleearth.desktop /usr/share/applications/Google-googleearth.desktop /usr/local/bin/googleearthYou may also wish to remove your user preferences folder, although this is not necessary if you intend to reinstall later. This directory contains Google Earth settings and the cache:
    rm -rf ~/.googleearth

  6. #6
    Join Date
    Sep 2008
    Beans
    14

    Re: Problem closing apt "SOLVED"

    overdrank,

    many thanks for the help, although it's not fixed, i will mark this as solved.

    I think the power cut messed up quite a lot of things.

    Will install 13.10 in a couple of weeks.

    Thanks again

    grockle

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •