问题描述
我有一台运行 Ubuntu 10.04.4 LTS 的服务器。我可以将此发行版升级到精确的 LTS,然后从那里转换为非 LTS 版本吗?
最佳回答
\\n
convert to non-LTS releases?
\\n
在这种情况下不存在转换这样的事情。
您在这里唯一想要改变的是新版本的认知水平。人们可以将其设置为 “supported”(常规)版本、“仅限长期”(LTS)版本,甚至 “nothing”(无重大升级)。
设置此操作的 GUI 方式提到了 in the answer of Im’juz ChanYun ,但对于命令行,这正在更改此文件: /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
将其设置为 prompt=normal
后,您将收到通知(并以常规方式允许)升级到常规版本。仅在直接升级到 12.04 后才执行此操作,因为这是最快的升级路径。您确实想避免这里第一行中的路径:
10.04 -> 10.10 -> 11.04 -> 11.10 -> 12.04 -> 12.10 (if you would select normal now)
10.04 ----------------------------> 12.04 -> 12.10 (if you select normal after 12.04)
次佳回答
作为 add-on。将升级目标更改为正常后,您可以运行
sudo do-release-upgrade
提示升级经理采取行动。
第三种回答
更新管理器(或软件更新程序)中有一个设置可以通知您新版本。您可以仅选择 LTS(两年一次)或任何新版本(一年两次版本)。