请坛友诊断一下:终端升级中这个提示是什么问题又应该如何处理?
Tofloor
poster avatar
mardou
deepin
2020-11-29 03:11
Author

今天看到深度又有升级,是好事。于是在终端上进行了升级,还算顺利,但其中出现了一个提示,大意是说其中有一个软件可能没有被完全安装或卸载,需要用“sudo apt autoremove”来进行处理,于是就有了以下没完没了地运行,而且一直停留在进程33%这个位置上,真是不知所措了:

sudo apt autoremove
请输入密码
[sudo] mardou 的密码:
验证成功
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 0 个软件包未被升级。
有 1 个软件包没有被完全安装或卸载。
解压缩后会消耗 0 B 的额外空间。
正在设置 ttf-mscorefonts-installer (3.7) ...

These fonts were provided by Microsoft "in the interest of cross-
platform compatibility". This is no longer the case, but they are
still available from third parties.

You are free to download these fonts and use them for your own use,
but you may not redistribute them in modified form, including changes
to the file name or packaging format.

--2020-11-28 19:01:05-- http://downloads.sourceforge.net/corefonts/andale32.exe
正在解析主机 downloads.sourceforge.net (downloads.sourceforge.net)... 216.105.38.13
正在连接 downloads.sourceforge.net (downloads.sourceforge.net)|216.105.38.13|:80... 失败:连接超时。
放弃操作。

--2020-11-28 19:02:05-- http://switch.dl.sourceforge.net/sourceforge/corefonts/andale32.exe
正在解析主机 switch.dl.sourceforge.net (switch.dl.sourceforge.net)... 失败:未知的名称或服务。
wget: 无法解析主机地址 “switch.dl.sourceforge.net”
--2020-11-28 19:02:05-- http://dfn.dl.sourceforge.net/sourceforge/corefonts/andale32.exe
正在解析主机 dfn.dl.sourceforge.net (dfn.dl.sourceforge.net)... 失败:未知的名称或服务。
wget: 无法解析主机地址 “dfn.dl.sourceforge.net”
--2020-11-28 19:02:06-- http://heanet.dl.sourceforge.net/sourceforge/corefonts/andale32.exe
正在解析主机 heanet.dl.sourceforge.net (heanet.dl.sourceforge.net)... 2001:770:18:aa40::c101:c142
正在连接 heanet.dl.sourceforge.net (heanet.dl.sourceforge.net)|2001:770:18:aa40::c101:c142|:80... 失败:网络不可达。
--2020-11-28 19:02:06-- http://jaist.dl.sourceforge.net/sourceforge/corefonts/andale32.exe
正在解析主机 jaist.dl.sourceforge.net (jaist.dl.sourceforge.net)... 150.65.7.130, 2001:df0:2ed:feed::feed
正在连接 jaist.dl.sourceforge.net (jaist.dl.sourceforge.net)|150.65.7.130|:80... 已连接。
已发出 HTTP 请求,正在等待回应... 302 Found
位置:http://downloads.sourceforge.net/sourceforge/corefonts/andale32.exe?download&failedmirror=jaist.dl.sourceforge.net [跟随至新的 URL]
--2020-11-28 19:02:10-- http://downloads.sourceforge.net/sourceforge/corefonts/andale32.exe?download&failedmirror=jaist.dl.sourceforge.net
正在解析主机 downloads.sourceforge.net (downloads.sourceforge.net)... 216.105.38.13
正在连接 downloads.sourceforge.net (downloads.sourceforge.net)|216.105.38.13|:80... 失败:连接超时。
放弃操作。

--2020-11-28 19:03:10-- http://nchc.dl.sourceforge.net/sourceforge/corefonts/andale32.exe
正在解析主机 nchc.dl.sourceforge.net (nchc.dl.sourceforge.net)... 140.110.96.69, 2001:e10:ffff:1f02::17
正在连接 nchc.dl.sourceforge.net (nchc.dl.sourceforge.net)|140.110.96.69|:80... 已连接。
已发出 HTTP 请求,正在等待回应... 302 Found

。。。。。。。。。

