我通过 ssh 从 13.04 升级到 13.10(没有使用)。当脚本即将删除过时的软件包screen
时,我的 ssh 连接中断。现在,当我重新连接并运行它时,它只会显示。如何完成升级过程?do-release-upgrade
No new release found
答案1
跑步
sudo dpkg --configure -a
然后:
sudo apt-get dist-upgrade
最后运行(可能不需要):
sudo apt-get upgrade
答案2
do-release-upgrade
保存有关升级期间采取的所有操作的日志文件,其中还有/var/log/dist-upgrade
其他可能相关的日志。/var/log/apt
/var/log/dpkg
答案3
您能检查 /etc/update-manager/release-upgrades 并查看它是否设置为“prompt=never”吗?
我遇到了一个问题,我继承的旧服务器没有接收到新的 LTS 版本可用这一事实。这就是我修复它的方法。
例子:
$ sudo cat /etc/update-manager/release-upgrades
# Default behavior for the release upgrader.
[DEFAULT]
# Default prompting behavior, valid options:
#
# never - Never check for a new release.
# normal - Check to see if a new release is available. If more than one new
# release is found, the release upgrader will attempt to upgrade to
# the release that immediately succeeds the currently-running
# release.
# lts - Check to see if a new LTS release is available. The upgrader
# will attempt to upgrade to the first LTS release available after
# the currently-running one. Note that this option should not be
# used if the currently-running release is not itself an LTS
# release, since in that case the upgrader won't be able to
# determine if a newer release is available.
prompt=lts