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

Thread: dpkg : status database area is locked by another process while trying to install oper

  1. #11
    Join Date
    Nov 2008
    Beans
    5

    Smile Re: dpkg : status database area is locked by another process while trying to install

    Thanks. removing lock file and reconfiguring dpkg solved the problem.

  2. #12
    Join Date
    Jun 2011
    Beans
    35

    Re: dpkg : status database area is locked by another process while trying to install

    I am getting the same errors but have tried to clr them in the same way with out success. Here is what I get as a responce from the server:

    sudo dpkg --configure -a
    Setting up bind9 (1:9.7.3.dfsg-1ubuntu2.1) ...
    debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
    dpkg: error processing bind9 (--configure):
    subprocess installed post-installation script returned error exit status 1
    Errors were encountered while processing:
    bind9
    praetorian@praetorian:~$ Setting up bind9 (1:9.7.3.dfsg-1ubuntu2.1) ...
    -bash: syntax error near unexpected token `('
    praetorian@praetorian:~$ debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
    dpkg: error processing bind9 (--configure):
    subprocess installed post-installation script returned error exit status 1
    Errors were encountered while processing:
    bind9
    No command 'debconf:' found, did you mean:
    Command 'debconf' from package 'debconf' (main)
    debconf:: command not found


    any help to get this resolved would be wonderful... I have rebooted adn gives me the same thing after it tries to start updating then just hangs there not doing anything.

  3. #13
    Join Date
    Jul 2009
    Beans
    2

    Smile Re: dpkg : status database area is locked by another process while trying to install

    Worked for me !!!!!!!!

  4. #14
    Join Date
    Jul 2011
    Beans
    1

    Re: dpkg : status database area is locked by another process while trying to install

    Me too Thx

  5. #15
    Join Date
    Oct 2011
    Beans
    1

    Re: dpkg : status database area is locked by another process while trying to install

    Quote Originally Posted by agibby5 View Post
    You could also run:
    Code:
    sudo rm /var/lib/dpkg/lock
    Then:
    Code:
    sudo dpkg --configure -a
    Thank you very much. It worked..

  6. #16
    Join Date
    Jan 2011
    Beans
    2
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: dpkg : status database area is locked by another process while trying to install

    I was using the server remotely using webmin. When i tried to install virtualbox 4.0 the error occured.
    the following commands solved the trick for me:
    1. ps axgrep dpkg ( gets the process list using dpkg)
    2.sudo rm /var/lib/dpkg/lock ( removes the lock on dpkg database)
    3. sudo dpkg --configure -a (configure all broken packages)
    4. sudo apt-get update.
    and i can continue with what i was doing.

  7. #17
    Join Date
    Oct 2008
    Location
    Bogotá, Colombia
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: dpkg : status database area is locked by another process while trying to install

    worked for me, cheers!

    Quote Originally Posted by agibby5 View Post
    You could also run:
    Code:
    sudo rm /var/lib/dpkg/lock
    Then:
    Code:
    sudo dpkg --configure -a

  8. #18
    Join Date
    May 2012
    Beans
    1

    Re: dpkg : status database area is locked by another process while trying to install

    Quote Originally Posted by agibby5 View Post
    You could also run:
    Code:
    sudo rm /var/lib/dpkg/lock
    Then:
    Code:
    sudo dpkg --configure -a
    Do you run it on the iPod terminal. Cuz it doesn't work for me please help

  9. #19
    Join Date
    May 2011
    Beans
    18

    Re: dpkg : status database area is locked by another process while trying to install

    Removing the lock file unlocks dpkg, but I still can't do anything, because when I run the configure command it re-starts the failed install at the point it left off, downloading a file at about 2 bytes/millennium. dpkg won't let me do anything til I re-type the configure command, which puts it back in the same place.
    Is there anything I can do to stop this?
    Last edited by bobjohnbowles; July 5th, 2012 at 08:38 AM.

  10. #20
    Join Date
    Jul 2007
    Location
    Magic City of the Plains
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: dpkg : status database area is locked by another process while trying to install

    Please start a new thread for your question.

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
  •