“Apt update” 挂起了,所以我终止了该进程。终止该进程后,我再次尝试该命令,但现在出现了以下错误。
admin@ubuntu1804:~# apt upgrade
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
运行建议的命令后,我看到下面的内容。
admin@ubuntu1804:~# dpkg --configure -a
dpkg: dependency problems prevent configuration of ubuntu-server:
ubuntu-server depends on motd-news-config; however:
Package motd-news-config is not installed.
dpkg: error processing package ubuntu-server (--configure):
dependency problems - leaving unconfigured
Setting up base-files (10.1ubuntu2.10) ...
Configuration file '/etc/issue.net'
==> Modified (by you or by a script) since installation.
==> Package distributor has shipped an updated version.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions
Z : start a shell to examine the situation
The default action is to keep your current version.
*** issue.net (Y/I/N/O/D/Z) [default=N] ?
我以前从未遇到过这个问题。在重新配置软件包之前,我希望收到一些意见,了解在继续之前我应该做或检查什么。