相关连接
解决方法
frank@LAPTOP-0OCJTGJR:~$ do-release-upgrade
Checking for a new Ubuntu release
There is no development version of an LTS available.
To upgrade to the latest non-LTS develoment release
set Prompt=normal in /etc/update-manager/release-upgrades.
打开文件sudo vi /etc/update-manager/release-upgrades
# Default behavior for the release upgrader.
[DEFAULT]
# Default prompting behavior, valid options:
#
# never - Never check for, or allow upgrading to, 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 supported 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 if this option is used and
# the currently-running release is not itself an LTS release the
# upgrader will assume prompt was meant to be normal.
#Prompt=lts
Prompt=normal
默认设置时Prompt=lts,将其改为Prompt=normal.,重新执行命令do-release-upgrade。
本文介绍如何从Ubuntu的长期支持(LTS)版本,如Ubuntu 20.04 LTS,升级到非LTS的最新版本。通过修改/etc/update-manager/release-upgrades文件中的Prompt参数,可以实现这一目标。默认情况下,Prompt=lts,这意味着系统只会检查并升级到最新的LTS版本。要升级到非LTS的最新版本,需要将Prompt参数更改为normal。
633

被折叠的 条评论
为什么被折叠?



