问题描述
我正在关注upgrade instructions on Ubuntu’s website,但在启动升级工具时我收到了以下回复:
Checking for a new ubuntu release
No new release found
难道我做错了什么?有没有解决方法?
这是我的/etc/lsb-release
:
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Ubuntu 12.04.4 LTS"
最佳解决办法
根据Ubuntu Engineering Foundations团队经理Steve Langasek的说法:
Upgrades between LTS releases are not enabled by default until the first point release, 14.04.1, scheduled for July. It is recommended that most LTS users wait until then before upgrading to 14.04.
如果您之前选择升级,则可以将-d
选项传递到升级工具(运行do-release-upgrade -d
或update-manager -d
)以从12.04升级到14.04。 (-d代表开发)
这个问题解释了等待提示的理由。
次佳解决办法
如果有人无法访问GUI并希望在终端上进行更新:
-
编辑文件
/etc/update-manager/release-upgrades
用于
Prompt
以匹配normal
或lts
。 (请参阅下面的列表,适合您的情况,请注意,您只能将LTS升级到另一个LTS版本):[DEFAULT] Prompt=normal
-
测试正确的版本被发现,运行
do-release-upgrade -c
-
在显示正确版本的情况下升级:
sudo do-release-upgrade -d
这样我可以将12.04升级到12.10。
可用的Prompt
选项为:
- 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.
第三种解决办法
sudo do-release-upgrade -d
最后注意-d。
第四种办法
2个选项:
-
刻录iso并将其放入驱动器,它会自动检测升级
-
进入你的synaptics选项,然后选择Preference>分配>始终喜欢最高版本。
问题解决了 ?