非重复:ttf-mscorefonts-installer 没有终端,没有隐藏窗口,只是挂起

非重复:ttf-mscorefonts-installer 没有终端,没有隐藏窗口,只是挂起

apt-get install ttf-mscorefonts-installer 正在准备...

关于此 ms vs linux snafu 的大型线程>>2010 年 12 月 4 日由 Magic<< 提问,指导如何使用 curses 窗口来找到"接受"、"是"按钮。

在这种情况下,apt-get命令进程只是挂起,没有生成任何其他窗口。Synaptic 安装尝试以“用户不同意 EULA”消息结束。该软件包处于“非常糟糕的不一致状态”,​​也被描述为“当前状态为‘半安装’”。我无法安装、卸载、删除、自动删除、清除或配置。

NUKE-WITH-EXTREME-PREJUDICE 软件包选项是什么?

ttf-mscorefonts-安装程序-病毒...

<<抱歉,不允许拍照>>

# apt-get install ttf-mscorefonts-installer
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  cabextract libmspack0
The following NEW packages will be installed:
  cabextract libmspack0 ttf-mscorefonts-installer
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 59.7 kB/89.2 kB of archives.
After this operation, 362 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 us.archive.ubuntu ubuntu wily main libmspack0 amd64 0.5-1
Get:2 us.archive.ubuntu ubuntu wily universe cabextract amd64 <<not-a-link>>
Fetched 59.7 kB in 0s (167 kB/s)
Preconfiguring packages ...
Selecting previously unselected package libmspack0:amd64.
(Reading database ... 433286 files and directories currently installed.)
Preparing to unpack .../libmspack0_0.5-1_amd64.deb ...
Unpacking libmspack0:amd64 (0.5-1) ...
Selecting previously unselected package cabextract.
Preparing to unpack .../cabextract_1.6-1_amd64.deb ...
Unpacking cabextract (1.6-1) ...
Selecting previously unselected package ttf-mscorefonts-installer.
Preparing to unpack .../ttf-mscorefonts-installer_3.4+nmu1ubuntu2_all.deb ...
[**hang  ---  STOP FOREVER ---  NO-HIDDEN-WINDOW ---  NO-CURSES-WINDOWS**]

当 ^c 在 root 安装窗口中不起作用时,6 个进程被挂起。所有 6 个进程都被终止后,会出现另一个错误:

E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
# sudo dpkg --configure -a
...
1 not fully installed or removed.
Need to get 0 B/29.5 kB of archives.
After this operation, 0 B of additional disk space will be used.
dpkg: error processing package ttf-mscorefonts-installer (--configure):
 package ttf-mscorefonts-installer is not ready for configuration
 cannot configure (current status 'half-installed')
Errors were encountered while processing:
 ttf-mscorefonts-installer
E: Sub-process /usr/bin/dpkg returned an error code (1)

尝试通过突触来移除它最终会导致灾难:

(synaptic:2639): GLib-CRITICAL **: g_child_watch_add_full: assertion 'pid > 0' failed
dpkg: error processing package ttf-mscorefonts-installer (--remove):
package is in a very bad inconsistent state; you should reinstall it before attempting a removal
Errors were encountered while processing:
  ttf-mscorefonts-installer
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:

我认为这构成了病毒;恶意软件会破坏系统功能(pkg 管理)并且很难或无法删除。

我认为是 QT 首先尝试安装这些。

是否可以安装一个空的存根来替代 ms-malware 并阻止任何重新安装它的尝试?

答案1

Apt-Get 包管理已修复!

这些命令似乎已经删除了这个 ms-MONKEY_WRENCH:

root@raptor# dpkg --force-remove-reinstreq  --purge  ttf-mscorefonts-installer
dpkg: warning: overriding problem because --force enabled:
dpkg: warning: package is in a very bad inconsistent state; you should
 reinstall it before attempting a removal
dpkg: warning: files list file for package 'ttf-mscorefonts-installer'       missing; assuming package has no files currently installed
(Reading database ... 435761 files and directories currently installed.)
Removing ttf-mscorefonts-installer (3.4+nmu1ubuntu2) ...
rm -rf "/var/cache/apt/archives/ttf-mscorefonts-installer_3.4+nmu1ubuntu2_all.deb" 
rm -rf /var/crash/ttf-mscorefonts-installer.0.crash

===========================================

Linux 包管理脆弱性是一个巨大的问题;goog(apt-get 错误)-> 180 万次点击!

google(ttf-mscorefonts-installer linux) 获得“大约 8,240 个结果”
一个网站上的这个线程获得了 296 个结果。
只有极少数因 ms 脚本错误(或更糟)而导致包管理受损的用户可能会在线发布他们的问题。
许多人肯定会放弃。

这个几乎全新的系统有 1457 个“.deb”软件包: loc .deb | grep ".deb$" | wc
google 上有大约 180 万个软件包问题 / 1457 = 1235 个问题/软件包,
报告的问题数为 8,249 个,ms 的缺陷率比平均水平高出 670%!

2002 年发布,如果问题是偶然的,他们现在就可以修复它了!
来自:wikipedia -> Core_fonts_for_the_Web
Microsoft (2002-07-25)。“TrueType 核心字体 Web 常见问题解答”

相关内容