Results 1 to 5 of 5

Thread: legacy packaging tool? - locked out of installing packages

  1. #1
    Join Date
    Sep 2008
    Beans
    17

    Unhappy legacy packaging tool? - locked out of installing packages

    Yesterday I was trying to install java on a newly installed system. When the license agreement came up I could not enter "OK" in the console -- it just wouldn't accept a mouse click, return.. anything.
    Now if I try to run kpackagekit I get the following message:

    Cannot get the exclusive lock on the packaging backend.
    Please close any other legacy packaging tools that may be open.

    If I try apt-get I get the following:

    E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
    E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

    How do I get out of this?
    Brian

  2. #2
    Join Date
    Mar 2007
    Location
    Beginners Team IRCChannel
    Beans
    2,811
    Distro
    Kubuntu 10.10 Maverick Meerkat

    Re: legacy packaging tool? - locked out of installing packages

    In a terminal:

    Code:
    sudo apt-get -f isntall
    I assume ya didn't finish the java install, that will continue installation. At screen, push TAB and then highlight ok, then push ENTER. Hope that fixes it, should. Also, ensure no other package program working like software center or synaptic....

  3. #3
    Join Date
    Sep 2008
    Beans
    17

    Re: legacy packaging tool? - locked out of installing packages

    Thanks, Starman. It worked!
    Brian

  4. #4
    Join Date
    Jan 2007
    Beans
    18

    Re: legacy packaging tool? - locked out of installing packages

    Hello, just installed Kubuntu 10.10 and I have this error:

    cannot get exclusive lock on the packaging backend

    Using Kpackagekit, tried deleting lock file, sudo apt-get update works, just cannot get past this error!!!

    Please help, very sad now...

  5. #5
    Join Date
    Sep 2011
    Beans
    1

    Talking Re: legacy packaging tool? - locked out of installing packages

    Quote Originally Posted by jabbermacy View Post
    Hello, just installed Kubuntu 10.10 and I have this error:

    cannot get exclusive lock on the packaging backend
    I don't know about Kubuntu 10.10... but on 11.04 I had this same problem. So I tried running
    Code:
    sudo apt-get install
    from the command line instead of the "KPackageKit"

    apt-get told me that "E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.


    Typing
    Code:
    sudo dpkg --configure -a
    Fixed it!

    Now apt-get and KPackageKit both work! I guess the newb lesson from this is: try the command line when the GUI fails. Also... when you write programs... be kind enough to suggest a possible fix in each of your error messages.

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
  •