windows10 更新Ubuntu20.04 LTS的方法步骤

 更新时间:2020年06月01日 11:51:21   作者:夏洛的克  
这篇文章主要介绍了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-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'+的时间可以完成整个升级过程。

相关连接

Windows Subsystem for Linux(WSL)文件系统改进
第41章——从 Windows 命令行运行 Linux 工具
第42章——从 WSL 运行 Windows 工具

到此这篇关于windows10 更新Ubuntu20.04 LTS的方法步骤的文章就介绍到这了,更多相关windows10 更新Ubuntu20.04 LTS内容请搜索脚本之家以前的文章或继续浏览下面的相关文章希望大家以后多多支持脚本之家! 

相关文章

  • linux下查看端口是否被占用以及查看所有端口【推荐】

    linux下查看端口是否被占用以及查看所有端口【推荐】

    这篇文章主要介绍了linux下查看端口是否被占用以及查看所有端口的相关资料,需要的朋友可以参考下
    2018-06-06
  • Apache SeaTunnel实现 非CDC数据抽取实践记录

    Apache SeaTunnel实现 非CDC数据抽取实践记录

    这篇文章主要介绍了Apache SeaTunnel实现 非CDC数据抽取实践,主要介绍SeaTunnel 1.X在交管行业中的应用,以及其中如何实现从Oracle数据库把数据增量导入数仓这样一个具体的场景,需要的朋友可以参考下
    2022-05-05
  • Linux中如何查看文件的创建时间详解

    Linux中如何查看文件的创建时间详解

    这篇文章主要给大家介绍了关于Linux中如何查看文件的创建时间的相关资料,文中通过示例代码介绍的非常详细,对大家学习或者使用Linux具有一定的参考学习价值,需要的朋友们下面来一起学习学习吧
    2019-12-12
  • IO多路复用之select全面总结(必看篇)

    IO多路复用之select全面总结(必看篇)

    下面小编就为大家带来一篇IO多路复用之select全面总结(必看篇)。小编觉得挺不错的。现在就分享给大家。也给大家做个参考。一起跟随小编过来看看吧
    2016-12-12
  • linux中的分号&&和&,|和||说明与用法

    linux中的分号&&和&,|和||说明与用法

    在用linux命令时候,我们可以一行执行多条命令或者有条件的执行下一条命令,下面我们讲解一下linux命令分号&&和&,|和||的用法
    2018-03-03
  • 如何解决Linux下Too many open files问题

    如何解决Linux下Too many open files问题

    Too many open files是Linux系统中常见的错误,从字面意思上看就是说程序打开的文件数过多,不过这里的files不单是文件的意思,也包括打开的通讯链接(比如socket),正在监听的端口等等,所以有时候也可以叫做句柄(handle),这个错误通常也可以叫做句柄数超出系统限制。
    2021-06-06
  • Linux yum安装postgresql出现Bad GPG signature问题的解决方法

    Linux yum安装postgresql出现Bad GPG signature问题的解决

    这篇文章给大家介绍了Linux yum安装postgresql出现Bad GPG signature问题的解决方法,文中通过代码示例给大家介绍的非常详细,具有一定的参考价值,需要的朋友可以参考下
    2024-02-02
  • 初识centos7与centos6的区别整理(内核、命令等)

    初识centos7与centos6的区别整理(内核、命令等)

    这篇文章主要介绍了初识centos7与centos6的区别整理,需要的朋友可以参考下
    2017-08-08
  • Ubuntu18.04系统安装、配置Redis及phpredis扩展操作详解

    Ubuntu18.04系统安装、配置Redis及phpredis扩展操作详解

    这篇文章主要介绍了Ubuntu18.04系统安装、配置Redis及phpredis扩展操作,结合实例形式分析了Ubuntu18.04系统安装、配置Redis及phpredis扩展的相关原理、步骤、配置命令与操作注意事项,需要的朋友可以参考下
    2020-03-03
  • Linux下编译安装python3步骤

    Linux下编译安装python3步骤

    本篇文章主要介绍了Linux下编译安装python3,小编觉得挺不错的,现在分享给大家,也给大家做个参考。一起跟随小编过来看看吧
    2017-01-01

最新评论