更新系统显示dpkg 被中断
Tofloor
poster avatar
红小蟹
deepin
2020-05-25 17:52
Author
自动更新显示更新失败,用sudo apt-get update && sudo apt-get dist-upgrade -y命令更新系统显示   dpkg 被中断,您必须手工运行 ‘sudo dpkg --configure -a’ 解决此问题   ,运行sudo dpkg --configure -a,总是报错。


one@one-PC:~$ sudo apt-get update && sudo apt-get dist-upgrade -y
[sudo] one 的密码:
命中:1 https://community-packages.deepin.com/deepin apricot InRelease
命中:2 https://cdn-package-store6.deepin.com/appstore eagle InRelease                           
命中:3 http://uos.deepin.cn/printer eagle InRelease                                             
命中:4 http://download.opensuse.org/repositories/home:/strycore/Debian_10 ./ InRelease           
命中:5 https://dl.winehq.org/wine-builds/debian stretch InRelease   
正在读取软件包列表... 完成                     
E: dpkg 被中断,您必须手工运行 ‘sudo dpkg --configure -a’ 解决此问题。
one@one-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-05-25 09:50:17--  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... 已连接。
已发出 HTTP 请求,正在等待回应... 读取文件头错误 (连接被对方重设)。
放弃操作。

--2020-05-25 09:50:18--  http://switch.dl.sourceforge.net/sourceforge/corefonts/andale32.exe
正在解析主机 switch.dl.sourceforge.net (switch.dl.sourceforge.net)... 111.63.112.254
正在连接 switch.dl.sourceforge.net (switch.dl.sourceforge.net)|111.63.112.254|:80...


Reply Favorite View the author
All Replies
avatar
红小蟹
deepin
2020-05-25 17:56
#1
修复依赖提示
one@one-PC:~$ sudo apt-get install
[sudo] one 的密码:
E: 无法获得锁 /var/lib/dpkg/lock-frontend - open (11: 资源暂时不可用)
E: 无法获取 dpkg 前端锁 (/var/lib/dpkg/lock-frontend),是否有其他进程正占用它?
one@one-PC:~$
Reply View the author
avatar
Frain
deepin
2020-05-25 18:09
#2
在执行命令的时候你在进行其他软件安装或卸载的动作,所以会提示dpkg前端锁的情况,等软件安装或卸载完成后,再执行命令就可以了
Reply View the author
avatar
jingle
deepin
2020-05-25 18:27
#3
应该是sf 上面去下载字体了
Reply View the author