update fails with dpkg: error: dpkg status database is locked by another process during dist upgrade

Bug #892633 reported by Eveline
76
This bug affects 2 people
Affects Status Importance Assigned to Milestone
update-manager (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

How many errors .. just trying to upgrade!

ProblemType: Package
DistroRelease: Ubuntu 11.10
Package: udev 173-0ubuntu4
ProcVersionSignature: Ubuntu 2.6.38-12.51-generic 2.6.38.8
Uname: Linux 2.6.38-12-generic i686
ApportVersion: 1.23-0ubuntu4
Architecture: i386
CustomUdevRuleFiles: README.dpkg-new
Date: Sat Nov 19 22:45:58 2011
ErrorMessage: ErrorMessage: dependency problems - leaving unconfigured
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
MachineType: Standard XS35
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.38-12-generic root=UUID=368e3a48-a7ab-4264-bb5e-a037abaf22c6 ro quiet splash vt.handoff=7
SourcePackage: udev
Title: package udev 173-0ubuntu4 failed to install/upgrade: ErrorMessage: dependency problems - leaving unconfigured
UpgradeStatus: Upgraded to oneiric on 2011-11-19 (0 days ago)
dmi.bios.date: 07/28/2010
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 080015
dmi.board.asset.tag: To Be Filled By O.E.M.
dmi.board.name: B10IE01
dmi.board.vendor: Shuttle
dmi.board.version: To be filled by O.E.M.
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: Shuttle
dmi.chassis.version: To Be Filled By O.E.M.
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr080015:bd07/28/2010:svnStandard:pnXS35:pvrToBeFilledByO.E.M.:rvnShuttle:rnB10IE01:rvrTobefilledbyO.E.M.:cvnShuttle:ct3:cvrToBeFilledByO.E.M.:
dmi.product.name: XS35
dmi.product.version: To Be Filled By O.E.M.
dmi.sys.vendor: Standard

Revision history for this message
Eveline (denkster) wrote :
Revision history for this message
Martin Pitt (pitti) wrote :

The first failure in the log is

Voorbereiden om libselinux1 2.0.96-1ubuntu2 te vervangen (door .../libselinux1_2.0.98-1.1_i386.deb) ...
Uitpakken van vervangende libselinux1 ...
dpkg: error: dpkg status database is locked by another process

which means that there was some other package operation in parallel.

This failure then triggered failures of libpam-modules-bin, procps, udev, etc. If you just re-attempt the update with

  sudo apt-get -f install
  sudo apt-get dist-upgrade

it should recover. However, the interesting question is how it could happen that there is another dpkg running in parallel. This is either a dpkg or perhaps an update-manager bug.

affects: udev (Ubuntu) → update-manager (Ubuntu)
summary: - package udev 173-0ubuntu4 failed to install/upgrade: ErrorMessage:
- dependency problems - leaving unconfigured
+ update fails with dpkg: error: dpkg status database is locked by another
+ process during dist upgrade
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in update-manager (Ubuntu):
status: New → Confirmed
Revision history for this message
dino99 (9d9) wrote :

This version has expired

Changed in update-manager (Ubuntu):
status: Confirmed → Invalid
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.