当前位置: 首页>>技术问答>>正文


为什么从LTS升级到下一个时“没有发现新版本”?

,

问题描述

我正在关注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 -dupdate-manager -d)以从12.04升级到14.04。 (-d代表开发)

这个问题解释了等待提示的理由。

次佳解决办法

如果有人无法访问GUI并希望在终端上进行更新:

  1. 编辑文件

    /etc/update-manager/release-upgrades
    

    用于Prompt以匹配normallts。 (请参阅下面的列表,适合您的情况,请注意,您只能将LTS升级到另一个LTS版本):

    [DEFAULT]
    Prompt=normal
    
  2. 测试正确的版本被发现,运行

    do-release-upgrade -c
    
  3. 在显示正确版本的情况下升级:

    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个选项:

  1. 刻录iso并将其放入驱动器,它会自动检测升级

  2. 进入你的synaptics选项,然后选择Preference>分配>始终喜欢最高版本。

问题解决了 ?

参考资料

本文由Ubuntu问答整理, 博文地址: https://ubuntuqa.com/article/245.html,未经允许,请勿转载。