--2020-11-28 19:11:23-- http://downloads.sourceforge.net/sourceforge/corefonts/arialb32.exe?download&failedmirror=internode.dl.sourceforge.net
正在解析主机 downloads.sourceforge.net (downloads.sourceforge.net)... 216.105.38.13
正在连接 downloads.sourceforge.net (downloads.sourceforge.net)|216.105.38.13|:80...
进度:[ 33%] [#############################............................................................] 


说明:篇幅太长,只是复制了部分。

Reply Favorite View the author
All Replies
neko
Moderator
2020-11-29 03:19
#1

ttf-mscorefonts-installer这个包在国外的服务器,国内访问经常出问题就会出现这个问题。建议连接虚拟专用网络

后再执行共享更新

Reply View the author
神末shenmo
Moderator
Spark-App
2020-11-29 03:35
#2


卸载掉这个包

Reply View the author
Fredoong
deepin
2020-11-29 04:11
#3

你贴出来的信息里已经说的很清楚了,这个包是微软提供的一些字体的安装器,字体在sourceforge.net网站上,但是你的网络连接不到sourceforge里的这些字体,所以下载失败。或许是资源已经被移动了或许是其他原因,总之是连接不上。

建议直接干掉这个包,不要这些微软提供的字体了。如果以后还需要其中的字体,可以手动从其他地方下载。

Reply View the author
mardou
deepin
2020-11-29 04:32
#4
Fredoong

你贴出来的信息里已经说的很清楚了,这个包是微软提供的一些字体的安装器,字体在sourceforge.net网站上,但是你的网络连接不到sourceforge里的这些字体,所以下载失败。或许是资源已经被移动了或许是其他原因,总之是连接不上。

建议直接干掉这个包,不要这些微软提供的字体了。如果以后还需要其中的字体,可以手动从其他地方下载。

  可是多次想通过终端进行卸载,都没有成功。

Reply View the author
mardou
deepin
2020-11-29 04:33
#5
神末shenmo


卸载掉这个包

在终端用“sudo apt autoremove”都无法卸载。

Reply View the author
mardou
deepin
2020-11-29 04:33
#6
neko

ttf-mscorefonts-installer这个包在国外的服务器,国内访问经常出问题就会出现这个问题。建议连接虚拟专用网络

后再执行共享更新

可是我没有导入微软的字体包呀。

Reply View the author
mardou
deepin
2020-11-29 04:36
#7

系统中我没有导入微软的字体库呀。

Reply View the author
安洛
deepin
2020-11-29 05:26
#8
mardou

在终端用“sudo apt autoremove”都无法卸载。

sudo apt purge ttf-mscorefonts-installer


卸载就行。

Reply View the author
神末shenmo
Moderator
Spark-App
2020-11-29 06:18
#9
mardou

在终端用“sudo apt autoremove”都无法卸载。


dpkg操作

Reply View the author
神末shenmo
Moderator
Spark-App
2020-11-29 06:18
#10
mardou

可是我没有导入微软的字体包呀。


WPS的依赖

Reply View the author
mardou
deepin
2020-11-29 21:42
#11
安洛

sudo apt purge ttf-mscorefonts-installer


卸载就行。

谢谢。可是出现以下情形。

$ sudo apt purge ttf-mscorefonts-installer
请输入密码
[sudo] mardou 的密码:
验证成功
E: dpkg 被中断,您必须手工运行 ‘sudo dpkg --configure -a’ 解决此问题。
mardou@mardou-PC:~$ sudo dpkg --configure -a
正在设置 ttf-mscorefonts-installer (3.7) ...

These fonts were provided by Microsoft "in the interest of cross-
platform compatibility". This is no longer the case, but they are
still available from third parties.

You are free to download these fonts and use them for your own use,
but you may not redistribute them in modified form, including changes
to the file name or packaging format.

--2020-11-29 13:40:15-- http://downloads.sourceforge.net/corefonts/andale32.exe
正在解析主机 downloads.sourceforge.net (downloads.sourceforge.net)... 216.105.38.13
正在连接 downloads.sourceforge.net (downloads.sourceforge.net)|216.105.38.13|:80... 

又开始没完没了的链接。。。。。失败。。。。。再“链接”,再“失败”的循环。

是否一旦安装了wps就会有微软字库内容自动进入,然后在升级过程中,始终处于需要升级的状态,所以才会出现上面的情况呢。

Reply View the author
stone
deepin
2020-11-30 00:46
#12
Reply View the author
安洛
deepin
2020-11-30 01:55
#13
mardou

谢谢。可是出现以下情形。

$ sudo apt purge ttf-mscorefonts-installer
请输入密码
[sudo] mardou 的密码:
验证成功
E: dpkg 被中断,您必须手工运行 ‘sudo dpkg --configure -a’ 解决此问题。
mardou@mardou-PC:~$ sudo dpkg --configure -a
正在设置 ttf-mscorefonts-installer (3.7) ...

These fonts were provided by Microsoft "in the interest of cross-
platform compatibility". This is no longer the case, but they are
still available from third parties.

You are free to download these fonts and use them for your own use,
but you may not redistribute them in modified form, including changes
to the file name or packaging format.

--2020-11-29 13:40:15-- http://downloads.sourceforge.net/corefonts/andale32.exe
正在解析主机 downloads.sourceforge.net (downloads.sourceforge.net)... 216.105.38.13
正在连接 downloads.sourceforge.net (downloads.sourceforge.net)|216.105.38.13|:80... 

又开始没完没了的链接。。。。。失败。。。。。再“链接”,再“失败”的循环。

是否一旦安装了wps就会有微软字库内容自动进入,然后在升级过程中,始终处于需要升级的状态,所以才会出现上面的情况呢。

那试下

sudo dpkg -r ttf-mscorefonts-installer


Reply View the author
mardou
deepin
2020-11-30 03:09
#14
安洛

那试下

sudo dpkg -r ttf-mscorefonts-installer


非常管用。谢谢!

mardou@mardou-PC:~$ sudo dpkg -r ttf-mscorefonts-installer
请输入密码
[sudo] mardou 的密码:
验证成功
(正在读取数据库 ... 系统当前共安装有 283359 个文件和目录。)
正在卸载 ttf-mscorefonts-installer (3.7) ...
Removing the downloaded fonts...
mardou@mardou-PC:~$ 


Reply View the author