无法删除更新

无法删除更新

我最近尝试安装 PlayOnLinux 上安装的软件所需的更新,但更新从未安装。系统会无限期地挂起安装,我不得不终止安装过程(我知道这并不理想)。

现在系统继续在 Kubuntu 上的 Discover Center 中将软件 (ttf-mscorefonts-installer) 显示为更新。我无法通过 Discover 或命令行成功删除更新。另请注意 - 它显示页面大小为 0 B。我在 Discover 中附上了更新的屏幕截图。

在此处输入图片描述

以下是我尝试从终端删除更新的操作:

scott@scott-ZenBook:~$ sudo apt remove ttf-mscorefonts-installer
[sudo] password for scott: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libllvm10 python3-debconf update-notifier-common
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
  ttf-mscorefonts-installer
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
dpkg: error processing package ttf-mscorefonts-installer (--remove):
 package is in a very bad inconsistent state; you should
 reinstall it before attempting a removal
dpkg: too many errors, stopping
Errors were encountered while processing:
 ttf-mscorefonts-installer
Processing was halted because there were too many errors.
E: Sub-process /usr/bin/dpkg returned an error code (1)

它说我应该在卸载之前尝试重新安装它。好吧,我做不到。该软件始终锁定安装过程。有没有办法一劳永逸地删除它?

相关内容