小编map*_*les的帖子

从 Ubuntu 21.10 升级 Raspberry Pi

我有一个运行 Ubuntu 21.10 的 Raspberry Pi,我最近了解到它已经停产了。不用担心,我会升级到下一个版本(幸运的是,这是一个 LTS 版本)...或者我是这么想的...

我想升级到 Ubuntu 22.04 LTS,但所有升级工具似乎都不起作用,这让我很困惑。

就上下文而言,我习惯于使用 Debian,您只需编辑apt.sources.list和升级软件包即可。据我所知,对于 Ubuntu,首选的升级方法似乎是工具do-release-upgrade--actually-do-upgrade但是,该工具没有在我的系统上执行任何操作(并且我没有找到任何像我丢失的命令行开关):

anthony@planetsrv:~$ sudo do-release-upgrade
Checking for a new Ubuntu release
Your Ubuntu release is not supported anymore.
For upgrade information, please visit:
http://www.ubuntu.com/releaseendoflife

Please install all available updates for your release before upgrading.
Run Code Online (Sandbox Code Playgroud)

它只是告诉我,我已停产 -我知道,这就是我尝试升级的原因!:) 该链接仅给出发布时间表;我没有看到任何有关从 EOL 版本升级的说明或提示。

运行时apt update,我只收到 404 错误:

anthony@planetsrv:~$ sudo apt update
Ign:1 http://ports.ubuntu.com/ubuntu-ports impish InRelease
Ign:2 http://ports.ubuntu.com/ubuntu-ports impish-updates …
Run Code Online (Sandbox Code Playgroud)

upgrade raspberrypi do-release-upgrade 21.10 22.04

6
推荐指数
1
解决办法
1329
查看次数

标签 统计

21.10 ×1

22.04 ×1

do-release-upgrade ×1

raspberrypi ×1

upgrade ×1