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

Bug #932822 reported by Andy Whitcroft
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
apt (Ubuntu)
Expired
High
Unassigned

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)

Revision history for this message
Andy Whitcroft (apw) wrote :
Revision history for this message
Andy Whitcroft (apw) wrote :

Terminal output in the apt-get dist-upgrade window is attached.

Revision history for this message
Brian Murray (brian-murray) wrote :

Could you please add the log file /var/log/syslog from the relevant time frame and /var/log/apt/ahistory.log. Thanks in advance.

Changed in apt (Ubuntu):
importance: Undecided → High
status: New → Incomplete
Revision history for this message
Steve Langasek (vorlon) wrote :

you don't happen to have landscape installed on this machine, do you?

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for apt (Ubuntu) because there has been no activity for 60 days.]

Changed in apt (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.