[Bug 932822] [NEW] apt-get dist-upgrade failed with: dpkg: error: dpkg status database is locked by another process

Andy Whitcroft apw at canonical.com
Wed Feb 15 15:25:42 UTC 2012


Public bug reported:

Twice recently I have had apt-get dist-upgrade runs error out claiming
locks were already taken.  In the first case I was able to issue and
apt-get update in parallel which worked unexpectedly and killed the
dist-upgrade.  The second case (this one) occured spontaneously (I
suspect due to apt-daemon doing the same thing).

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: apt 0.8.16~exp12ubuntu3
ProcVersionSignature: Ubuntu 3.2.0-15.24-generic 3.2.5
Uname: Linux 3.2.0-15-generic x86_64
ApportVersion: 1.91-0ubuntu1
Architecture: amd64
Date: Wed Feb 15 15:21:22 2012
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20111210)
ProcEnviron:
 LANGUAGE=en_GB:en
 PATH=(custom, no user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
SourcePackage: apt
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: apt (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug precise

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

Title:
  apt-get dist-upgrade failed with: dpkg: error: dpkg status database is
  locked by another process

Status in “apt” package in Ubuntu:
  New

Bug description:
  Twice recently I have had apt-get dist-upgrade runs error out claiming
  locks were already taken.  In the first case I was able to issue and
  apt-get update in parallel which worked unexpectedly and killed the
  dist-upgrade.  The second case (this one) occured spontaneously (I
  suspect due to apt-daemon doing the same thing).

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: apt 0.8.16~exp12ubuntu3
  ProcVersionSignature: Ubuntu 3.2.0-15.24-generic 3.2.5
  Uname: Linux 3.2.0-15-generic x86_64
  ApportVersion: 1.91-0ubuntu1
  Architecture: amd64
  Date: Wed Feb 15 15:21:22 2012
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20111210)
  ProcEnviron:
   LANGUAGE=en_GB:en
   PATH=(custom, no user)
   LANG=en_GB.UTF-8
   SHELL=/bin/bash
  SourcePackage: apt
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/932822/+subscriptions




More information about the foundations-bugs mailing list