Page 2 of 2 FirstFirst 12
Results 11 to 18 of 18

Thread: how to unlock a a lock after a failed install (SOLVED)

  1. #11
    Join Date
    Nov 2008
    Beans
    48

    Re: how to unlock a a lock after a failed install (need help).

    hi ibjsb4,
    I tried what you suggested and there are both "aptd" and 2 x "dpkg" open when I try to kill them this is what happens.

    Cannot kill process with pid 2665 with signal 9.
    Operation not permitted.

  2. #12
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    12,621
    Distro
    Xubuntu 16.04 Xenial Xerus

    Re: how to unlock a a lock after a failed install (need help).

    kevinorourke2008; Hi !

    How about trying to get some more info on what is locking up "dpkg"
    terminal codes:
    Code:
    sudo lsof /var/lib/dpkg/lock
    sudo apt-get check
    just try'n to help
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubuntu'n !

  3. #13
    Join Date
    Sep 2009
    Location
    Colorado
    Beans
    28
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: how to unlock a a lock after a failed install (need help).

    lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/jpknowmad/gvfs
    Output information may be incomplete.
    COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
    dpkg 2790 root 3uW REG 8,1 0 2883723 /var/lib/dpkg/lock



    I'm having the same problem and thats what I got
    Democracy is being allowed to vote for the candidate you dislike least. -Robert Byrne

  4. #14
    Join Date
    Sep 2009
    Location
    Colorado
    Beans
    28
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: how to unlock a a lock after a failed install (need help).

    I was in the middle of an upgrade from 12.04 when my comp shutdown. I downloaded the 12.10 iso and tried to burn it to USB but i'm getting errors with that too. I went into terminal to do sudo apt-get update and upgrade but it keeps getting hung on the stupid nautilus dropbox thing. It reaches 100% and then nothing happens after that. Software center isn't acting right either. I think if I can just get past this dropbox issue and finish the upgrade, I can get my USB creator to work and start with a clean install
    Democracy is being allowed to vote for the candidate you dislike least. -Robert Byrne

  5. #15
    ibjsb4 is offline Ubuntu addict and loving it
    Join Date
    Sep 2012
    Beans
    4,996

    Re: how to unlock a a lock after a failed install (need help).

    So originally this is a version upgrade from 12o4 to 12.10 that went bad? Thats too bad. I have tried in the past to help others with this type of problem and have not once succeeded. Perhaps someone else will come along with a fix, but as far as I am concern you must backup you personal files and do a fresh install.

    Sorry for the bad news

  6. #16
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    12,621
    Distro
    Xubuntu 16.04 Xenial Xerus

    Re: how to unlock a a lock after a failed install (need help).

    @JPKnowMad;
    Try this;
    rerun the lsof command again to make sure that the PID is the same;
    then run this code:
    Code:
     ps aux | grep <that PID> ##confirmation of the process
    kill -9 <that PID>
    for example only:
    Code:
    ps aux | grep 3322
    kill -9 3322
    Now can you do the updates ?

    hope this helps
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubuntu'n !

  7. #17
    Join Date
    Nov 2008
    Beans
    48

    Re: how to unlock a a lock after a failed install (SOLVED)

    SOLVED, I gave up and reinstalled the operating system. Everything works fine now.

  8. #18
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    12,621
    Distro
    Xubuntu 16.04 Xenial Xerus

    Re: how to unlock a a lock after a failed install (SOLVED)

    kevinorourke2008; Hey ,

    That is one solution that always works !

    all's well that ends well
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubuntu'n !

Page 2 of 2 FirstFirst 12

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
  •