windows10系统更新Ubuntu的方法
升级方法:
我这里只针对已有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'+的时间可以完成整个升级过程。