Using Software Center to install game Pathalogical

Bug #720979 reported by RogerP
6
This bug affects 1 person
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/python2.6/dist-packages/aptdaemon/worker.py", line 179, in _process_transaction
    self.commit_packages(*self.trans.packages)
  File "/usr/lib/python2.6/dist-packages/aptdaemon/worker.py", line 227, in commit_packages
    self._commit_changes()
  File "/usr/lib/python2.6/dist-packages/aptdaemon/worker.py", line 742, in _commit_changes
    self._cache.commit(fetch_progress, inst_progress)
  File "/usr/lib/python2.6/dist-packages/apt/deprecation.py", line 98, in deprecated_function
    return func(*args, **kwds)
  File "/usr/lib/python2.6/dist-packages/apt/cache.py", line 427, in commit
    res = self.install_archives(pm, install_progress)
  File "/usr/lib/python2.6/dist-packages/apt/deprecation.py", line 98, in deprecated_function
    return func(*args, **kwds)
  File "/usr/lib/python2.6/dist-packages/apt/cache.py", line 394, in install_archives
    install_progress.finish_update()
  File "/usr/lib/python2.6/dist-packages/aptdaemon/progress.py", line 264, in finish_update
    lock.status_lock.acquire()
  File "/usr/lib/python2.6/dist-packages/aptdaemon/lock.py", line 71, in acquire
    raise LockFailedError(self.path, process)
LockFailedError: /var/lib/dpkg/lock is already locked by apt-get

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: software-center 3.0.8
ProcVersionSignature: Ubuntu 2.6.35-27.47-generic 2.6.35.11
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
PackageArchitecture: all
ProcEnviron:
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
SourcePackage: software-center

Revision history for this message
RogerP (rogerpowell59) wrote :
affects: software-center (Ubuntu) → aptdaemon (Ubuntu)
Revision history for this message
Sebastian Heinlein (glatzor) wrote :

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.

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.