windows10如何更新Ubuntu

发布时间:2022-10-26 10:22:07 作者:iii
来源:亿速云 阅读:129

本篇内容主要讲解“windows10如何更新Ubuntu”,感兴趣的朋友不妨来看看。本文介绍的方法操作简单快捷,实用性强。下面就让小编来带大家学习“windows10如何更新Ubuntu”吧!

升级方法:

我这里只针对已有ubuntu的用户

打开ubuntu 或 windows terminal,运行命令do-release-upgrade。

frank@laptop-0ocjtgjr:~$ do-release-upgrade
checking for a new ubuntu release
there is no development version of an lts available.
to upgrade to the latest non-lts develoment release
set prompt=normal in /etc/update-manager/release-upgrades.

可能会出现上面的报错信息。

打开文件sudo vi /etc/update-manager/release-upgrades

# default behavior for the release upgrader.

[default]
# default prompting behavior, valid options:
#
# never - never check for, or allow upgrading to, 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 supported 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 if this option is used and
#      the currently-running release is not itself an lts release the
#      upgrader will assume prompt was meant to be normal.
#prompt=lts
prompt=normal

默认设置时prompt=lts,将其改为prompt=normal.,重新执行命令do-release-upgrade

期间会有两次人工参与

checking package manager
reading package lists... done
building dependency tree
reading state information... done

calculating the changes

calculating the changes

do you want to start the upgrade?


40 packages are going to be removed. 424 new packages are going to be
installed. 690 packages are going to be upgraded.

you have to download a total of 547 m. this download will take about
6 minutes with your connection.

installing the upgrade can take several hours. once the download has
finished, the process cannot be canceled.

 continue [yn] details [d]y

大概需要30'+的时间可以完成整个升级过程。

到此,相信大家对“windows10如何更新Ubuntu”有了更深的了解,不妨来实际操作一番吧!这里是亿速云网站,更多相关内容可以进入相关频道进行查询,关注我们,继续学习!

推荐阅读:
  1. windows10如何更新Ubuntu20.04 LTS
  2. windows10如何升级更新系统

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

windows10 ubuntu

上一篇:安装Ubuntu后要做什么

下一篇:Ubuntu如何安装Python3的虚拟环境

相关阅读

您好,登录后才能下订单哦!

密码登录
登录注册
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》