Ubuntu Server 10.04.4 LTS可以升级到NON-LTS吗?

Modified on: Sat, 09 Jun 2018 08:21:53 +0800

我有一台运行Ubuntu 10.04.4 LTS的服务器。我可以将此分发升级到精确的LTS,然后从那里转换为非LTS版本吗?

作者:Chris

最佳答案

  

转换为非LTS版本?

在这种背景下没有转换的东西。

您希望在此处更改的唯一内容是新版本的认知级别。可以将其设置为“支持”(常规)版本,“仅限长期”(LTS)版本,甚至“无需”(无重大升级)。

设置此操作的GUI方式在在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)

相关问答

添加新评论