如何将 Ubuntu 21.04 升级到 Ubuntu 21.10
admin
2023-07-31 20:43:18
0

Ubuntu 21.10 是一个非 LTS 版本,这意味着它将只支持 9 个月,直到 2022 年 7 月。如果您更喜欢稳定性而不是前沿,那么坚持使用 Ubuntu 20.04。但是如果你想体验最新最好的软件,你可以按照这个教程进行升级。ubuntu-logoubuntu-logo

将 Ubuntu 21.04 升级到 Ubuntu 21.10

步骤 1. 首先,通过apt在终端中运行以下命令确保所有系统包都是最新的。

sudo apt update
sudo apt upgrade

步骤 2. 升级到 Ubuntu 21.10 (Impish Indri)。

要升级到 Ubuntu 21.10,请运行以下命令升级现有软件:

sudo apt update
sudo apt dist-upgrade

接下来,请确保您有和安装包:update-manager-coreubuntu-release-upgrader-core

sudo apt install update-manager-core ubuntu-release-upgrader-core

之后,使用 nano 文本编辑器编辑配置文件:

sudo nano /etc/update-manager/release-upgrades

在此文件的底部,将 Prompt 的值从 更改ltsnormal

# Default behavior for the release upgrader.

[DEFAULT]
# Default prompting behavior, valid options:
#
#  never  - Never check for 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 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 this option should not be
#           used if the currently-running release is not itself an LTS
#           release, since in that case the upgrader won\'t be able to
#           determine if a newer release is available.Prompt=normal

保存并关闭文件,然后执行以下命令:

do-release-upgrade -d

步骤 3. 验证系统信息。

安装过程完成后,我们重新启动,我们将使用 Ubuntu 21.04 或使用以下命令检查您的 Ubuntu 版本:

lsb_release -a

输出:

Distributor ID:	Ubuntu
Description:	Ubuntu 21.10
Release:	21.10
Codename:	Impish

感谢您使用本教程将 Ubuntu 20.10 (Groovy Gorilla) 升级到 Ubuntu 21.04 (Hirsute Hippo) 系统。如需其他帮助或有用信息,我们建议您查看官方 Ubuntu 网站。

相关内容

热门资讯

Windows 11 和 10... Windows 11/10 文件夹属性中缺少共享选项卡 – 已修复 1.检查共享选项卡是否可用 右键...
事件 ID 7034:如何通过... 点击进入:ChatGPT工具插件导航大全 服务控制管理器 (SCM) 负责管理系统上运行的服务的活动...
Radmin VPN Wind... Radmin VPN 是一款免费且用户友好的软件,旨在牢固地连接计算机以创建一个有凝聚力的虚拟专用网...
Hive OS LOLMine... 目前不清退的交易所推荐: 1、全球第二大交易所OKX欧意 国区邀请链接: https://www.m...
如何修复 Steam 内容文件... Steam 内容文件锁定是当您的 Steam 文件无法自行更新时出现的错误。解决此问题的最有效方法之...
Hive OS 部署 PXE ... 目前不清退的交易所推荐: 1、全球第二大交易所OKX欧意 国区邀请链接: https://www.m...
如何在电报Telegram中隐... 点击进入:ChatGPT工具插件导航大全 在Android上的电报中隐藏您的电话号码 您可以通过切换...
farols1.1.501.0... faro ls 1.1.501.0(64bit)可以卸载,是一款无需连接外部PC机或笔记本计算机即可...
在 iCloud 上关闭“查找... 如果您是 Apple 的长期用户,您肯定会遇到过 Find My 应用程序,它本机安装在 iPhon...
如何在Instagram上扫描... 如何在Instagram上扫描名称标签/ QR? 总而言之,您可以通过大约四种不同的方法来扫描这些I...