Find the answer to your Linux question:
Results 1 to 9 of 9
Whenever i try to use apt-get now either to install, update or upgrade i keep getting the folowing error: E: Could not get lock /var/cache/apt/archives/lock - open (11 Resource temporarily ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2004
    Posts
    17

    apt-get problem


    Whenever i try to use apt-get now either to install, update or upgrade i keep getting the folowing error:

    E: Could not get lock /var/cache/apt/archives/lock - open (11 Resource temporarily unavailable)
    E: Unable to lock the download directory

    What is this and how do i fix it?

  2. #2
    Linux Guru lakerdonald's Avatar
    Join Date
    Jun 2004
    Location
    St. Petersburg, FL
    Posts
    5,035
    make sure you are running apt-get as root!

  3. #3
    Linux Newbie RobNyc's Avatar
    Join Date
    Nov 2004
    Location
    NYC, USA
    Posts
    139

    Re: apt-get problem

    Quote Originally Posted by englishpremier
    Whenever i try to use apt-get now either to install, update or upgrade i keep getting the folowing error:

    E: Could not get lock /var/cache/apt/archives/lock - open (11 Resource temporarily unavailable)
    E: Unable to lock the download directory

    What is this and how do i fix it?

    open console, type su, type password, and try again apt-get update, apt-get install or whatever ..

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Nov 2004
    Posts
    3
    Make sure you don't havr synaptic running at the same time.

    Ed

  6. #5
    Just Joined!
    Join Date
    Nov 2004
    Location
    Canada
    Posts
    35
    This can also happen if you aborted a previous apt-get or Synaptic session prematurely. Look for a LOCK file in your rpm downloads section (the folder where apt-get and synaptic download packges) and delete it. Other with more experience in this can provide more specific details...

  7. #6
    Just Joined!
    Join Date
    Sep 2004
    Posts
    17
    I was running apt as root. I didn't have another instance of it running including synaptic.

    I tried to apt-get install gaim and it hung so i terminated the program, I took the advice above to delete the lock file and now it will start to install the programs but then just hangs here:

    Committing changes...
    warning: waiting for transaction lock


    This is really annoying, i've never had a problem with apt-get before.

  8. #7
    Just Joined!
    Join Date
    Oct 2004
    Location
    Warsaw, Poland
    Posts
    87
    Quote Originally Posted by englishpremier
    Committing changes...
    warning: waiting for transaction lock
    rm /var/lock/rpm/transaction

  9. #8
    Just Joined!
    Join Date
    Sep 2004
    Posts
    17
    Quote Originally Posted by michux
    Quote Originally Posted by englishpremier
    Committing changes...
    warning: waiting for transaction lock
    rm /var/lock/rpm/transaction
    worked a treat, cheers.

  10. #9
    Linux Newbie RobNyc's Avatar
    Join Date
    Nov 2004
    Location
    NYC, USA
    Posts
    139
    I was just using Yoper v2.1 and doing the apt-get goes well until later it gives me errors. Then I reinstalled and used synaptic and it just took more than 10hrs on installing XFree86 . I tried Yoper v2.2 devlopment gnome and it was nice (via vmware) fast on my amd athlon xp-m 2800+ 768mb ddr of course I expect everything to be fast here and the apt-get errors!!! , I tried yoper v2.2 development kde ver and couldn't even log in . so hopefully Yoper gets all these problems fixed! because it really is a good distro

Posting Permissions

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