Ubuntu 20.04 Software Updater 升级系统 Upgrade 没反应

因 Ubuntu 20.04 不提供 GTK 4 的安装,所以要将 Ubuntu 20.04 升级至 21.10。

参考服务端升级Ubuntu 20.04 LTS 记录 - 知乎 (zhihu.com)icon-default.png?t=M276https://zhuanlan.zhihu.com/p/136109436

首先,若要升级至非 LTS (Long Term Support)版本(例如 Ubuntu 21.10)需要将 Software & Update->Updates->Notify me of a new Ubuntu version 设置为 For any new version:

打开 Software Updater,提示检测到新版本 21.10,但是点击 Upgrade...却没反应。注意:执行

sudo apt dist-upgrade

只会显示

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

因为 dist-upgrade 只会检查新的 LTS 版本,如果要检查所有稳定版本应执行:

sudo do-release-upgrade

显示

Checking for a new Ubuntu release
Please install all available updates for your release before upgrading.

然而之前执行

sudo apt update
sudo apt upgrade

显示没有需要升级的包,反复执行依然如此。根据文章提示,执行

sudo apt list --upgradable

显示

Listing... Done
texmacs/unknown 2.1.1-1-yakkety amd64 [upgradable from: 1.99.18]
N: There is 1 additional version. Please use the '-a' switch to see it

试图手动更新 texmacs:

sudo apt upgrade texmacs

产生依赖错误,于是执行

sudo apt remove texmacs

卸载 texmacs:

重新在 Software Updater 中检查并点击 Upgrade...更新,成功:

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

Ayka

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值