千家信息网

windows10如何更新Ubuntu20.04 LTS

发表于:2025-02-12 作者:千家信息网编辑
千家信息网最后更新 2025年02月12日,这篇文章主要为大家展示了windows10如何更新Ubuntu20.04 LTS,内容简而易懂,希望大家可以学习一下,学习完之后肯定会有收获的,下面让小编带大家一起来看看吧。2020年4月23日,今天
千家信息网最后更新 2025年02月12日windows10如何更新Ubuntu20.04 LTS

这篇文章主要为大家展示了windows10如何更新Ubuntu20.04 LTS,内容简而易懂,希望大家可以学习一下,学习完之后肯定会有收获的,下面让小编带大家一起来看看吧。

2020年4月23日,今天Windows 上的 Ubuntu 20.04 允许使用 Ubuntu Terminal 并运行 Ubuntu 命令行实用程序,包括 bash、ssh、git、apt 等。它要求 Windows 10 版本 16215.0 或更高版本,支持 ARM64 和 x64 体系结构。要注意的是,该程序在 Windows 10 S 上不受支持。

升级方法:

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

打开ubuntu 或 Windows Terminal,运行命令do-release-upgrade。

frank@LAPTOP-0OCJTGJR:~$ do-release-upgradeChecking for a new Ubuntu releaseThere is no development version of an LTS available.To upgrade to the latest non-LTS develoment releaseset 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=ltsPrompt=normal

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

期间会有两次人工参与

Checking package managerReading package lists... DoneBuilding dependency treeReading state information... DoneCalculating the changesCalculating the changesDo you want to start the upgrade?40 packages are going to be removed. 424 new packages are going to beinstalled. 690 packages are going to be upgraded.You have to download a total of 547 M. This download will take about6 minutes with your connection.Installing the upgrade can take several hours. Once the download hasfinished, the process cannot be canceled. Continue [yN] Details [d]y

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

以上就是关于windows10如何更新Ubuntu20.04 LTS的内容,如果你们有学习到知识或者技能,可以把它分享出去让更多的人看到。

命令 学习 更新 内容 版本 程序 升级 支持 运行 实用 人工 体系 体系结构 信息 就是 技能 文件 方法 时间 易懂 数据库的安全要保护哪些东西 数据库安全各自的含义是什么 生产安全数据库录入 数据库的安全性及管理 数据库安全策略包含哪些 海淀数据库安全审计系统 建立农村房屋安全信息数据库 易用的数据库客户端支持安全管理 连接数据库失败ssl安全错误 数据库的锁怎样保障安全 西集网络安全投资 计算机网络安全干什么的 太原网络安全培训学校好找工作吗 网络安全 中美合作协议 初学生网络安全调查问卷 溧阳网络安全培训 学习软件开发学习哪种语言 核算数据库配置载入失败 徐州网络技术开发介绍 邮件的服务器是什么原因 it软件开发费脑 格力的软件开发岗 小学网络安全教育教案总结 广西gpu服务器租赁报价 永恒之塔 雷霆万钧服务器 密云区口碑好的网络技术排名靠前 弱电工程服务器供应商 韶关软件开发有限公司 信安网络安全座谈会 软件开发工程师岗位所需工作经历 怎么把多台电脑连接一个服务器 计算机网络技术招聘信息东莞 永州软件开发培训价格 和平精英未来之役怎么选择服务器 遂溪公安局网络安全 数据库管理密码错 日本有没有网络安全保护法 不用经过服务器的xss 数据库中的班级怎么设 2015年网络安全活动
0