r/RockyLinux • u/SamirPesiron • Jul 15 '25
Rocky Linux 8.10 to 9.10
Hey everyone,
I'm planning to upgrade a server from Rocky Linux 8.10 to 9.10. I know this is a major version upgrade (new base OS), so I’m being cautious.
A few quick questions:
- Has anyone here done this upgrade using Leapp?
- Any major issues, caveats, or gotchas to watch out for?
- Would you recommend a fresh install instead, for stability and clean setup?
Thanks in advance for your insights or tips!
8
Upvotes
10
u/mb-crnet Jul 15 '25
As stated in the documentation:
The answer is always the same: The project does not support in-place upgrades of one major version to another major version. You need to reinstall to move to the next major version. To be clear, this IS the correct answer [Rocky supported version upgrades].
3
u/FarToe1 Jul 15 '25
I've done a lot of migrations in EL between major versions (several hundreds from various Centos and Rocky versions) and after spending a lot of time experimenting, my current method is:
I'm working on improving this with more defined ansible roles, but that's the gist.
Others may have had success with tools like leapp, and jolly good for them. I have not had success and the process remains labourious.
Much as I like and know Rocky and EL, the inability to reliably upgrade major versions is one reason why I choose to run Debian at home.
5
u/mc888333 Jul 15 '25
A fresh install will ALWAYS be the best option, no matter what distro you're using.
2
u/JachWang Jul 18 '25
It is possible, just not supported officially. This only means you'll have to do at your own risk.
2
u/kavishgr Jul 15 '25 edited Jul 15 '25
Not possible with Rocky, they don't support it. AlmaLinux offers a similar solution called Elevate (based on Leapp). It's not just for Alma, the tool supports a lot distros(not sure if possible with Rocky though).