[Bug 1413762] Re: precise -> trusty upgrade failed dpkg status database is locked by another process

Kyrylo Galanov kgalanov at mirantis.com
Mon Nov 2 18:13:47 UTC 2015


Jason,


I  should have placed the comment to another branch. However, it might help you as well.
You can check which process blocks the database by running the command:
$ fuser /var/lib/dpkg/lock


Best regards,
Kyryl

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/1413762

Title:
  precise -> trusty upgrade failed dpkg status database is locked by
  another process

Status in ubuntu-release-upgrader package in Ubuntu:
  New

Bug description:
  Here's the report from the failed upgrade. I'll attach the requested
  files:

  Processing triggers for man-db ...
  dpkg: error: dpkg status database is locked by another process
  Error in function:

  
  A fatal error occurred

  Please report this as a bug and include the files
  /var/log/dist-upgrade/main.log and /var/log/dist-upgrade/apt.log in
  your report. The upgrade has aborted.
  Your original sources.list was saved in
  /etc/apt/sources.list.distUpgrade.

  SystemError: E:Sub-process /usr/bin/dpkg returned an error code (2)


  Could not install the upgrades

  The upgrade has aborted. Your system could be in an unusable state. A
  recovery will run now (dpkg --configure -a).

  Please report this bug in a browser at
  http://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+filebug
  and attach the files in /var/log/dist-upgrade/ to the bug report.
  installArchives() failed

  dpkg: error: dpkg status database is locked by another process

  Upgrade complete

  The upgrade has completed but there were errors during the upgrade
  process.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1413762/+subscriptions



More information about the foundations-bugs mailing list