新的 Ubuntu 20.10 已经于 2020 年 10 月 22 日发布,本篇文章将分享如何将 Ubuntu 20.04 LTS 升级到 20.10 LTS,欢迎在评论区与杜老师交流!
更新当前系统
sudo apt update
sudo apt -y dist-upgrade
sudo apt -y autoremove
注意:上面三个命令的含义依次为检查系统更新、更新软件程序、删除无用软件。
配置升级程序
# Default behavior for the release upgrader.
[DEFAULT]
# Default prompting and upgrade 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=normal
注意:用命令 vim /etc/update-manager/release-upgrades
编辑文件,将 lts
设置为 normal
。
条评论