everytime i want to install a package or app this message occurs and everything crashes: "an unhandable 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."

Bug #682870 reported by Laura Dunnzlaff
484
This bug affects 105 people
Affects Status Importance Assigned to Milestone
Aptdaemon
Invalid
Undecided
Said EN-NASSIRI
aptdaemon (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

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.

LockFailedError(self.path, process)

Tags: maverick
siham (suma-90)
Changed in aptdaemon:
assignee: nobody → siham (suma-90)
Revision history for this message
Dave Douglas (gpfdave) wrote :

This is really weird because I just installed the system last night. Running a dual boot with win2k and Ubuntu 10.10 i.386
All the packages installed fine last night, installed some additional educational apps and now today this isn't working.

Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/aptdaemon/worker.py", line 768, in simulate
    return self._simulate_helper(trans, status_path)
  File "/usr/lib/python2.6/dist-packages/aptdaemon/worker.py", line 936, in _simulate_helper
    return depends, status, self._cache.required_download, \
  File "/usr/lib/python2.6/dist-packages/apt/cache.py", line 218, in required_download
    pm.get_archives(fetcher, self._list, self._records)
SystemError: E:I wasn't able to locate file for the gnuplot-x11 package. This might mean you need to manually fix this package.

Revision history for this message
marnevel (biggiantmidget) wrote :

I am having the same problem; almost identical details except slightly different line numbers (and I am having difficulty with a different package, apparently). See below:

Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/aptdaemon/worker.py", line 769, in simulate
    return self._simulate_helper(trans, status_path)
  File "/usr/lib/python2.6/dist-packages/aptdaemon/worker.py", line 948, in _simulate_helper
    return depends, status, self._cache.required_download, \
  File "/usr/lib/python2.6/dist-packages/apt/cache.py", line 218, in required_download
    pm.get_archives(fetcher, self._list, self._records)
SystemError: E:I wasn't able to locate file for the ttf-mscorefonts-installer package. This might mean you need to manually fix this package.

Revision history for this message
marnevel (biggiantmidget) wrote :

I managed to solve this problem by going into the Synaptic Package Manager. I found the problem package (in my case, ttf-mscorefonts-installer) and upgraded it. The problem appears to be solved.

Here is the link I used to help with Synaptic:

https://help.ubuntu.com/community/SynapticHowto

Revision history for this message
vfmla (bernuce) wrote :

interesting, this error message appeared when I wanted not to install ttf-mscorefonts. I unchecked it from update manager's list and then came the error when tried to install other packages.

so it seems inevitable to use these fonts?

(it's simply windows that I want to keep clear of, that's why)

Revision history for this message
Alex Engelmann (alex-engelmann) wrote :

This is the error report I got when trying to install the netbook package:

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

Revision history for this message
curtis mahadevan (liverpoolcm97) wrote :

yeah i get this Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/aptdaemon/worker.py", line 768, in simulate
    return self._simulate_helper(trans, status_path)
  File "/usr/lib/python2.6/dist-packages/aptdaemon/worker.py", line 936, in _simulate_helper
    return depends, status, self._cache.required_download, \
  File "/usr/lib/python2.6/dist-packages/apt/cache.py", line 218, in required_download
    pm.get_archives(fetcher, self._list, self._records)
SystemError: E:I wasn't able to locate file for the libboost-system-dev package. This might mean you need to manually fix this package.

Changed in aptdaemon:
status: New → Confirmed
status: Confirmed → New
Revision history for this message
Krack (krack3rz) wrote :

Mine says:
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/aptdaemon/worker.py", line 769, in simulate
    return self._simulate_helper(trans, status_path)
  File "/usr/lib/python2.6/dist-packages/aptdaemon/worker.py", line 948, in _simulate_helper
    return depends, status, self._cache.required_download, \
  File "/usr/lib/python2.6/dist-packages/apt/cache.py", line 218, in required_download
    pm.get_archives(fetcher, self._list, self._records)
SystemError: E:I wasn't able to locate file for the mozilla-plugin-vlc package. This might mean you need to manually fix this package.

I think it happened after i tried to install "mozilla-plugin-vlc" or upgrade something using terminal. so now i cant install anything using the Ubuntu Software Center.

Revision history for this message
Krack (krack3rz) wrote :

also I forgot to add that I tried restarting after this error and then it got stuck with something like "aptdaemon" or maybe aptd and I had to cold reboot...(i did wait over 1 min or 2 before that and presses some alt+sysreq keys but the "b" for reboot didnt work in the end)

Revision history for this message
CurtisCude (curtis-cude) wrote :

This is the same bug as #690942.
Here's my traceback:
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 67, in acquire
    raise LockFailedError(self.path, process)
LockFailedError

Changed in aptdaemon:
status: New → Confirmed
tags: added: maverick
description: updated
Changed in ubuntu:
status: New → Invalid
Revision history for this message
Peter Holmes (to4shore) wrote :

Well, my system doesn't crash as a result of the attempted installation of "wspr_2.00r1714_i386.deb" (ham radio weak signal software). The installation just fails.

I downloaded it and is guess after a right click I was offered the opportunity (!?!) to open it with Ubuntu Software Center, so I said OK, and then attempted install and got this message. I think it should of installed like all the other software I installed from Ubuntu Software Center, right? instead I got that same message:

"An unhandlable 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.

Not sure if I was suppose to do this, there other ways to install it.

Revision history for this message
Fernando Cuevas Chavarria (fercuechav) wrote :

Just reinstal the package apt in synaptic

Changed in aptdaemon:
assignee: siham (suma-90) → Said EN-NASSIRI (ennassiri-said)
status: Confirmed → Incomplete
Changed in ubuntu:
status: Invalid → Confirmed
Changed in aptdaemon:
status: Incomplete → Confirmed
Revision history for this message
mundayi michel (mundayimichel) wrote :

I'm sorry,because I would like to read my DVD /cd in my computer no way to read beacause I'm unable to login a greffon for leture dvd and cd,just install a package of dvd/cd lecture

Changed in aptdaemon:
status: Confirmed → Opinion
Revision history for this message
pdrift (pdrift86) wrote :

I've been having trouble with my system for a couple days now, whenever I try to install , remove or update anything.
there are 3 things update manager keeps nagging about, something about fonts and also a ggogle talk plugin.
 i tried to install a humble-bundle game deb, and keep getting this error:

an unhandable 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.

then I found this thread and seen a possible silution further up, so i tried to reinstall apt using synaptic.
now i get this error:

dpkg: failed to read on buffer copy for copy info file `/var/lib/dpkg/available': Input/output error
E: Sub-process /usr/bin/dpkg returned an error code (2)
A package failed to install. Trying to recover:

Shimi Chen (shimi-chen)
affects: ubuntu → aptdaemon (Ubuntu)
Changed in aptdaemon:
status: Opinion → 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.