弹出如下内容:
但是,当我在终端中运行 apt-get 时,我得到:
sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
发生了什么事?为什么软件更新程序显示无法通过命令行安装更新?
答案1
如果 apt-get dist-upgrade 不起作用,请尝试以下操作之一,直到问题自行解决:
apt-get upgrade -f
# 即使出现错误仍继续升级
或者
apt-get dist-upgrade -f
# 即使出现错误仍继续 dist-grade