Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Thread: Is anyone else unable to update?

  1. #1
    Join Date
    Jul 2010
    Location
    Long Island, NY
    Beans
    255
    Distro
    Ubuntu 10.04 Lucid Lynx

    Is anyone else unable to update?

    When I try to update I'm getting this:
    Code:
    sudo apt-get update
    E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)
    E: Unable to lock the list directory
    Is there some kind of maintenance going on with the repository, or could this be a problem on my end?
    Lenovo C200 All-In-One (Intel Atom D510 dual core @ 1.66GHz 64bit)
    Lenovo ThinkPad T410i (Intel i3 M370 @ 2.40GHz 64bit)

  2. #2
    Join Date
    Apr 2010
    Location
    England
    Beans
    3,286

    Re: Is anyone else unable to update?

    That's a client-side error - it's on your PC. It looks as though apt didn't exit correctly the last time you ran it, and, as a result, the lock file hasn't been removed. Look in the list of processes for instances of apt:
    Code:
    ps aux | grep apt
    If you get a result for something suspicious (post all the output if you're unsure), then kill it with:
    Code:
    kill <process id>
    It should work after that.

    You could probably kill the process through gnome-system-monitor too, if you'd prefer a GUI solution.
    http://xkcd.com/293/
    There are 10 kinds of people in this world: Those who understand ternary, those who don't, and those who confuse it with binary.

  3. #3
    Join Date
    Jun 2006
    Location
    UK
    Beans
    Hidden!
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: Is anyone else unable to update?

    It's your end. Do you have Synaptic, Update Manager or Software Centre open? Close them before running apt-get.
    Ubuntu 20.04 Desktop Guide - Ubuntu 22.04 Desktop Guide - Forum Guide to BBCode - Using BBCode code tags

    Member: Not Canonical Team

    If you need help with your forum account, such as SSO login issues, username changes, etc, the correct place to contact an admin is here. Please do not PM me about these matters unless you have been asked to - unsolicited PMs concerning forum accounts will be ignored.

  4. #4
    Join Date
    Jul 2010
    Location
    Long Island, NY
    Beans
    255
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Is anyone else unable to update?

    I just tried rebooting, but I still get the same error.
    Lenovo C200 All-In-One (Intel Atom D510 dual core @ 1.66GHz 64bit)
    Lenovo ThinkPad T410i (Intel i3 M370 @ 2.40GHz 64bit)

  5. #5
    Join Date
    Jul 2010
    Location
    Long Island, NY
    Beans
    255
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Is anyone else unable to update?

    Here's the output:
    Code:
    ps aux | grep apt
    1000      1724  0.0  0.0   7624   908 pts/0    S+   15:14   0:00 grep --color=auto apt
    doesn't seem like much
    Lenovo C200 All-In-One (Intel Atom D510 dual core @ 1.66GHz 64bit)
    Lenovo ThinkPad T410i (Intel i3 M370 @ 2.40GHz 64bit)

  6. #6
    Join Date
    Jul 2010
    Location
    Long Island, NY
    Beans
    255
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Is anyone else unable to update?

    can I remove the lock file myself or would that mess things up?
    Lenovo C200 All-In-One (Intel Atom D510 dual core @ 1.66GHz 64bit)
    Lenovo ThinkPad T410i (Intel i3 M370 @ 2.40GHz 64bit)

  7. #7
    Join Date
    Apr 2007
    Beans
    135

    Re: Is anyone else unable to update?

    I'm having problems updating:

    Getting the error that it can't download the files and I should check my internet connection, my connection is fine.

    Failed to fetch http://gb.archive.ubuntu.com/ubuntu/...untu5_i386.deb 404 Not Found
    Failed to fetch http://gb.archive.ubuntu.com/ubuntu/...untu5_i386.deb 404 Not Found
    Failed to fetch http://gb.archive.ubuntu.com/ubuntu/...buntu5_all.deb 404 Not Found
    Failed to fetch http://gb.archive.ubuntu.com/ubuntu/...untu5_i386.deb 404 Not Found
    Failed to fetch http://gb.archive.ubuntu.com/ubuntu/...untu3_i386.deb 404 Not Found
    Failed to fetch http://gb.archive.ubuntu.com/ubuntu/...untu3_i386.deb 404 Not Found
    Failed to fetch http://gb.archive.ubuntu.com/ubuntu/...untu3_i386.deb 404 Not Found
    Failed to fetch http://gb.archive.ubuntu.com/ubuntu/...untu3_i386.deb 404 Not Found
    Failed to fetch http://gb.archive.ubuntu.com/ubuntu/...untu3_i386.deb 404 Not Found
    Failed to fetch http://gb.archive.ubuntu.com/ubuntu/...untu3_i386.deb 404 Not Found
    Failed to fetch http://gb.archive.ubuntu.com/ubuntu/...untu3_i386.deb 404 Not Found
    Failed to fetch http://gb.archive.ubuntu.com/ubuntu/...untu3_i386.deb 404 Not Found
    Failed to fetch http://gb.archive.ubuntu.com/ubuntu/...untu3_i386.deb 404 Not Found
    Failed to fetch http://gb.archive.ubuntu.com/ubuntu/...untu3_i386.deb 404 Not Found
    Failed to fetch http://gb.archive.ubuntu.com/ubuntu/...untu3_i386.deb 404 Not Found
    Failed to fetch http://gb.archive.ubuntu.com/ubuntu/...untu3_i386.deb 404 Not Found
    Failed to fetch http://gb.archive.ubuntu.com/ubuntu/...untu3_i386.deb 404 Not Found
    Failed to fetch http://gb.archive.ubuntu.com/ubuntu/...untu3_i386.deb 404 Not Found
    Failed to fetch http://gb.archive.ubuntu.com/ubuntu/...untu3_i386.deb 404 Not Found
    Failed to fetch http://gb.archive.ubuntu.com/ubuntu/...untu3_i386.deb 404 Not Found
    Failed to fetch http://gb.archive.ubuntu.com/ubuntu/...untu3_i386.deb 404 Not Found
    Failed to fetch http://gb.archive.ubuntu.com/ubuntu/...untu3_i386.deb 404 Not Found
    Failed to fetch http://gb.archive.ubuntu.com/ubuntu/...untu3_i386.deb 404 Not Found
    Failed to fetch http://gb.archive.ubuntu.com/ubuntu/...untu3_i386.deb 404 Not Found
    Failed to fetch http://gb.archive.ubuntu.com/ubuntu/...buntu1_all.deb 404 Not Found

  8. #8
    Join Date
    Oct 2010
    Beans
    1

    Re: Is anyone else unable to update?

    I am also having a problem. But it seems to be just a connection issue.
    I used the Synaptic Package Manager just 2 days ago with no problem.

    Now I can't even ping the repository : us.archive.ubuntu.com

    I tried to change repositories but the package I needed wasn't on the others.

    You could try changing repositories.

  9. #9
    Join Date
    Apr 2010
    Location
    England
    Beans
    3,286

    Re: Is anyone else unable to update?

    Quote Originally Posted by Chris1274 View Post
    Here's the output:
    Code:
    ps aux | grep apt
    1000      1724  0.0  0.0   7624   908 pts/0    S+   15:14   0:00 grep --color=auto apt
    doesn't seem like much
    Ahah, that's the command you just ran, it found itself.

    Yeah, if restarting didn't help, then manually remove the lock file.

    Code:
    sudo rm /var/lib/apt/lists/lock
    http://xkcd.com/293/
    There are 10 kinds of people in this world: Those who understand ternary, those who don't, and those who confuse it with binary.

  10. #10
    Join Date
    Apr 2010
    Location
    England
    Beans
    3,286

    Re: Is anyone else unable to update?

    Quote Originally Posted by Majorflam View Post
    I'm having problems updating:

    Getting the error that it can't download the files and I should check my internet connection, my connection is fine.
    Your package lists are out of date, you just need to run
    Code:
    sudo apt-get update
    http://xkcd.com/293/
    There are 10 kinds of people in this world: Those who understand ternary, those who don't, and those who confuse it with binary.

Page 1 of 2 12 LastLast

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
  •