我在 DigitalOcean 上有一个生产版 Ubuntu Server 18.04 LTS。我尝试将其升级到 20.04 LTS,但在“sudo do-release-upgrade -d”之后,我得到了以下信息:
Checking package manager
Reading package lists... Done
Building dependency tree
Reading state information... Done
Hit http://repo.mysql.com/apt/ubuntu bionic InRelease
Hit http://security.ubuntu.com/ubuntu bionic-security InRelease
Hit http://ppa.launchpad.net/certbot/certbot/ubuntu bionic InRelease
Hit https://repos.insights.digitalocean.com/apt/do-agent main InRelease
Hit http://ppa.launchpad.net/nginx/stable/ubuntu bionic InRelease
Hit http://mirrors.digitalocean.com/ubuntu bionic InRelease
Hit http://ppa.launchpad.net/ondrej/nginx/ubuntu bionic InRelease
Hit http://mirrors.digitalocean.com/ubuntu bionic-updates InRelease
Hit http://ppa.launchpad.net/ondrej/php/ubuntu bionic InRelease
Get:1 https://deb.goaccess.io bionic InRelease [1,629 B]
Fetched 1,629 B in 0s (0 B/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
Sorry, no more upgrades for this system
There will not be any further Ubuntu releases for this system's
'i386' architecture.
Updates for Ubuntu 18.04 will continue until April 2023.
Restoring original system state
Aborting
Reading package lists... Done
Building dependency tree
Reading state information... Done
=== Command detached from window (Mon Oct 12 06:01:54 2020) ===
=== Command terminated with exit status 1 (Mon Oct 12 06:02:04 2020) ===
上述问题可能由什么原因造成?
答案1
您的架构似乎是 i386 (32 位);也就是说,您的消息告诉您
该系统的“i386”架构将不再发布任何 Ubuntu 版本
Ubuntu 18.10、19.04 提供了对 i386 的支持,但它们现在已停止使用,因此只有 Ubuntu 18.04 LTS(&口味保持。
您需要重新安装才能更改架构(即从i386到amd64)。