我不想升级 12.04

我不想升级 12.04

我该如何继续更新 12.04,但是不是更新到更高的 Ubuntu 版本?换句话说,我想要安装 12.04 的所有可用更新,但又不想在不知情的情况下安装 14.04 或某个开发版本的更新。

答案1

您可以继续更新 12.04,而无需升级到新版本。

对 Ubuntu 12.04 的支持将持续到 2017 年 4 月底。

如果你对版本升级选项感到厌烦,只需转到

系统设置->软件和更新并关闭该通知。

答案2

只需运行此命令

sudo perl -i -pe 's/Prompt=.*/Prompt=never/' /etc/update-manager/release-upgrades

就这样;)


例子

我的/etc/update-manager/release-upgrades以前

% 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=normal

Prompt=<any_string>用。。。来代替Prompt=never

% sudo perl -i -pe 's/Prompt=.*/Prompt=never/' /etc/update-manager/release-upgrades

我的/etc/update-manager/release-upgrades之后

% 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=never

答案3

我不确定你是如何更新的。我使用更新管理器,它每天显示一次更新。顶部显示 14.04 升级,但我只是忽略了该按钮。左下角是一个设置按钮,允许我显示要发布的更新。

我附加了我使用的设置的图像。

如果您有这些设置,选择“安装更新”不会升级系统。它只会更新 LTS 部分和您已安装的任何软件。 更新管理器和设置

相关内容