I’m quite new to rocky so please excuse an issue that may seem trivial
My cloud provider only allows install images of 8.7, not 9 yet. So i was trying to play around with a server we need to reinstall anyway. Here are my steps :
First, I’d say “in-place conversion to different OS” than “upgrade”.
Second, I personally rather reinstall, but that obviously is not an option in your cloud.
The AlmaLinux has ELevate project. They do have el8 → el9 version in development. AlmaLinux OS - ELevate Your Distribution
That attempts to automatize the various steps.
Since you have an expendable system, you could try the ELevate (and help its development in the process).
The error message is quite clear. You try to install package “rocky-release”. It requires other packages (rocky-repos) that are not in any repository. In such case one could try one of two things:
Install the required package (rocky-repos) first
Install both packages in same command
The definitions of repositories used to be in the *-release package, but in el9 they have been refactored into *-repos package. Did that happen after that tutorial was written? What else in it might be out of date?
There is on additional twist: names of /etc/yum.repos.d/*.repo files are same in el8 and el9, are they not?
Replacing the files with el9-versions makes the el8-repos inaccessible. That might be ok in that phase of the operation – a point of no easy return.
Unfortunatly I tried installing the rpms in a different order, including rocky-repos first : Screenshot by Lightshot
As for this : “The definitions of repositories used to be in the *-release package, but in el9 they have been refactored into *-repos package. Did that happen after that tutorial was written? What else in it might be out of date?” → I’m not sure at all but I didnt know about the refactor so thx
The ‘rocky-repos’ requires ‘system-release’. The ‘rocky-release’ most likely provides the ‘system-release’.
This co-dependence means that the packages have to be installed simultaneously.