2

Possible Duplicate:
Cannot install any software from the Software Center due to ttf-mscorefonts-installer package error

I was trying to install ubuntu-restricted-extras from the command line, as instructed here: Can't play dvd with movie player

Near the end, I came to a EULA screen that wouldn't let me past it. Clicking OK, hitting enter, nothing worked.

After aborting that attempt at installing, I find that attempting to install anything leads to the following message:

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.

(The above was an attempt to install 7zip from the Software Center.)

How do I undo what I've done? Tell me how this can be fixed without re-installing the OS.

I'm not particularly Linux-savvy, so please help me to understand how I can investigate this problem, and hopefully regain the ability to install software without reinstalling the OS.

Eric Wilson
  • 1,016
  • 5
  • 14
  • 32
  • This question might help with the issue of the EULA screen: http://askubuntu.com/questions/16225/how-can-i-accept-the-agreement-for-ttf-mscorefonts-installer – Isaiah Jun 28 '11 at 03:07

2 Answers2

2

Here's a good article on what to do when apt-get breaks. http://www.linux.com/archive/feed/48910

Basically, try to re-install with -f flag (to force) the offending package. If that doesn't work try remove, then with -f flag.

Also - a good practice that doesn't seem to be actively encouraged by the Ubuntu installer is to have /home and / on different partitions, so that you can freely reinstall the core OS without affecting most of your settings, which makes recovering from fatal issues easier. Great tip when you're still learning.

user543624
  • 164
  • 3
  • Thanks, back to normal . . . still can't watch movies, no longer care. – Eric Wilson Jun 28 '11 at 02:17
  • -1 Please include the actual solution in the answer - [Linkrot can strike at anytime](http://meta.stackexchange.com/questions/8231/are-answers-that-just-contain-links-elsewhere-really-good-answers/8259#8259) – jrg Aug 09 '11 at 13:03
  • @jrg link rotted. Boo – jokerdino Apr 01 '12 at 06:23
1

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.

Kris Harper
  • 13,397
  • 12
  • 56
  • 73
user31533
  • 11
  • 1