Unhandled error when uninstalling Unity

Bug #690444 reported by Adam Bruce
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Aptdaemon
New
Undecided
Unassigned

Bug Description

Came across an error when trying to uninstall unity from Ubuntu 10.10 Desktop Edition.

It was a little buggy so went to software centre, clicked remove and got this error

An unhandled error occured

There seems to be a programming error in aptdaemon, the software that allows you to install/remove software and to perform other package management related tasks. Please report this error at http://launchpad.net/aptdaemon/+filebug and retry.

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 738, 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 66, in acquire
    raise LockFailedError(self.path, process)
LockFailedError

I have not submitted a bug report before but thought I would contribute.

- Adam

Revision history for this message
Adam Bruce (brucey-99-deactivatedaccount) wrote :

After clicking OK to that message, immediately clicked remove for unity again and it worked fine

Ubuntu was a fresh install with just a couple of programs

Revision history for this message
Kalyan Chavali (kalluz-dangerous) wrote :

@ adam: i dont seem to understand can you explain it more clearly?

Revision history for this message
Adam Bruce (brucey-99-deactivatedaccount) wrote :

To be honest, I can't provide much more info that what I have said.

I simply tried to uninstall unity from 10.10 and an error message popped up and asked me to report it here, so I did.

I thought you may be able to see the problem from the error message.

It fixed as soon as I clicked OK to the error and tried again.

I would be happy to close this bug, however, I see two others have reported the same issue.

Is there anything more you want to ask?

Revision history for this message
Sebastian Heinlein (glatzor) wrote :

This is a so called race condition: Either dpkg which is called by aptdaemon has not yet released the lock or another programme tries to install/remove software at nearly the same time. It is a quite technical issue.

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.