How to upgrade CentOS Stream 8 to CentOS Stream 9 ?
How to upgrade CentOS Stream 8 to CentOS Stream 9 ?
I try with dnf update -7 for step one but show me error:
[root@xxxxx ~]# dnf update -y
CentOS Stream 8 - AppStream 10 kB/s | 280 B 00:00
Errors during downloading metadata for repository 'appstream':
- Status code: 404 for http://mirrors.linode.com/centos/8-stream/AppStream/x86_64/os/repodata/repomd.xml (IP: 2600:1404:1200:5::17db:9d1b)
Error: Failed to download metadata for repo 'appstream': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
best regards
Amin
1 Reply
There is no supported in-line upgrade path to go from CentOS Stream 8 to CentOS Stream 9 that I could find. Instead, I'd recommend upgrading using the Clean Install method.
That involves deploying a new instance using CentOS Stream 9 and then moving your data over there before deleting the old Linode.
While you may be able to change the repo used in order to update your current distribution, I wasn't able to find a good resource to share to help you with that. If you migrate to a supported distribution, that may not be needed.
Whatever path you choose, I strongly recommend Backing Up Your Data before moving forward.