Using Software Center to install game Pathalogical
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
aptdaemon (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: software-center
Software Center reported "programming error". See below:
Traceback (most recent call last):
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
return func(*args, **kwds)
File "/usr/lib/
res = self.install_
File "/usr/lib/
return func(*args, **kwds)
File "/usr/lib/
install_
File "/usr/lib/
lock.
File "/usr/lib/
raise LockFailedError
LockFailedError: /var/lib/dpkg/lock is already locked by apt-get
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: software-center 3.0.8
ProcVersionSign
Uname: Linux 2.6.35-27-generic x86_64
Architecture: amd64
Date: Thu Feb 17 21:30:14 2011
InstallationMedia: Pinguy OS 10.10.1 (64-Bit) - Release amd64
PackageArchitec
ProcEnviron:
LANG=en_GB.UTF-8
SHELL=/bin/bash
SourcePackage: software-center
affects: | software-center (Ubuntu) → aptdaemon (Ubuntu) |
This is a nasty race between aptdaemon and apt-get. aptdaemon needs to release the status lock to call dpkg for the actual installation. aptdaemon reclaims the lock afterwards. In the short time frame between the termination of dpkg and reclaiming the lock apt-get could be tiggered by the daily cron job.