无法卸载 myspell-he

无法卸载 myspell-he

我尝试为 LibreOffice 安装希伯来语拼写检查器。我下载了一个名为的软件包myspell-he_1.1-1_all.deb并尝试通过软件中心安装它。安装失败,我既无法完成安装也无法将其删除。从那时起,每当我运行更新管理器时,我都会收到一条错误消息:

The package system is broken. 

详细信息:

The following packages have unmet dependencies:
dictionaries-common:

当我尝试运行软件中心时,出现一个弹出窗口:

Items cannot be installed or removed until the package catalog is repaired.

建议使用修复选项。如果我单击它,则会出现以下消息:

installArchives() failed: dpkg: dependency problems prevent configuration of myspell-he:
 dictionaries-common (1.12.1ubuntu2) breaks myspell-he (<= 1.1-1) and is installed.
  Version of myspell-he to be configured is 1.1-1.
dpkg: error processing myspell-he (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
Errors were encountered while processing:
 myspell-he
Error in function: 
dpkg: dependency problems prevent configuration of myspell-he:
 dictionaries-common (1.12.1ubuntu2) breaks myspell-he (<= 1.1-1) and is installed.
  Version of myspell-he to be configured is 1.1-1.
dpkg: error processing myspell-he (--configure):
 dependency problems - leaving unconfigured

我怎样才能清除这一烂摊子?

答案1

在终端窗口中,请运行以下命令:

sudo dpkg --force-remove-reinstreq -P myspell-he

这应该会强制删除该myspell-he包。

相关内容