Results 1 to 7 of 7

Thread: Bug when updating in Update Manager

  1. #1
    Join Date
    Nov 2009
    Location
    New Zealand
    Beans
    5
    Distro
    Ubuntu 10.04 Lucid Lynx

    Question Bug when updating in Update Manager

    Hi guys! I'm quite new to Ubuntu and upgraded recently to Karmic Koala. I went to check for upgrades and i got an error which is attached below. It said something about "unable to lock download directory." Does anyone know what this means?? Thanks in advance
    Attached Images Attached Images

  2. #2
    Join Date
    Oct 2005
    Location
    Pennsylvania
    Beans
    281
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Bug when updating in Update Manager

    Try flushing your apt cache and then restarting. I once had a deb file in the apt cache that didnt correctly install and for some reason apt kept reading it like it was still being installed by one of the package managers. Cleared the cache and all was well.
    (\ /)
    (O.o)
    (> <)
    This is Bunny. Copy Bunny into your signature to help him on his way to world domination.

  3. #3
    Join Date
    Jul 2007
    Location
    Melbourne, Australia
    Beans
    3,475
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Bug when updating in Update Manager

    You probably have software centre or synaptic open at the same time. Make sure all is closed then try updates again.
    Windows is the best virus detector on the market!
    Ubuntu attracts Human Beings - Windows attracts viruses and worms

  4. #4
    Join Date
    Nov 2009
    Location
    New Zealand
    Beans
    5
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Bug when updating in Update Manager

    i did this: ash@ash-laptop:~$ sudo apt-get clean
    E: Could not get lock /var/cache/apt/archives/lock - open (11: Resource temporarily unavailable)
    E: Unable to lock the download directory
    Now i'm at a loss.. i followed the directory and the lock file is of an unknown format. What should the format be?
    And i didnt have both open at the same time. just update manager.

  5. #5
    Join Date
    Oct 2009
    Beans
    7

    Re: Bug when updating in Update Manager

    I found Randy Jensen's suggestion helpful; open a terminal window and enter the following code to kill any "Synaptic" processes that are running. It worked for me, and I was getting the same error even without any windows open besides Update Manager.

    sudo pkill apt

  6. #6
    Join Date
    Jun 2009
    Beans
    5

    Smile Re: Bug when updating in Update Manager

    Tombola - using sudo pkill apt worked for me too. Thanks.

  7. #7
    Join Date
    Apr 2010
    Beans
    30
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Bug when updating in Update Manager

    +1 here for me too guys. As soon as I did "sudo pkill apt" the error box disappeared and firefox updates proceeded to install. I wonder where this "download directory" is? I don't think it's the user's "Downloads".

Tags for this Thread

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
  •