8

When I try to install any software from ubuntu software center it comes with error:

An unhandled error occured
There seems to be a programming error in aptdaemon. This is the software that allows you to install/remove software and to perform other package management related tasks.
details
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/aptdaemon/worker.py", line 961, in simulate
    trans.unauthenticated = self._simulate_helper(trans)
  File "/usr/lib/python2.7/dist-packages/aptdaemon/worker.py", line 1085, in _simulate_helper
    return depends, self._cache.required_download, \
  File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 226, 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.

Please help me!

Jorge Castro
  • 73,717
Dei
  • 111

2 Answers2

10

Possibly this error was caused when you interrupted the install or removal of Wine.

Try running the following in a terminal session:

sudo dpkg --configure -a
sudo apt-get update
sudo apt-get upgrade

Edit:

When you see in the terminal window appear "Package configuration -

┌─────────────────┤ Configuring ttf-mscorefonts-installer ├─────────────────┐

press tab or I think the arrow keys until the "OK" is highlighted.

Then press Enter to accept the license agreement

fossfreedom
  • 174,526
0

What version of Ubuntu are you running? (I would add this as a comment to your question but I can't find the button.)

The error message seems to suggest it is just a bug in aptdaemon or software-center, which you might want to repot over at bugs.ubuntu.com.

What you might do is run Synaptic Package Manager and, under Custom Filters in the bottom left-hand corner, click the Broken filter on the left-hand side, and try to reinstall all packages, if any, that come up.

Vincent
  • 2,308