由于 ttf-mscorefonts-installer 软件包错误,无法从软件中心安装任何软件

Dei*_*Dei 8 software-center package-management

当我尝试从 ubuntu 软件中心安装任何软件时,出现错误:

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.
Run Code Online (Sandbox Code Playgroud)

请帮我!

fos*_*dom 10

这个错误可能是由于您中断了 Wine 的安装或删除而引起的。

尝试在终端会话中运行以下命令:

sudo dpkg --configure -a
sudo apt-get update
sudo apt-get upgrade
Run Code Online (Sandbox Code Playgroud)

编辑:

当您在终端窗口中看到出现“Package configuration -

??????????????????? Configuring ttf-mscorefonts-installer ???????????????????
Run Code Online (Sandbox Code Playgroud)

按 T​​ab 或我认为箭头键,直到突出显示“确定”。

然后按 Enter 接受许可协议